Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
Regular expression in address failing
Author Message
Pretorean
Brekeke Junior Member


Joined: 31 Oct 2006
Posts: 8

PostPosted: Mon Jul 14, 2008 5:12 am    Post subject: Regular expression in address failing Reply with quote

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
View user's profile
hope
Brekeke Master Guru


Joined: 15 Jan 2008
Posts: 862

PostPosted: Mon Jul 14, 2008 11:40 am    Post subject: Reply with quote

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
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1