Author |
Message |
kevinb Brekeke Junior Member
Joined: 15 Feb 2012 Posts: 9
Location: United Kingdom
|
Posted: Wed Feb 22, 2012 2:37 am Post subject: Multiple Source IP's in Matching Pattern |
|
|
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 |
|
Harold Brekeke Master Guru
Joined: 21 Sep 2008 Posts: 289
Location: Japan
|
Posted: Wed Feb 22, 2012 1:38 pm Post subject: |
|
|
I have this kind of definition and it works.
$addr = ^1.1.1.1|^1.1.1.2 |
|
Back to top |
|
kevinb Brekeke Junior Member
Joined: 15 Feb 2012 Posts: 9
Location: United Kingdom
|
Posted: Thu Feb 23, 2012 3:03 am Post subject: |
|
|
Thanks Harold, I'll try that.
K |
|
Back to top |
|
|