Author |
Message |
Pretorean Brekeke Junior Member
Joined: 31 Oct 2006 Posts: 8
|
Posted: Mon Jul 14, 2008 5:12 am Post subject: Regular expression in address failing |
|
|
1. Brekeke Product Name and version: 1.5.2.0/172
2. Java version: 1.4.2_05
3. OS type and the version:Linux 2.4.20-28.8smp
4. UA (phone), gateway or other hardware/software involved:
5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/networkpatterns.html : 9
6. Your problem:
I am trying to use multiple IP address ranges in a single $addr variable but it's failing.
What's wrong with the following:
^192\.168\.95\.11[3-7]$|^172\.7\.16\.206$|^10\.1\.1.6[1-6]$ ?
Shouldn't it allow SIP from addresses in the following subnets: 192.168.95.112/29
172.7.16.206/32
10.1.160/29
thanks for any help. |
|
Back to top |
|
hope Brekeke Master Guru
Joined: 15 Jan 2008 Posts: 862
|
Posted: Mon Jul 14, 2008 11:40 am Post subject: |
|
|
do you only check ip addresses from
192.168.95.113-117 and 172.7.16.206 and 10.1.1.61-66? |
|
Back to top |
|
|