Author |
Message |
promero Brekeke Junior Member
Joined: 18 Apr 2013 Posts: 8
|
Posted: Thu Apr 17, 2014 10:59 am Post subject: header rewrite after re-invite |
|
|
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 |
|
hope Brekeke Master Guru
Joined: 15 Jan 2008 Posts: 862
|
|
Back to top |
|
janP Brekeke Master Guru
Joined: 25 Nov 2007 Posts: 336
|
Posted: Thu Apr 17, 2014 9:35 pm Post subject: |
|
|
Did you set NATIP in the [Configuration]->[System] page -> [Interface address 1] ?
Are you using B2B-UA mode? |
|
Back to top |
|
promero Brekeke Junior Member
Joined: 18 Apr 2013 Posts: 8
|
Posted: Tue Apr 22, 2014 7:31 am Post subject: |
|
|
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 |
|
hope Brekeke Master Guru
Joined: 15 Jan 2008 Posts: 862
|
Posted: Tue Apr 22, 2014 10:05 am Post subject: |
|
|
what happen if set b2bua off? |
|
Back to top |
|
|