[Freeswitch-users] Why a call hangs up without warning during recording

Michael Jerris mike at jerris.com
Mon Jun 23 20:06:32 MSD 2014


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 at 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 at Lansink.Co.NZ
> Phone: +64 9 520-4242
> Mobile: +64 21 663-999
> Fax: +64 21 789-150
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org




Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list