<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>Problem with ACK on Negative Reply</title>
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=FR link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Hi Jiri, David,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>     Thank you very much
for your timely replies. I will check if the ACK hits t_relay or not in my
configuration. I have skimmed through the transaction matching code in SER but
I don't remember if it checks the FROM field or the FROM tag. I'll
verify this when I can.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>Minh<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB
style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>De&nbsp;:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Wearne, David W.
[mailto:DWWearne@west.com] <br>
<b><span style='font-weight:bold'>Envoyé&nbsp;:</span></b> jeudi 6 janvier 2005
20:56<br>
<b><span style='font-weight:bold'>À&nbsp;:</span></b> PHAN, Quang-Minh (Docteur
Ordinateur); serusers@lists.iptel.org<br>
<b><span style='font-weight:bold'>Objet&nbsp;:</span></b> RE: [Serusers]
Problem with ACK on Negative Reply</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'>I ran into exactly the
same problem in December.&nbsp; There are several reasons why SER may not
realize the ACK belongs to the transaction.&nbsp; Look carefully at the via:
&nbsp;and from: headers in the INVITE and the ACK.&nbsp; The via: should have a
branch parameter, and it should be the same in both.&nbsp; Some UAs do not put
in the branch parameter.&nbsp; In this case SER should (according to RFC3261)
be looking at the combination of the Request URI, To tag, From tag, Call-ID,
Cseq, and top via header.&nbsp; In my case the problem was that SER compares
the From field rather than the From tag, and it does so incorrectly.&nbsp; I
raised this issue both here and in the serdev list, (you can find the thread in
the December archives), but the developers said they would not fix this because
it is in support of an obsolete spec (RFC 2543).<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'>I recommend you check
those headers to see if your situation actually matches what I ran into, and if
so, raise the issue to the serdev list.&nbsp; If enough people complain, they
might decide to provide better support of RFC3261, section 17.2.3 (Matching
Requests to Server Transactions).<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'>Dave &nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span lang=EN-US
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma'>
serusers-bounces@iptel.org [mailto:serusers-bounces@lists.iptel.org] <b><span
style='font-weight:bold'>On Behalf Of </span></b>PHAN, Quang-Minh (Docteur
Ordinateur)<br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, January 06, 2005
12:10 PM<br>
<b><span style='font-weight:bold'>To:</span></b> serusers@lists.iptel.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> [Serusers] Problem with
ACK on Negative Reply</span></font><span lang=EN-US><o:p></o:p></span></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-US
style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=2 face="Times New Roman"><span lang=EN-US style='font-size:10.0pt'>Hi
all,</span></font><span lang=EN-US> <o:p></o:p></span></p>

<p><font size=2 face="Times New Roman"><span lang=EN-US style='font-size:10.0pt'>&nbsp;&nbsp;&nbsp;
When I use SER in transaction stateful mode, I have the following problem:</span></font><span
lang=EN-US> <o:p></o:p></span></p>

<p><font size=2 face="Times New Roman"><span lang=EN-US style='font-size:10.0pt'>&nbsp;&nbsp;&nbsp;
When A sends an &quot;INVITE B&quot; to SER, SER forwards the INVITE to B
statefully. If B reply with &quot;200 OK&quot;, everything goes fine as SER
will delete the transaction from memory when it sees the 200 OK. However, if B
send an &quot;BUSY HERE&quot; back to SER, SER will send an ACK to B right away
and then forwards the &quot;BUSY HERE&quot; to A. A will then send an ACK to
SER but SER won't realize that the ACK belong to the transaction and forward it
to B. SER will then keep sending &quot;BUSY HERE&quot; to A until the
transaction is timed out.</span></font><span lang=EN-US><o:p></o:p></span></p>

<p><font size=2 face="Times New Roman"><span lang=EN-US style='font-size:10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;
I wonder if there is something to add in the configuration file to make SER
understand that the ACK send from A should terminate the transaction.</span></font><span
lang=EN-US><o:p></o:p></span></p>

<p><font size=2 face="Times New Roman"><span lang=EN-US style='font-size:10.0pt'>Any
help will be highly appreciated!</span></font><span lang=EN-US> <o:p></o:p></span></p>

<p><font size=2 face="Times New Roman"><span lang=EN-US style='font-size:10.0pt'>Minh</span></font><span
lang=EN-US> <o:p></o:p></span></p>

</div>

</div>

</body>

</html>