Hi,<br>Thanks for your reply.<br>I have already used this<br>exten=> 1002,1,Dial(SIP/1002|30|rg)<br>exten=> 1002,2,ExecIf($['${DIALSTATUS}'!='ANSWER']|Macro|voicedid|1002)<br><br>but my incoming call is getting hangup, it is not going to second priority.<br>
So is there any configuration we have to do in local channel.<br><br clear="all">Thanks,<br>Max Alex<br>Voip Developer<br><br>
<br><br><div class="gmail_quote">On Mon, Jan 12, 2009 at 6:45 PM, Philipp Kempgen <span dir="ltr"><<a href="mailto:philipp.kempgen@amooma.de">philipp.kempgen@amooma.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Philipp Kempgen schrieb:<br>
<div class="Ih2E3d">> Max Alex schrieb:<br>
><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<br>
>> [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<br>
>> case of NO ANSWER.<br>
><br>
> core show application Dial<br>
> ---cut---<br>
> g - Proceed with dialplan execution at the current extension if the<br>
> destination channel hangs up.<br>
> ---cut---<br>
<br>
</div>No, wait, you don't need the g option here. Sorry.<br>
<br>
Dial() continues after ${DIALSTATUS} = NOANSWER anyway.<br>
<br>
Dial(SIP/${EXTEN});<br>
if ("${DIALSTATUS}" = "NOANSWER") {<br>
// go to voicemail<br>
<div><div></div><div class="Wj3C7c">}<br>
<br>
<br>
Philipp Kempgen<br>
<br>
--<br>
AMOOCON 2009, May 4-5, Rostock / Germany -> <a href="http://www.amoocon.de" target="_blank">http://www.amoocon.de</a><br>
Asterisk: <a href="http://the-asterisk-book.com" target="_blank">http://the-asterisk-book.com</a> - <a href="http://das-asterisk-buch.de" target="_blank">http://das-asterisk-buch.de</a><br>
AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied -> <a href="http://www.amooma.de" target="_blank">http://www.amooma.de</a><br>
Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998<br>
--<br>
<br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br>