[Asterisk-Users] sample REGEX's for astcc

Jason Kawakami jkkawakami at optellabs.com
Wed Feb 9 17:05:18 MST 2005


So I have a route with [1-9][0-9][0-9][1-9][0-9]* as a base route that
should match NXXNX. Right?

I built another route 01144[0-9]* that I thought would match 01144X. and
send the call to the UK but the script is matching 01144207108???? With the
first route.

Can someone smarter than me help with some samples? Please?  If I can get
one for 1NXXN. and 01144. I should be able to figure the rest out.

Jason Kawakami
www.optellabs.com
Salt Lake City, UT





More information about the asterisk-users mailing list