|
@@ -53,6 +53,7 @@
|
|
# *** To enable nat traversal execute:
|
|
# *** To enable nat traversal execute:
|
|
# - define WITH_NAT
|
|
# - define WITH_NAT
|
|
# - option for NAT SIP OPTIONS keepalives: WITH_NATSIPPING
|
|
# - option for NAT SIP OPTIONS keepalives: WITH_NATSIPPING
|
|
|
|
+# - option to relay RTP always (with RTPProxy or RTPEngine): WITH_RTPRELAY
|
|
# - install RTPProxy: http://www.rtpproxy.org
|
|
# - install RTPProxy: http://www.rtpproxy.org
|
|
# - start RTPProxy:
|
|
# - start RTPProxy:
|
|
# rtpproxy -l _your_public_ip_ -s udp:localhost:7722
|
|
# rtpproxy -l _your_public_ip_ -s udp:localhost:7722
|
|
@@ -897,7 +898,10 @@ route[NATMANAGE] {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+#!ifndef WITH_RTPRELAY
|
|
if (!(isflagset(FLT_NATS) || isbflagset(FLB_NATB))) return;
|
|
if (!(isflagset(FLT_NATS) || isbflagset(FLB_NATB))) return;
|
|
|
|
+#!endif
|
|
|
|
|
|
#!ifdef WITH_RTPENGINE
|
|
#!ifdef WITH_RTPENGINE
|
|
if(nat_uac_test("8")) {
|
|
if(nat_uac_test("8")) {
|