Author |
Message |
thompsonre Brekeke Newbie
Joined: 07 Jan 2008 Posts: 2
|
Posted: Mon Oct 12, 2009 2:52 pm Post subject: Route all calls from an IP address to a different IP |
|
|
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/networkpatterns.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. |
|
Back to top |
|
Andrey Brekeke Addict
Joined: 21 Apr 2008 Posts: 29
|
Posted: Mon Oct 12, 2009 3:23 pm Post subject: |
|
|
Code: |
[Matching Patterns]
$request = ^INVITE
$addr = <Sender's IP address>
To = sip:(.+)@
[Deploy Patterns]
To = sip:%1@<destination's IP address> |
|
|
Back to top |
|
thompsonre Brekeke Newbie
Joined: 07 Jan 2008 Posts: 2
|
Posted: Mon Oct 12, 2009 3:28 pm Post subject: |
|
|
Sweet!
Works perfectly. Thanks so much. |
|
Back to top |
|
|