Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
header rewrite after re-invite
Author Message
promero
Brekeke Junior Member


Joined: 18 Apr 2013
Posts: 8

PostPosted: Thu Apr 17, 2014 10:59 am    Post subject: header rewrite after re-invite Reply with quote

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


Joined: 15 Jan 2008
Posts: 862

PostPosted: Thu Apr 17, 2014 2:43 pm    Post subject: Reply with quote

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


Joined: 25 Nov 2007
Posts: 336

PostPosted: Thu Apr 17, 2014 9:35 pm    Post subject: Reply with quote

Did you set NATIP in the [Configuration]->[System] page -> [Interface address 1] ?

Are you using B2B-UA mode?
Back to top
View user's profile
promero
Brekeke Junior Member


Joined: 18 Apr 2013
Posts: 8

PostPosted: Tue Apr 22, 2014 7:31 am    Post subject: Reply with quote

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


Joined: 15 Jan 2008
Posts: 862

PostPosted: Tue Apr 22, 2014 10:05 am    Post subject: Reply with quote

what happen if set b2bua off?
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