Module: kamailio
Branch: master
Commit: 281bf230c10f252d10910f3d31ca55a14660203d
URL:
https://github.com/kamailio/kamailio/commit/281bf230c10f252d10910f3d31ca55a…
Author: Fred Posner <fred(a)qxork.com>
Committer: Fred Posner <fred(a)qxork.com>
Date: 2021-03-02T21:59:08-05:00
kamailio.cfg: use SIP-source-address
* default behavior of rtpengine is trust-address
* use SIP-source-address for nat_uac_test("8")
---
Modified: etc/kamailio.cfg
---
Diff:
https://github.com/kamailio/kamailio/commit/281bf230c10f252d10910f3d31ca55a…
Patch:
https://github.com/kamailio/kamailio/commit/281bf230c10f252d10910f3d31ca55a…
---
diff --git a/etc/kamailio.cfg b/etc/kamailio.cfg
index 708aade7bb..ddadaadb02 100644
--- a/etc/kamailio.cfg
+++ b/etc/kamailio.cfg
@@ -851,9 +851,9 @@ route[NATMANAGE] {
#!ifdef WITH_RTPENGINE
if(nat_uac_test("8")) {
- rtpengine_manage("replace-origin replace-session-connection");
+ rtpengine_manage("SIP-source-address replace-origin
replace-session-connection");
} else {
- rtpengine_manage("trust-address replace-origin replace-session-connection");
+ rtpengine_manage("replace-origin replace-session-connection");
}
#!else
if(nat_uac_test("8")) {