What does the Contact header in the INVITE look like?<br><br>The BYE is actually a separate SIP dialog, and the SIP server has to send it to the address in the Contact header not the address the INVITE came from.<br><br>NAT or a misbehaving SIP client could potentially screw that up by sending a bad Contact header, which might mean you&#39;re not seeing it in Wireshark because it&#39;s not being sent where you expect.<br>

<br>-Steve<br><br><br><br><div class="gmail_quote">On 7 September 2011 14:50, Simon Leck <span dir="ltr">&lt;<a href="mailto:simon0922@gmail.com">simon0922@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Hi Peder, <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Thanks again for your swift reply. FS is running on a Public IP address. The UA is also running on a Public IP address. Yes, I did used wireshark to do a sip trace on FS and see that the bye was not present. <u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">One reason I could think of could be the on-hook and off-hook time interval or frequency for off-net calling is different that’s why it could not hang up? Or what else could be affecting.<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Thanks in advanced for helping me out and I look forward to reply. <u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Btw, are you on IRC and if you are can I chat with you?<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Many thanks <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Simon Leck<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt"> <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>] <b>On Behalf Of </b>Peder<br>

<b>Sent:</b> Wednesday, September 07, 2011 8:42 PM</span></p><div><div></div><div class="h5"><br><b>To:</b> &#39;FreeSWITCH Users Help&#39;<br><b>Subject:</b> Re: [Freeswitch-users] - freeswitch bye issue<u></u><u></u></div>

</div><p></p></div></div><div><div></div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Public IP on what?  The phone, or FS?  Did you do a packet capture at the FS box, or at the phone?  If you did it at the phone, it still doesn’t prove that FS didn’t send a bye.<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt"> <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>] <b>On Behalf Of </b>Simon Leck<br>

<b>Sent:</b> Tuesday, September 06, 2011 9:47 PM<br><b>To:</b> &#39;FreeSWITCH Users Help&#39;<br><b>Subject:</b> Re: [Freeswitch-users] - freeswitch bye issue<u></u><u></u></span></p></div></div><p class="MsoNormal"><u></u> <u></u></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Hi Pedar, <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Thanks for your reply. At first I thought it was NAT issue so to isolate the problem I used a Public IP but I still get the same result? I have used wireshark to do a trace but I don’t see FS sending a bye to A?<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Kindly advice me on how else could I solved this issue. On the NAT Part, I have enable RTP keep alive as well. Under RTCP, I have the keep alive turned on as well?<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Which other place are there setting I can configure with?<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Thanks in advanced Pedar for your kindest help<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Many thanks<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Simon Leck<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt"> <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>] <b>On Behalf Of </b>Peder<br>

<b>Sent:</b> Wednesday, September 07, 2011 1:57 AM<br><b>To:</b> &#39;FreeSWITCH Users Help&#39;<br><b>Subject:</b> Re: [Freeswitch-users] - freeswitch bye issue<u></u><u></u></span></p></div></div><p class="MsoNormal"><u></u> <u></u></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">It should happen automatically.  Is A behind NAT?  Sounds like a firewall/NAT may be dropping the bye.  Also, have you done a debug on FS to see if it actually sends a bye or not to A?<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt"> <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>] <b>On Behalf Of </b>Simon Leck<br>

<b>Sent:</b> Tuesday, September 06, 2011 11:42 AM<br><b>To:</b> &#39;FreeSWITCH Users Help&#39;<br><b>Subject:</b> Re: [Freeswitch-users] - freeswitch bye issue<u></u><u></u></span></p></div></div><p class="MsoNormal"><u></u> <u></u></p>

<p class="MsoNormal">Hi Everyone, kindly help if you can <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">At the moment I did encounter a issue, A leg user called a b leg user and when b leg user hanged up (Bye is not send by freeswitch to the A leg user)  the only way I could hanged up this call  to hanged up the A leg user manually? Would be great if someone could enlighten me on how this can be achieved?<u></u><u></u></p>

<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Thanks in advanced to anyone for helping me out<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Thanks again<u></u><u></u></p><p class="MsoNormal">

Simon Leck<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p>

<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p></div></div></div></div><br><br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>