<!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 =&gt; -1 (if the call has been answered by the callee)
and
result =&gt; 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>