Skip to content

Commit

Permalink
Merge pull request #2272 from flaviogoncalves/flavio
Browse files Browse the repository at this point in the history
Fix in the residential script. Does not make sense to send a plus cha…
  • Loading branch information
bogdan-iancu committed Oct 6, 2020
2 parents 466f96e + f82d3b1 commit 903c24c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions menuconfig/configs/opensips_residential.m4
Expand Up @@ -411,6 +411,7 @@ ifelse(ENABLE_TCP, `yes', ifelse(ENABLE_TLS, `yes', `
ifelse(HAVE_OUTBOUND_PSTN,`yes',`
if ($rU=~"^\+[1-9][0-9]+$") {
ifelse(USE_DR_MODULE,`yes',`
strip(1);
if (!do_routing(0)) {
send_reply(500,"No PSTN Route found");
exit;
Expand Down
5 changes: 4 additions & 1 deletion modules/rtpengine/README
Expand Up @@ -471,7 +471,10 @@ rtpengine_offer();
trusted. Without this flag, the RTP proxy ignores
address in the SDP and uses source address of the SIP
message as media address which is passed to the RTP
proxy.
proxy. From rtpengine 3.8 this is the default behaviour.
+ SIP-source-address - the opposite of trust-address.
Restores the old default behaviour of ignoring endpoint
addresses in the SDP body.
+ replace-origin - flags that IP from the origin
description (o=) should be also changed.
+ replace-session-connection - flags to change the
Expand Down
6 changes: 5 additions & 1 deletion modules/rtpengine/doc/rtpengine_admin.xml
Expand Up @@ -478,7 +478,11 @@ rtpengine_offer();
<emphasis>trust-address</emphasis> - flags that IP address in SDP should
be trusted. Without this flag, the &rtp; proxy ignores address in
the SDP and uses source address of the SIP message as media
address which is passed to the RTP proxy.
address which is passed to the RTP proxy. From rtpengine 3.8 this is the default behaviour.
</para></listitem>
<listitem><para>
<emphasis>SIP-source-address</emphasis> - the opposite of trust-address.
Restores the old default behaviour of ignoring endppoint of the addresses in the SDP body.
</para></listitem>
<listitem><para>
<emphasis>replace-origin</emphasis> - flags that IP from the origin
Expand Down

0 comments on commit 903c24c

Please sign in to comment.