Multiple Source IP's in Matching Pattern

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
kevinb
Posts: 9
Joined: Wed Feb 15, 2012 2:10 am
Location: United Kingdom

Multiple Source IP's in Matching Pattern

Post by kevinb »

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
Posts: 289
Joined: Sun Sep 21, 2008 10:31 pm
Location: Japan

Post by Harold »

I have this kind of definition and it works.
$addr = ^1.1.1.1|^1.1.1.2
kevinb
Posts: 9
Joined: Wed Feb 15, 2012 2:10 am
Location: United Kingdom

Post by kevinb »

Thanks Harold, I'll try that.

K
Post Reply