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.

So, if it is a NAT timeout, what would I do about that?

I'll try the pcap that Michael suggested, and see if that sheds any light on it.

Cheers,
Fraser




On 14 February 2012 14:31, <peder@networkoblivion.com> wrote:

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.

 

 

From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Fraser Redmond
Sent: Tuesday, February 14, 2012 12:17 PM
To: FreeSWITCH Users Help
Subject: [Freeswitch-users] Calls ending after around 5min

 

I've got calls that are getting disconnected after 5 minutes (.

 

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.)

 

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:
    <param name="rtp-timeout-sec" value="1800"/>

    <param name="rtp-hold-timeout-sec" value="1800"/>

(changed in internal and external profiles)

 

Here's the log output for when the call ends:

 

9d39d866-5732-11e1-b1a8-05fc5f64fa97 2012-02-14 17:42:58.340991 [DEBUG] switch_core_session.c:1009 Send signal sofia/internal/sip:12605@99.237.220.56:3907 [BREAK]

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

9d39d866-5732-11e1-b1a8-05fc5f64fa97 2012-02-14 17:42:58.361011 [DEBUG] switch_core_session.c:726 Send signal sofia/internal/sip:12605@99.237.220.56:3907 [BREAK]

9d39d866-5732-11e1-b1a8-05fc5f64fa97 2012-02-14 17:42:58.521032 [DEBUG] switch_ivr.c:589 sofia/internal/sip:12605@99.237.220.56:3907 Command Execute respond(603)

9d39d866-5732-11e1-b1a8-05fc5f64fa97 EXECUTE sofia/internal/sip:12605@99.237.220.56:3907 respond(603)

9d39d866-5732-11e1-b1a8-05fc5f64fa97 2012-02-14 17:42:58.521032 [DEBUG] mod_sofia.c:2363 Responding with 603 [Decline]


Any other settings I should be looking at?

 

Cheers,
Fraser


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org