[asterisk-users] Dialplan end of pattern matching question

Doug Lytle support at drdos.info
Tue Feb 15 15:03:14 CST 2011


Gabriel Ortiz Lour wrote:
> exten => _6XXX,1,NoOp(test1)
>
> exten => _XXXX,1,NoOp(test2)
> exten => _XXXX,2,NoOp(test3)

Being in the same context, it would look for the next priority that 
would match.  _XXXX,2 would be that priority.

I would suggest:

exten => _6XXX,1,NoOp(test1)
exten => _6XXX,n,Hangup()

Doug


-- 

Ben Franklin quote:

"Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."




More information about the asterisk-users mailing list