[asterisk-users] agi dial termination cause ?

mancyborg at gmail.com mancyborg at gmail.com
Wed Jan 19 09:57:28 CST 2011


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


More information about the asterisk-users mailing list