[asterisk-users] Dial() does not go to second priority (was: Re: Local channel Help required)
Philipp Kempgen
philipp.kempgen at amooma.de
Tue Jan 13 07:52:41 CST 2009
Max Alex schrieb:
> 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.
I hate ExecIf syntax but I don't see anything obvious here.
Could you try to send the DIALSTATUS to the CLI like so:
exten => 1002,1,Dial(SIP/1002|30|rg)
exten => 1002,n,Verbose(1,### DIALSTATUS: ${DIALSTATUS})
exten => 1002,n,ExecIf($['${DIALSTATUS}'!='ANSWER']|Macro|voicedid|1002)
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