Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
BSS is updating SDP with $rtp=false
Author Message
skb007
Brekeke Guru


Joined: 05 Oct 2015
Posts: 152
Location: USA

PostPosted: Fri Jun 26, 2020 12:23 pm    Post subject: BSS is updating SDP with $rtp=false Reply with quote

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


Joined: 27 Jan 2008
Posts: 223

PostPosted: Fri Jun 26, 2020 3:43 pm    Post subject: Reply with quote

set &net.nat.force=false in Deploy Patterns.
Back to top
View user's profile
skb007
Brekeke Guru


Joined: 05 Oct 2015
Posts: 152
Location: USA

PostPosted: Fri Jun 26, 2020 5:05 pm    Post subject: Reply with quote

It works Smile.

Appreciate your quick help and have a nice weekend.

Thanks
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