4 Jan
2010
4 Jan
'10
3:59 p.m.
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@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?