Forums Read-only archive

header rewrite after re-invite

5 posts · Brekeke SIP Server Forum

promero Original post
1. Brekeke Product Name and Version:
Version 3.3.4.4 Standard
2. Java version:
7_51
3. OS type and the version:
Windows 2003 SP1
4. UA (phone), gateway or other hardware/software involved:
ITSP
5. Your problem:
Brekeke is B2BUA between softswitch and ITSP
Brekeke has local IP behind NAT
Brekeke is rewriting header info per ITSP req.

Issue is the TO: address in the header for the 200 OK SDP after a reinvite from the ITSP is not being rewritten according to dial plan.

In the initial invite it is. It is only after the reinvite 15 minutes into the call. The ITSP does not recognize the internal address and thus does not respond with the ACK.

Dial plan match
$request = ^INVITE
To = sip:(.+)@
From = sip:(.+)@

Deploy
From = sip:(.+)@ From = sip:%2@NATIP
$replaceuri = true
Contact = sip:%2@NATIP
$replaceuri = true
$ifdst = NATIP
To = sip:%1@ITSPIP
hope
you may need session plug-in to modify the requests in the middle of a session
http://www.brekeke.com/support/sip_document.php
"Developer's Guide: Accounting Plug-in"
janP
Did you set NATIP in the [Configuration]->[System] page -> [Interface address 1] ?

Are you using B2B-UA mode?
promero
Yes this is B2B-UA mode.
The Interface address 1 is blank
it is the TO: address in the 200 OK SDP message header that is not being re-written after a re-invite.
hope
what happen if set b2bua off?