Forums Read-only archive

Multiple Source IP's in Matching Pattern

3 posts · Brekeke SIP Server Forum

kevinb Original post
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/ ... terns.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
Harold
I have this kind of definition and it works.
$addr = ^1.1.1.1|^1.1.1.2
kevinb
Thanks Harold, I'll try that.

K