IP - Domain names / from - to flip around

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
Izzyg
Posts: 91
Joined: Tue Jun 25, 2013 1:14 pm
Location: Sip Land

IP - Domain names / from - to flip around

Post by Izzyg »

1. Brekeke Product Name and Version: Brekeke SIP Server 2.4.8.6/286.3

2. Java version: 1.6.0_31

3. OS type and the version: Windows Server 2008 R2

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

5. Your problem:

I need to implement the following changes with one of our carriers, whenever "bye" message comes from our
74.75.76.111, our side overwrites IP 74.75.76.111 in the From / To header of the Bye message with domain name.
Since SIP dialogues are identified by a combination of Call-ID as well as From and To headers, overwriting either header puts the message outside of the dialogue where it belongs.
Such replacement causes trouble to the carriers equipment.
We need to make the change and be sure our side does not overwrite From and To headers.
In particular, to make sure it does not overwrite IPs with domain names.


any help would be appriciates
james
Posts: 501
Joined: Mon Dec 10, 2007 12:56 pm

Post by james »

Do you want to stop overwriting From/To headers?
Izzyg
Posts: 91
Joined: Tue Jun 25, 2013 1:14 pm
Location: Sip Land

Post by Izzyg »

Correct
james
Posts: 501
Joined: Mon Dec 10, 2007 12:56 pm

Post by james »

Add "$replaceuri = false" in the DeployPattern.
Izzyg
Posts: 91
Joined: Tue Jun 25, 2013 1:14 pm
Location: Sip Land

Post by Izzyg »

this is currently my Matching Pattern:
$request=^INVITE
To=sip:(.+)@
To=sip:4506200001

this is my Deploy Patterns:
$auth=false
To=sip:%1@customer1.server1.com
$session=failover sip:%1@customer1.server1.com sip:%1@customer1.BUserver2.com
&failover.timer.inviting=5
&failover.timer.provisional=360
$continue=false


so i add it to the end of Deploy Pattern
james
Posts: 501
Joined: Mon Dec 10, 2007 12:56 pm

Post by james »

For using the failover ($session=failover), you need to use Advanced Edition.
Post Reply