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

