Regular expression in address failing

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
Pretorean
Posts: 8
Joined: Tue Oct 31, 2006 1:22 am

Regular expression in address failing

Post by Pretorean »

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/ ... terns.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.
hope
Posts: 862
Joined: Tue Jan 15, 2008 4:08 pm

Post by hope »

do you only check ip addresses from
192.168.95.113-117 and 172.7.16.206 and 10.1.1.61-66?
Post Reply