Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
Multiple Source IP's in Matching Pattern
Author Message
kevinb
Brekeke Junior Member


Joined: 15 Feb 2012
Posts: 9
Location: United Kingdom

PostPosted: Wed Feb 22, 2012 2:37 am    Post subject: Multiple Source IP's in Matching Pattern Reply with quote

1. Brekeke Product Name and version:
Brekeke SIP Server 2.4.7.3/286.1

2. Java version:
1.6.0_22

3. OS type and the version:
Linux 2.6.18-194.el5

4. UA (phone), gateway or other hardware/software involved:
Lync Mediation Server to Brekeke TCP on Port 5060

5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/networkpatterns.html :
Pattern 9

6. Your problem:
I am trying to set up a dial plan so that the matching pattern can handle traffic from two different sources without having to have seperate dial plans, so far I have the below,

$request=^INVITE
$addr=\1.1.1.001|1.1.1.002
To=sip:(.+)@
From=sip:(.+)@

I am able to receive sip traffic on the first matching IP and it be deployed, but anything from the second IP to the same number gets a response back as number not in service, and I cannot see the call on the logs either.

Any suggestions would be appreciated.

Thanks
Back to top
View user's profile
Harold
Brekeke Master Guru


Joined: 21 Sep 2008
Posts: 289
Location: Japan

PostPosted: Wed Feb 22, 2012 1:38 pm    Post subject: Reply with quote

I have this kind of definition and it works.
$addr = ^1.1.1.1|^1.1.1.2
Back to top
View user's profile
kevinb
Brekeke Junior Member


Joined: 15 Feb 2012
Posts: 9
Location: United Kingdom

PostPosted: Thu Feb 23, 2012 3:03 am    Post subject: Reply with quote

Thanks Harold, I'll try that.

K
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