Re: [Freeswitch-users] Why a call hangs up without warning during recording
Hello I haven't yet enabled logging at debug level but I did turn on SIP tracing. I found there was no reason for the hangup other than receiving the bye packet from the external public phone system. So Freeswitch just treated it as a normal hangup with "normal clearing" I think it says. But when I realised that the hangup was caused by something external, that was what led me to think it might have something to do with getting no RTP audio packets from Freeswitch, because in all my experiments this seemed to happen around the five minute mark and only while recording. I think the suggestion to set record_waste_resources=true is likely to be the answer. Clive Lansink Email: Clive@Lansink.Co.NZ Phone: +64 9 520-4242 Mobile: +64 21 663-999 Fax: +64 21 789-150 -----Original message----- From: Michael Jerris <mike@jerris.com> To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Subject: Re: [Freeswitch-users] Why a call hangs up without warning during recording Reply-to: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Date: Mon, 23 Jun 2014 12:06:32 -0400 do you have a freeswitch debug log of when the call is hung up? On Jun 21, 2014, at 9:09 PM, Clive Lansink <clive@lansink.co.nz> wrote:
Hello.
I've noticed in a Freeswitch IVR application I've been working on that when the customer phones in to record a message, the call is hung up without warning after about five minutes. This does not happen when I call in locally. When this happens, the log just shows there was a hangup with normal clearing. But the customer didn't hang up. The customer just notices visually that their phone hangs up so the hangup seems to be caused somewhere between the two systems.
I figured that during a recording, Freeswitch is not generating any audio at all, and it could be that something in the public phone system times out after absolutely no audio for a period of time. I have come up with a work around by getting Freeswitch to generate a short tone repeatedly during recording, like 50Hz at -30dB so it is basically inaudible, every thirty seconds or so. This seems to have solved the problem and now the customer can record for as long as he wants.
But I suspect this is really a work-around and not the recommended approach. I did play with the suppress cng parameter in the sofia configuration but didn't find any setting that would solve the problem.
Thankfully my work-around has got me home in the meantime but I would appreciate any comments on this. Does nobody make long recordings these days?
Cheers.
Clive Lansink Email: Clive@Lansink.Co.NZ Phone: +64 9 520-4242 Mobile: +64 21 663-999 Fax: +64 21 789-150
_________________________________________________________________________ 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
_________________________________________________________________________ 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
participants (1)
-
Clive Lansink