|
@@ -818,18 +818,19 @@ route[NATMANAGE] {
|
|
|
}
|
|
|
if (!(isflagset(FLT_NATS) || isbflagset(FLB_NATB))) return;
|
|
|
|
|
|
- if(nat_uac_test("8")) {
|
|
|
#!ifdef WITH_RTPENGINE
|
|
|
+ if(nat_uac_test("8")) {
|
|
|
rtpengine_manage("replace-origin replace-session-connection");
|
|
|
-#!else
|
|
|
- rtpproxy_manage("co");
|
|
|
-#!endif
|
|
|
} else {
|
|
|
rtpengine_manage("trust-address replace-origin replace-session-connection");
|
|
|
+ }
|
|
|
#!else
|
|
|
+ if(nat_uac_test("8")) {
|
|
|
+ rtpproxy_manage("co");
|
|
|
+ } else {
|
|
|
rtpproxy_manage("cor");
|
|
|
-#!endif
|
|
|
}
|
|
|
+#!endif
|
|
|
|
|
|
if (is_request()) {
|
|
|
if (!has_totag()) {
|