[asterisk-dev] new priority of pattern matching in 1.4. Does it makes sense?

Atis Lezdins atis at iq-labs.net
Tue Feb 26 10:02:53 CST 2008


On 2/26/08, Jared Smith <jsmith at digium.com> wrote:
> On Tue, 2008-02-26 at 12:45 +0200, Atis Lezdins wrote:
>  > And how about GoTo? It also will jump to "i" if can't match.
>
>
> No, I don't think it will.

Well, i'm too lazy to check that too, but i have GoSub in my dialplan,
and it's definitely matching. I suspect GoTo should act the same.

[Feb 26 07:51:43] DEBUG[7354] pbx.c: Launching 'Gosub'
[Feb 26 07:51:43] VERBOSE[7354] logger.c:     -- Executing
[006 at default-sip:58] Gosub("SIP/21168-081f6408", "static_ivr|006|1")
in new stack
[Feb 26 07:51:43] VERBOSE[7354] logger.c:     -- Sent into invalid
extension '006' in context 'static_ivr' on SIP/21168-081f6408
[Feb 26 07:51:43] DEBUG[7354] pbx.c: Launching 'Return'
[Feb 26 07:51:43] VERBOSE[7354] logger.c:     -- Executing
[i at static_ivr:1] Return("SIP/21168-081f6408", "") in new stack
[Feb 26 07:51:43] DEBUG[7354] pbx.c: Expression result is '0'

Regards,
Atis

-- 
Atis Lezdins
VoIP Project Manager,
IQ Labs Inc.
atis at iq-labs.net
Skype: atis.lezdins
Cell Phone: +371 28806004
Work phone: +1 800 7502835



More information about the asterisk-dev mailing list