[Freeswitch-users] Hangup on silence?

Michael Jerris mike at jerris.com
Mon Jan 4 08:41:45 PST 2010


you can bind events in javascript in much the same way.  Why is it normal to not get a hangup for 60 seconds?  

Mike

On Jan 4, 2010, at 10:59 AM, Nicolas Brenner wrote:

> Vinuth, thank you very much for your response. I guess the event
> socket solution is the best for me, since I'm not using the dialplan.
> for these calls Do you think there's an alternative for Javascript
> though? hehe.
> 
> 
> On Mon, Jan 4, 2010 at 12:41 PM, Vinuth Madinur
> <vinuth.madinur at gmail.com> wrote:
>> You can call wait_for_silence with timeout as 1 minute. It'll wait for max 1
>> minute, but it'll return immediately when there is silence of mentioned
>> length. You can next invoke hangup in the dialplan.
>> Or, you can use event socket library to call "wait_for_silence" and wait for
>> "CHANNEL_EXECUTE_COMPLETE" with
>> variable_current_application=wait_for_silence, upon which you can hangup.
>> Helps?
>> 





More information about the FreeSWITCH-users mailing list