Browse code

kamailio.cfg: use SIP-source-address

* default behavior of rtpengine is trust-address
* use SIP-source-address for nat_uac_test("8")

Fred Posner authored on 03/03/2021 02:59:08
Showing 1 changed files
... ...
@@ -851,9 +851,9 @@ route[NATMANAGE] {
851 851
 
852 852
 #!ifdef WITH_RTPENGINE
853 853
 	if(nat_uac_test("8")) {
854
-		rtpengine_manage("replace-origin replace-session-connection");
854
+		rtpengine_manage("SIP-source-address replace-origin replace-session-connection");
855 855
 	} else {
856
-		rtpengine_manage("trust-address replace-origin replace-session-connection");
856
+		rtpengine_manage("replace-origin replace-session-connection");
857 857
 	}
858 858
 #!else
859 859
 	if(nat_uac_test("8")) {