mancyborg at gmail.com
2011-Jan-19 15:57 UTC
[asterisk-users] agi dial termination cause ?
Hi All, in an AGI script, if executing the Asterisk command Dial, I only get result => -1 (if the call has been answered by the callee) and result => 0 (for everything else) Question: how can I know if the call was not answered because of timeout or because the callee was busy ? (I'm using Asterisk 1.8) Thank you very much for supporting, regards and have a nice day. Mike
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body text="#000000" bgcolor="#ffffff"> Am 19.01.2011 16:57, schrieb <a class="moz-txt-link-abbreviated" href="mailto:mancyborg@gmail.com:">mancyborg@gmail.com:</a> <blockquote cite="mid:20110119165728.7b8c5c01@mpc" type="cite"> <pre wrap="">Hi All, in an AGI script, if executing the Asterisk command Dial, I only get result => -1 (if the call has been answered by the callee) and result => 0 (for everything else) Question: how can I know if the call was not answered because of timeout or because the callee was busy ? (I'm using Asterisk 1.8) Thank you very much for supporting, regards and have a nice day. Mike --</pre> </blockquote> <br> Take a look here:<br> <a class="moz-txt-link-freetext" href="http://www.voip-info.org/wiki/view/Asterisk+variables">http://www.voip-info.org/wiki/view/Asterisk+variables</a><br> <br> Perhaps you can get this info from ${ANSWEREDTIME} or from ${DIALSTATUS}.<br> <br> -Thorsten-<strong><br> </strong> </body> </html>
Seemingly Similar Threads
- SIP termination in Brazil
- unable to use misdn group dial
- Re: BRI cards, HFC, and bristuff - a general questionto clear up my understanding.
- Voicetronix OpenLine4: disable answering on a particular channel & delay before dial
- Problem with date & time on Aastra480isincerelease 1.3