<div dir="ltr"><div><font color="#000000" size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 0pt;line-height:normal"><span style="font-family:"Arial","sans-serif";font-size:12pt"><font color="#000000">Hi,</font></span></p><font color="#000000" size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 0pt;line-height:normal"><span style="font-family:"Arial","sans-serif";font-size:12pt"><font color="#000000">Following this issue, and the issue
"BYE dialog timeout bad syntax" from Julia.</font></span></p><font color="#000000" size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 0pt;line-height:normal"><span style="font-family:"Arial","sans-serif";font-size:12pt"><font color="#000000">I have 2 kamailio servers. srv1
creates a dlg_timeout BYE and sends it to srv2 that forwards the BYE to the
next sip server (some other server...).</font></span></p><font color="#000000" size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 0pt;line-height:normal"><span style="font-family:"Arial","sans-serif";font-size:12pt"><font color="#000000">I can definitely see that the BYE
that is being forward is malformed. The TO header info is not complete (the
port section for example).</font></span></p><font color="#000000" size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 0pt;line-height:normal"><span style="font-family:"Arial","sans-serif";font-size:12pt"><font color="#000000">When a "normal" bye is received
from srv1 (not dlg_timeout) all works fine.</font></span></p><font color="#000000" size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 0pt;line-height:normal"><span style="font-family:"Arial","sans-serif";font-size:12pt"><font color="#000000">One thing that i do in this
scenario, on srv2 i use uac_replace() on the TO header. So, it is OK that the
final destination is different (i do translations).</font></span></p><font color="#000000" size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 0pt;line-height:normal"><span style="font-family:"Arial","sans-serif";font-size:12pt"><font color="#000000">I attached the BYE from both
servers.</font></span></p><font color="#000000" size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 0pt;line-height:normal"><span style="font-family:"Arial","sans-serif";font-size:12pt"><font color="#000000">Any ideas?</font></span></p><font color="#000000" size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 0pt;line-height:normal"><span style="font-family:"Arial","sans-serif";font-size:12pt"><font color="#000000">Thanks,</font></span></p><font color="#000000" size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 0pt;line-height:normal"><span style="font-family:"Arial","sans-serif";font-size:12pt"><font color="#000000">Uri</font></span></p><font color="#000000" size="3" face="Times New Roman">

</font></div><div> </div><div> </div><div> </div><div> </div><div> </div><div>You probably meant the To and From headers, I'm guessing.

Yeah, as long as there is no display name component, URIs in headers like that don't have to go in <>s. The way Kamailio sends it is grammatically valid, per RFC 3261. The user agents are at fault for not understanding it correctly.


Alex Balashov <<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"><font color="#0066cc">abalashov at evaristesys.com</font></a>> wrote:

><i>"BYE headers"? Which headers? 
</i>><i>
</i>><i>Uri Shacked <<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"><font color="#0066cc">ushacked at gmail.com</font></a>> wrote:
</i>><i>
</i>>><i>Hi,
</i>>><i>
</i>>><i>I think there is a bug with the BYE that is sent to the caller and
</i>>><i>callee
</i>>><i>when dialog timeout happends.
</i>>><i>
</i>>><i>The BYE headers are sent with no "<" or ">".
</i>>><i>So, some sip singaling points decline the BYE.
</i>>><i>
</i>>><i>BR,
</i>>><i>Uri
</i>>><i>
</i>>><i>
</i>>><i>------------------------------------------------------------------------
</i>>><i>
</i>>><i>_______________________________________________
</i>>><i>SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
</i>><i>list
</i>>><i><a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"><font color="#0066cc">sr-users at lists.sip-router.org</font></a>
</i>>><i><a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"><font color="#0066cc">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</font></a>
</i>><i>
</i>><i>-- 
</i>><i>Sent from my mobile, and thus lacking in the refinement one might
</i>><i>expect from a fully-fledged keyboard. 
</i>><i>
</i>><i>Alex Balashov - Principal 
</i>><i>Evariste Systems LLC 
</i>><i>235 E Ponce de Leon Ave 
</i>><i>Suite 106 
</i>><i>Decatur, GA 30030 
</i>><i>United States
</i>><i>Tel: +1-678-954-0670
</i>><i>Web: <a href="http://www.evaristesys.com/,"><font color="#0066cc">http://www.evaristesys.com/,</font></a> <a href="http://www.alexbalashov.com/"><font color="#0066cc">http://www.alexbalashov.com/</font></a>
</i>><i>
</i>><i>_______________________________________________
</i>><i>SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
</i>><i><a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"><font color="#0066cc">sr-users at lists.sip-router.org</font></a>
</i>><i><a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"><font color="#0066cc">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</font></a>
</i>
--
Sent from my Nexus 10, with all the figments of autocorrect that might imply.

Alex Balashov - Principal
Evariste Systems LLC
235 E Ponce de Leon Ave
Suite 106
Decatur, GA 30030
United States
Tel: +1-678-954-0670
Web: <a href="http://www.evaristesys.com/,"><font color="#0066cc">http://www.evaristesys.com/,</font></a> <a href="http://www.alexbalashov.com/"><font color="#0066cc">http://www.alexbalashov.com/</font></a>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <<a href="http://lists.sip-router.org/pipermail/sr-users/attachments/20130422/0c752722/attachment.html"><font color="#0066cc">http://lists.sip-router.org/pipermail/sr-users/attachments/20130422/0c752722/attachment.html</font></a>>
</div></div>