BSS is updating SDP with $rtp=false

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
skb007
Posts: 152
Joined: Mon Oct 05, 2015 10:22 pm
Location: USA

BSS is updating SDP with $rtp=false

Post by skb007 »

1. Brekeke Product Name and Version:BSS 3.8

2. Java version:1.8

3. OS type and the version:RHEL7.8

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

5. Your problem: BSS is changing the media IP address while $rtp=false.



Call Flow:
UAC-->BSS-->DIALOGIC-->BSS-->Provider

1. UAC sends a call to BSS. RTP=True in this step so BSS adds its own IP (4.4.4.62) to the SDP and sends the call to Dialogic.
2. Dialogic adds the prefix to the dialed number and sends the call back to BSS for termination to provider. Dialogic does not change the SDP or does not paticipates in RTP.
3.BSS receives the call and sends it to provider.

Problem: In step # 3 BSS changes the SDP IP from 4.4.4.62 to 4.4.4.30 even though the RTP=false in the second dial plan. I am not sure if it is a bug becuase BSS thinks that I am instructed not to relay the STP but SDP shows my IP address so it gets confused which triggers something unpredictable.


DIAL-PLAN for UAC-->BSS
Matching Patterns
$request = ^INVITE
$addr = ^1.1.1.1|2.2.2.2$
To = sip:1234(.+)@

Deploy Patterns
To = sip:%1@3.3.3.3
$b2bua = true
$rtp = true
$ifsrc = 4.4.4.30
$ifdst = 4.4.4.30
&net.rtp.bindsrc = 4.4.4.62
&net.rtp.binddst = 4.4.4.62
&net.rtp.ifsrc = 4.4.4.62
&net.rtp.ifdst = 4.4.4.62
$replaceuri = true
&net.sip.remove.displayname = true



DIAL-PLAN for DIALOGIC-->PROVIDER
Matching Patterns
$request = ^INVITE
$addr = ^4.4.4.24$
To = sip:5678(.+)@
From = sip:(.+)@

Deploy Patterns
To = sip:%1@5.5.5.5
From = sip:+%2@4.4.4.30
$b2bua = true
$rtp = false
$ifsrc = 4.4.4.30
$ifdst = 4.4.4.30
$replaceuri = true
&net.sip.remove.displayname = true
Tata
Posts: 223
Joined: Sun Jan 27, 2008 1:03 pm

Post by Tata »

set &net.nat.force=false in Deploy Patterns.
skb007
Posts: 152
Joined: Mon Oct 05, 2015 10:22 pm
Location: USA

Post by skb007 »

It works :).

Appreciate your quick help and have a nice weekend.

Thanks
Post Reply