Hi All,<br>I am using asterisk 1.4 branch on server.<br>Here is a my dialplan.<br>i have set the incoming route to incoming context, and then i have set dial with local channel,<br>The call comes to my server and the call is routed to matched case, so my phone 1001 ring for 30 seconds.<br>
If i got the NOANSWER then the channel is not passing to next priority.<br>I need to pass that channel to the next priority of the context [macro-mypbx] so i can set voicemail there.<br><br>I want to know how can we set the local channel to go in next priority in case of NO ANSWER.<br>
<br>[incoming]<br>exten=> _X.,1,Dial(Local/${EXTEN}@pbx_tech/n)<br>exten=> _X.,2,NoOp(Test)<br><br>[pbx_tech]<br>exten=>_X.,1,Macro(mypbx)<br><br>[macro-mypbx]<br>exten=> 1001,1,Dial(SIP/1001|30|rg)<br>exten=> 1001,2,ExecIf($['${DIALSTATUS}'!='ANSWER']|Macro|voicedid|1001)<br>
exten=> 1002,1,Dial(SIP/1002|30|rg)<br>exten=> 1002,2,ExecIf($['${DIALSTATUS}'!='ANSWER']|Macro|voicedid|1002)<br>exten=>s,1,Goto(${MACRO_EXTEN}|1)<br><br>[macro-voicedid]<br>exten=>s,1,NoOp(${ARG1})<br>
<br>Please provide me help regarding this!!!<br><br clear="all">Thanks,<br>Max Alex<br>Voip Developer<br><br>