Hi all,<br>
<br>
I'm developing an application that uses ast_request_and_dial an uses tech = Local<br>
Then in dialplan i use Dial to make calls to the PSTN<br>
<br>
This is working OK, but when:<br>
<br>
1. the FXO port is not connected (no cable in it)<br>
&nbsp;OR <br>
2. the FXO port is connected and the destination is BUSY<br>
<br>
ast_request_and_dial returns &quot;thinking&quot; the result is ANSWERED (always)<br>
<br>
Why is working like this?<br>
the result ANSWERED is because dialing into the dialplan is always an ANSWER?<br>
how should i recover the real response of the Dial command in the dialplan from my application?<br>
<br>
Besides, i tried using:<br>
pbx_builtin_getvar_helper(chan, &quot;DIALSTATUS&quot;) and the result is: null<br>
<br>
thanks for your help<br>
Maxi<br>
<br>