[asterisk-users] Local channel Help required
Max Alex
max.asterisk at gmail.com
Sat Jan 10 03:36:30 CST 2009
Hi All,
I am using asterisk 1.4 branch on server.
Here is a my dialplan.
i have set the incoming route to incoming context, and then i have set dial
with local channel,
The call comes to my server and the call is routed to matched case, so my
phone 1001 ring for 30 seconds.
If i got the NOANSWER then the channel is not passing to next priority.
I need to pass that channel to the next priority of the context
[macro-mypbx] so i can set voicemail there.
I want to know how can we set the local channel to go in next priority in
case of NO ANSWER.
[incoming]
exten=> _X.,1,Dial(Local/${EXTEN}@pbx_tech/n)
exten=> _X.,2,NoOp(Test)
[pbx_tech]
exten=>_X.,1,Macro(mypbx)
[macro-mypbx]
exten=> 1001,1,Dial(SIP/1001|30|rg)
exten=> 1001,2,ExecIf($['${DIALSTATUS}'!='ANSWER']|Macro|voicedid|1001)
exten=> 1002,1,Dial(SIP/1002|30|rg)
exten=> 1002,2,ExecIf($['${DIALSTATUS}'!='ANSWER']|Macro|voicedid|1002)
exten=>s,1,Goto(${MACRO_EXTEN}|1)
[macro-voicedid]
exten=>s,1,NoOp(${ARG1})
Please provide me help regarding this!!!
Thanks,
Max Alex
Voip Developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090110/00c6748a/attachment.htm
More information about the asterisk-users
mailing list