<div dir="ltr"><div>Hi,</div><div>As i wrote, when the BYE is "normal" not generated form dlg_timeout. srv2 that forwards it, does it OK.</div><div>The TO/From headers in my scenario are the same as the initial request in both servers (there are 2 legs for each call (incoming and outgoing), on each leg i use the same initial headers.Ii hope i was more clear now.</div>
<div>Thanks,</div><div>Uri</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Apr 25, 2013 at 2:50 PM, Klaus Darilion <span dir="ltr"><<a href="mailto:klaus.mailinglists@pernau.at" target="_blank">klaus.mailinglists@pernau.at</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">IMO the timeout-triggered BYE should have identical From/To headers as the initial request - otherwise it may cause issues with clients that are strict, or rely on identical headers (like in your setup).<br>

<br>
regards<br>
Klaus<div class="im"><br>
<br>
On <a href="tel:25.04.2013%2013" target="_blank" value="+12504201313">25.04.2013 13</a>:30, Uri Shacked wrote:<br>
</div><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote"><div class="im">
Hi,<br>
<br>
Following this issue, and the issue "BYE dialog timeout bad syntax" from<br>
Julia.<br>
<br>
I have 2 kamailio servers. srv1 creates a dlg_timeout BYE and sends it<br>
to srv2 that forwards the BYE to the next sip server (some other server...).<br>
<br>
I can definitely see that the BYE that is being forward is malformed.<br>
The TO header info is not complete (the port section for example).<br>
<br>
When a "normal" bye is received from srv1 (not dlg_timeout) all works fine.<br>
<br>
One thing that i do in this scenario, on srv2 i use uac_replace() on the<br>
TO header. So, it is OK that the final destination is different (i do<br>
translations).<br>
<br>
I attached the BYE from both servers.<br>
<br>
Any ideas?<br>
<br>
Thanks,<br>
<br>
Uri<br>
<br>
You probably meant the To and From headers, I'm guessing. Yeah, as long<br>
as there is no display name component, URIs in headers like that don't<br>
have to go in <>s. The way Kamailio sends it is grammatically valid, per<br>
RFC 3261. The user agents are at fault for not understanding it<br>
correctly. Alex Balashov <abalashov at <a href="http://evaristesys.com" target="_blank">evaristesys.com</a><br></div>
<<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/<u></u>cgi-bin/mailman/listinfo/sr-<u></u>users</a>>> wrote:<br>
 >/"BYE headers"? Which headers? />//>/Uri Shacked <ushacked at<br>
<a href="http://gmail.com" target="_blank">gmail.com</a><br>
<<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/<u></u>cgi-bin/mailman/listinfo/sr-<u></u>users</a>>> wrote:<br>
/>//>>/Hi, />>//>>/I think there is a bug with the BYE that is sent to<br>
the caller and />>/callee />>/when dialog timeout happends. />>//>>/The<br>
BYE headers are sent with no "<" or ">". />>/So, some sip singaling<br>
points decline the BYE. />>//>>/BR, />>/Uri<br>
/>>//>>//>>/------------------<u></u>------------------------------<u></u>------------------------<br>
/>>//>>/______________________<u></u>_________________________ />>/SIP Express<br>
Router (SER) and Kamailio (OpenSER) - sr-users mailing />/list<br>
/>>/sr-users at <a href="http://lists.sip-router.org" target="_blank">lists.sip-router.org</a><br>
<<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/<u></u>cgi-bin/mailman/listinfo/sr-<u></u>users</a>><br>
/>>/<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.<u></u>org/cgi-bin/mailman/listinfo/<u></u>sr-users</a><br>
/>//>/-- />/Sent from my mobile, and thus lacking in the refinement one<br>
might />/expect from a fully-fledged keyboard. />//>/Alex Balashov -<br>
Principal />/Evariste Systems LLC />/235 E Ponce de Leon Ave />/Suite<br>
106 />/Decatur, GA 30030 />/United States />/Tel: <a href="tel:%2B1-678-954-0670" target="_blank" value="+16789540670">+1-678-954-0670</a><br>
/>/Web: <a href="http://www.evaristesys.com/" target="_blank">http://www.evaristesys.com/</a>, <a href="http://www.alexbalashov.com/" target="_blank">http://www.alexbalashov.com/</a><br>
/>//>/________________________<u></u>_______________________ />/SIP Express<br>
Router (SER) and Kamailio (OpenSER) - sr-users mailing list />/sr-users<br>
at <a href="http://lists.sip-router.org" target="_blank">lists.sip-router.org</a><br>
<<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/<u></u>cgi-bin/mailman/listinfo/sr-<u></u>users</a>><br>
/>/<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.<u></u>org/cgi-bin/mailman/listinfo/<u></u>sr-users</a> / --<div class="im"><br>
Sent from my Nexus 10, with all the figments of autocorrect that might<br>
imply. Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de<br>
Leon Ave Suite 106 Decatur, GA 30030 United States Tel: <a href="tel:%2B1-678-954-0670" target="_blank" value="+16789540670">+1-678-954-0670</a><br>
Web: <a href="http://www.evaristesys.com/" target="_blank">http://www.evaristesys.com/</a>, <a href="http://www.alexbalashov.com/" target="_blank">http://www.alexbalashov.com/</a><br>
-------------- next part -------------- An HTML attachment was<br>
scrubbed... URL:<br>
<<a href="http://lists.sip-router.org/pipermail/sr-users/attachments/20130422/0c752722/attachment.html" target="_blank">http://lists.sip-router.org/<u></u>pipermail/sr-users/<u></u>attachments/20130422/0c752722/<u></u>attachment.html</a>><br>

<br>
<br>
<br></div><div class="im">
______________________________<u></u>_________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
</div><a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/<u></u>cgi-bin/mailman/listinfo/sr-<u></u>users</a><br>
<br>
</blockquote>
</blockquote></div><br></div>