hi,
i have this dialplan
[incoming]
exten => _X./_+421XXXXXXXXX,1,noop(cut +421 from CALLER)
exten => _X./_+421XXXXXXXXX,n,Set(CALLERID(num)=${CALLERID(num):4})
exten => _X./_+421XXXXXXXXX,n,goto(${CONTEXT},${EXTEN},1)
exten => _X.,1,noop(main block)
exten => _X.,n,noop(main block #2)
exten => _X.,n,Set(GWNAME=out)
my problem is when call arrive with +421 so i want strip this example
prefix from callerid
then i expecting that call jump(goto) to the line
exten => _X.,1,noop(main block)
but it jumps to
exten => _X.,n,Set(GWNAME=out)
any idea of this behavior?
Marek
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
Check out the new Asterisk community forum at: https://community.asterisk.org/
New to Asterisk? Start here:
https://wiki.asterisk.org/wiki/display/AST/Getting+Started
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users