FW: [Serusers] digit matching
Richard C. Thompson
rthompson at vir2com.com
Tue Sep 26 22:42:15 CEST 2006
To All
I answered it myself
if(uri=~"sip:002[0-9]*@")
Thanks
Rick
_____
From: serusers-bounces at lists.iptel.org
[mailto:serusers-bounces at lists.iptel.org] On Behalf Of Richard C. Thompson
Sent: Tuesday, September 26, 2006 4:31 PM
To: serusers at iptel.org
Subject: [Serusers] digit matching
Hi All
I hope someone can point me in the right direction or just give me a hint.
I have the following route in ser.cfg and it works great. All I would like
to do is change it so it matches on any number that starts with 002
regardless of length not just 12 more digits or a fixed length.
if(uri=~"sip:(002............)@")
I tried
if(uri=~"sip:(002*)@")
but it didn't work
TIA
Rick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20060926/3285e834/attachment.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ATT00117.txt
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20060926/3285e834/attachment.txt>
More information about the sr-users
mailing list