Posted: Mon Oct 23, 2006 1:20 am Post subject: [asterisk-dev] problem dialing to Local channel
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
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum