Route all calls from an IP address to a different IP

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
thompsonre
Posts: 2
Joined: Mon Jan 07, 2008 1:52 pm

Route all calls from an IP address to a different IP

Post by thompsonre »

1. Brekeke Product Name and version: 2.3.8.2 Standard

2. Java version:

3. OS type and the version: Windows 2003

4. UA (phone), gateway or other hardware/software involved:

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

6. Your problem:
I'm trying to set up a rule that will take all calls that come from a single IP address and automatically route them to a different specific IP address.
Andrey
Posts: 29
Joined: Mon Apr 21, 2008 9:30 pm

Post by Andrey »

Code: Select all

[Matching Patterns]
$request = ^INVITE
$addr = <Sender's IP address>
To = sip:(.+)@

[Deploy Patterns]
To = sip:%1@<destination's IP address>
thompsonre
Posts: 2
Joined: Mon Jan 07, 2008 1:52 pm

Post by thompsonre »

Sweet!

Works perfectly. Thanks so much.
Post Reply