[asterisk-users] Dialplan regexp
Adrian Marsh
Adrian.Marsh at ubiquisys.com
Wed Sep 5 10:09:26 CDT 2007
Hi,
Can anyone tell me why the below dialplan doesn't filter off dialed
numbers for 01793520158, and jump to "local",priority1
If I change it to :
exten => 01793520158,1,Goto(local,${EXTEN:-3},1)
....
then it works fine (but that's too specific)...
exten => _017935201[56][0-9],1,Goto(local,${EXTEN:-3},1)
exten => _0.,1,Set(CALLERID(num)=${PSTN_GLOBAL}${CALLERID(num):-3})
exten => _0.,2,Dial(${TRUNK}/${EXTEN},,W)
Adrian Marsh
More information about the asterisk-users
mailing list