Re: [Freeswitch-users] Why a call hangs up without warning during recording
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
participants (1)
-
Michael Jerris