[asterisk-users] Local channel Help required

Philipp Kempgen philipp.kempgen at amooma.de
Mon Jan 12 07:15:34 CST 2009


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
-- 



More information about the asterisk-users mailing list