[asterisk-users] Local channel Help required

Max Alex max.asterisk at gmail.com
Tue Jan 13 07:30:53 CST 2009


Hi,
Thanks for your reply.
I have already used this
exten=> 1002,1,Dial(SIP/1002|30|rg)
exten=> 1002,2,ExecIf($['${DIALSTATUS}'!='ANSWER']|Macro|voicedid|1002)

but my incoming call is getting hangup, it is not going to second priority.
So is there any configuration we have to do in local channel.

Thanks,
Max Alex
Voip Developer



On Mon, Jan 12, 2009 at 6:45 PM, Philipp Kempgen
<philipp.kempgen at amooma.de>wrote:

> Philipp Kempgen schrieb:
> > Max Alex schrieb:
> >
> >> 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.
> >
> > core show application Dial
> > ---cut---
> >     g    - Proceed with dialplan execution at the current extension if
> the
> >            destination channel hangs up.
> > ---cut---
>
> No, wait, you don't need the g option here. Sorry.
>
> Dial() continues after ${DIALSTATUS} = NOANSWER anyway.
>
> Dial(SIP/${EXTEN});
> if ("${DIALSTATUS}" = "NOANSWER") {
>        // go to voicemail
> }
>
>
>   Philipp Kempgen
>
> --
> AMOOCON 2009, May 4-5, Rostock / Germany   ->  http://www.amoocon.de
> Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de
> AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied  ->  http://www.amooma.de
> Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998
> --
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090113/b945368c/attachment.htm 


More information about the asterisk-users mailing list