Allan Kamau
2006-Aug-21 04:20 UTC
[asterisk-users] running agi application in the background
I would like to run a fast-agi application in the background.(cmd agi()) This is because I would like to implement a "disconnect after so many seconds" feature or at least a log of the duration of the call. When the call is answered, the application checks to see the number of seconds (talk time)remaining then disconnects the call if the time is exceeded. How can I achieve this. Allan. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Tobias Wolf
2006-Aug-21 04:54 UTC
[asterisk-users] running agi application in the background
Allan Kamau schrieb:> I would like to run a fast-agi application in the > background.(cmd agi()) > This is because I would like to implement a > "disconnect after so many seconds" feature or at least > a log of the duration of the call.What about using an Option of the Dial-App instead ?? S(n): Hangup the call n seconds AFTER called party picks up. http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+Dial