Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
IP - Domain names / from - to flip around
Author Message
Izzyg
Brekeke Talented


Joined: 25 Jun 2013
Posts: 91
Location: Sip Land

PostPosted: Mon Jul 01, 2013 8:49 am    Post subject: IP - Domain names / from - to flip around Reply with quote

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
Back to top
View user's profile
james
Brekeke Master Guru


Joined: 10 Dec 2007
Posts: 498

PostPosted: Mon Jul 01, 2013 11:05 am    Post subject: Reply with quote

Do you want to stop overwriting From/To headers?
Back to top
View user's profile
Izzyg
Brekeke Talented


Joined: 25 Jun 2013
Posts: 91
Location: Sip Land

PostPosted: Mon Jul 01, 2013 11:18 am    Post subject: Reply with quote

Correct
Back to top
View user's profile
james
Brekeke Master Guru


Joined: 10 Dec 2007
Posts: 498

PostPosted: Mon Jul 01, 2013 1:28 pm    Post subject: Reply with quote

Add "$replaceuri = false" in the DeployPattern.
Back to top
View user's profile
Izzyg
Brekeke Talented


Joined: 25 Jun 2013
Posts: 91
Location: Sip Land

PostPosted: Mon Jul 01, 2013 2:06 pm    Post subject: Reply with quote

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
Back to top
View user's profile
james
Brekeke Master Guru


Joined: 10 Dec 2007
Posts: 498

PostPosted: Mon Jul 01, 2013 2:15 pm    Post subject: Reply with quote

For using the failover ($session=failover), you need to use Advanced Edition.
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1