<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18812">



<DIV>Hello,</DIV>
<DIV>The issue is resolved. I feel stupid, because Michael Jerris&nbsp;was right 
the first time.&nbsp;Setting external_rtp_ip and external_sip_ip to 
$${local_ip_v4} made it work.</DIV>
<DIV>But the strange thing is: it SOMETIMES worked before without any delay, 
which 'should not be possible', because the original IP was my external ip and 
the BYE message was sent straight to it. And there is no way it could reach the 
target 'internal' FS, because it runs on virtual machine, and no ports are 
forwarded on my router.</DIV>
<DIV>Any thoughts? Why this could (rarely) work even with the previous 
config?</DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV>Thanks to both of you for your answers.</DIV>
<DIV>&nbsp;</DIV>
<DIV>MA</DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<BLOCKQUOTE style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> 
  <a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&node=3795011&i=0" target="_top" rel="nofollow">[hidden email]</a> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&node=3795011&i=1" target="_top" rel="nofollow">[hidden email]</a> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, October 08, 2009 7:06 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Freeswitch-users] gateway 
  FS informs it's client FS about users hanged up with a long delay</DIV>
  <DIV><BR></DIV><BR><BR>
  <DIV class=gmail_quote>On Thu, Oct 8, 2009 at 6:18 AM, Maciej Aniserowicz 
  <SPAN dir=ltr>&lt;<A href="http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=3789469&amp;i=0" rel="nofollow" target=_top>[hidden email]</A>&gt;</SPAN> wrote:<BR>
  <BLOCKQUOTE style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex" class=gmail_quote><BR>Both of the instances are run on the same machine, i 
    just changed the default<BR>ports they use. Can anything else cause this 
    strange behavior?<BR>MA<BR></BLOCKQUOTE>
  <DIV>Did a packet capture yield any clues? That is, were you able to confirm 
  that each instance sent and received all the packets that you believe they 
  should have sent and received? The reason I ask is so that you don't end up 
  chasing a ghost because you made an assumption somewhere in your 
  troubleshooting.<BR><BR>-MC<BR>Â&nbsp;<BR></DIV>
  <BLOCKQUOTE style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex" class=gmail_quote><BR><BR><BR>Michael Jerris wrote:<div class='shrinkable-quote'><BR>&gt;<BR>&gt; 
    Incorrect NAT configuration so one of the boxes is not actually<BR>&gt; 
    getting a BYE.<BR>&gt;<BR>&gt;<BR>&gt; On Oct 5, 2009, at 3:13 AM, Maciej 
    Aniserowicz wrote:<BR>&gt;<BR>&gt;&gt; Hi,<BR>&gt;&gt; When I use two 
    FreeSWITCH instances ('internal' and 'external'), all<BR>&gt;&gt; users 
    register to the 'external' instance which acts as a gateway by<BR>&gt;&gt; 
    'internal' instance (which in turn is controlled by my 
    applicaiton<BR>&gt;&gt; with commands sent by socket).<BR>&gt;&gt; When user 
    hangs up, the 'hanged up' event is propagated to the<BR>&gt;&gt; 'internal' 
    instance after a long time (~3 minutes) instead of being<BR>&gt;&gt; 
    propagated immediately.<BR>&gt;&gt; What can cause this 
    issue?<BR>&gt;<BR>&gt;<BR>&gt; 
    _______________________________________________<BR>&gt; FreeSWITCH-users 
    mailing list<BR>&gt; <A href="http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=3789469&amp;i=1" rel="nofollow" target=_top>[hidden email]</A><BR>&gt; <A href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="nofollow" target=_blank>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>&gt; 
    UNSUBSCRIBE:<A href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="nofollow" target=_blank>http://lists.freeswitch.org/mailman/options/freeswitch-users</A><BR>&gt; 
    <A href="http://www.freeswitch.org" rel="nofollow" target=_blank>http://www.freeswitch.org</A><BR>&gt;<BR>&gt;</div><BR>--<BR>View 
    this message in context: <A href="http://n2.nabble.com/gateway-FS-informs-it-s-client-FS-about-users-hanged-up-with-a-long-delay-tp3768540p3787956.html" rel="nofollow" target=_blank>http://n2.nabble.com/gateway-FS-informs-it-s-client-FS-about-users-hanged-up-with-a-long-delay-tp3768540p3787956.html</A><BR>Sent 
    from the freeswitch-users mailing list archive at 
    Nabble.com.<BR><BR>_______________________________________________<BR>FreeSWITCH-users 
    mailing list<BR><A href="http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=3789469&amp;i=2" rel="nofollow" target=_top>[hidden email]</A><BR><A href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="nofollow" target=_blank>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>UNSUBSCRIBE:<A href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="nofollow" target=_blank>http://lists.freeswitch.org/mailman/options/freeswitch-users</A><BR><A href="http://www.freeswitch.org" rel="nofollow" target=_blank>http://www.freeswitch.org</A><BR></BLOCKQUOTE></DIV><BR><BR>_______________________________________________ 
  <BR>FreeSWITCH-users mailing list <BR><A href="http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=3789469&amp;i=3" rel="nofollow" target=_top>[hidden email]</A> <BR><A href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="nofollow" target=_top>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>UNSUBSCRIBE:<A href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="nofollow" target=_top>http://lists.freeswitch.org/mailman/options/freeswitch-users</A><BR><A href="http://www.freeswitch.org" rel="nofollow" target=_top>http://www.freeswitch.org</A><BR></BLOCKQUOTE>

<br><hr align="left" width="300">
View this message in context: <a href="http://n2.nabble.com/gateway-FS-informs-it-s-client-FS-about-users-hanged-up-with-a-long-delay-tp3768540p3795011.html">Re: [Freeswitch-users] gateway FS informs it's client FS about users hanged up with a long delay</a><br>
Sent from the <a href="http://n2.nabble.com/freeswitch-users-f2379917.html">freeswitch-users mailing list archive</a> at Nabble.com.<br>