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

Anthony Minessale anthony.minessale at gmail.com
Sun Jun 22 05:57:56 MSD 2014


try setting record_waste_resources=true on the channel


On Sat, Jun 21, 2014 at 8: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
>



-- 
Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬

☞ http://freeswitch.org/http://cluecon.com/http://twitter.com/FreeSWITCH
☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+
<http://freeswitch.org/g+>*

ClueCon Weekly Development Call
☎ sip:888 at conference.freeswitch.org  ☎ +19193869900
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140621/33a6c3b9/attachment.html 


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