<div>Yes, the server and client are both behind a NAT (not sure about the gateway it's connecting through.) Seems like it only occasionally happens with internal calls, but almost always with external calls.</div><div>
<br></div><div>So, if it is a NAT timeout, what would I do about that?</div><div><br></div><div>I'll try the pcap that Michael suggested, and see if that sheds any light on it.</div><br clear="all">Cheers,<br>Fraser<br>
<br><br>
<br><br><div class="gmail_quote">On 14 February 2012 14:31, <span dir="ltr"><<a href="mailto:peder@networkoblivion.com">peder@networkoblivion.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Is it only external calls? And is NAT involved anywhere? 5 mins sounds like a NAT timeout. Try making an internal call and see if it drops after 5 mins. That would give you a clue if there is a firewall/NAT issue.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <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>Fraser Redmond<br>
<b>Sent:</b> Tuesday, February 14, 2012 12:17 PM<br><b>To:</b> FreeSWITCH Users Help<br><b>Subject:</b> [Freeswitch-users] Calls ending after around 5min<u></u><u></u></span></p><div><div class="h5"><p class="MsoNormal">
<u></u> <u></u></p>
<p class="MsoNormal">I've got calls that are getting disconnected after 5 minutes (.<u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">There's some calls that don't, and we don't have many calls that last that long (which is why we hadn't noticed until now.)<u></u><u></u></p>
<div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">I've had a look through the documentation, and the only thing I saw that looked likely was the rtp-timeouts which I changed to this without any change:<br>
<param name="rtp-timeout-sec" value="1800"/><u></u><u></u></p><div><p class="MsoNormal"> <param name="rtp-hold-timeout-sec" value="1800"/><u></u><u></u></p></div>
<div><p class="MsoNormal">(changed in internal and external profiles)<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Here's the log output for when the call ends:<u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><div><p class="MsoNormal">9d39d866-5732-11e1-b1a8-05fc5f64fa97 2012-02-14 17:42:58.340991 [DEBUG] switch_core_session.c:1009 Send signal sofia/internal/<a href="http://sip:12605@99.237.220.56:3907" target="_blank">sip:12605@99.237.220.56:3907</a> [BREAK]<u></u><u></u></p>
</div><div><p class="MsoNormal">2012-02-14 17:42:58.340991 [DEBUG] switch_scheduler.c:214 Added task 4 switch_ivr_schedule_hangup (9d39d866-5732-11e1-b1a8-05fc5f64fa97) to run at 1329241378<u></u><u></u></p></div><div><p class="MsoNormal">
9d39d866-5732-11e1-b1a8-05fc5f64fa97 2012-02-14 17:42:58.361011 [DEBUG] switch_core_session.c:726 Send signal sofia/internal/<a href="http://sip:12605@99.237.220.56:3907" target="_blank">sip:12605@99.237.220.56:3907</a> [BREAK]<u></u><u></u></p>
</div><div><p class="MsoNormal">9d39d866-5732-11e1-b1a8-05fc5f64fa97 2012-02-14 17:42:58.521032 [DEBUG] switch_ivr.c:589 sofia/internal/<a href="http://sip:12605@99.237.220.56:3907" target="_blank">sip:12605@99.237.220.56:3907</a> Command Execute respond(603)<u></u><u></u></p>
</div><div><p class="MsoNormal">9d39d866-5732-11e1-b1a8-05fc5f64fa97 EXECUTE sofia/internal/<a href="http://sip:12605@99.237.220.56:3907" target="_blank">sip:12605@99.237.220.56:3907</a> respond(603)<u></u><u></u></p></div>
<div><p class="MsoNormal">9d39d866-5732-11e1-b1a8-05fc5f64fa97 2012-02-14 17:42:58.521032 [DEBUG] mod_sofia.c:2363 Responding with 603 [Decline]<u></u><u></u></p></div><div><p class="MsoNormal"><br>Any other settings I should be looking at?<u></u><u></u></p>
</div></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal" style="margin-bottom:12.0pt">Cheers,<br>Fraser<br><br><u></u><u></u></p></div></div></div></div></div></div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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>