<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=us-ascii">
<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:0in;
        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:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US 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'>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 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 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 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 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 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:0in 0in 0in 4.0pt'>

<div>

<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'>From:</span></font></b><font size=2
face=Tahoma><span 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><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><font size=2 face="Times New Roman"><span style='font-size:10.0pt'>Hi all,</span></font>
<o:p></o:p></p>

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

<p><font size=2 face="Times New Roman"><span 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><o:p></o:p></p>

<p><font size=2 face="Times New Roman"><span 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><o:p></o:p></p>

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

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

</div>

</div>

</body>

</html>