remember to use the ^ to indicate matching at the beginning of the number. i.e ^01144 should be all you need to match any international call going to country code 44.
Karl Putz >-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] Behalf Of Jason >Kawakami >Sent: Wednesday, February 09, 2005 7:05 PM >To: [email protected] >Subject: [Asterisk-Users] sample REGEX's for astcc > > >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 > > >_______________________________________________ >Asterisk-Users mailing list >[email protected] >http://lists.digium.com/mailman/listinfo/asterisk-users >To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > _______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
