[asterisk-dev] problem dialing to Local channel

Maxi Belino maxi.belino at gmail.com
Sun Oct 22 18:12:32 MST 2006


Hi all,

I'm developing an application that uses ast_request_and_dial an uses tech =
Local
Then in dialplan i use Dial to make calls to the PSTN

This is working OK, but when:

1. the FXO port is not connected (no cable in it)
 OR
2. the FXO port is connected and the destination is BUSY

ast_request_and_dial returns "thinking" the result is ANSWERED (always)

Why is working like this?
the result ANSWERED is because dialing into the dialplan is always an
ANSWER?
how should i recover the real response of the Dial command in the dialplan
from my application?

Besides, i tried using:
pbx_builtin_getvar_helper(chan, "DIALSTATUS") and the result is: null

thanks for your help
Maxi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20061022/d89962c1/attachment.htm


More information about the asterisk-dev mailing list