|
@@ -249,7 +249,7 @@ session_timer.min_se = "90" desc "minimum session interval (in s)"
|
|
# and enable the rtp proxy when necessary
|
|
# and enable the rtp proxy when necessary
|
|
#
|
|
#
|
|
#DEBCONF-RTP_ENABLE-START
|
|
#DEBCONF-RTP_ENABLE-START
|
|
-rtp_proxy.enable = "detect" desc "indicates whether the RTP Proxy is enabled or not (0/1/detect)"
|
|
|
|
|
|
+rtp_proxy.enabled = "detect" desc "indicates whether the RTP Proxy is enabled or not (0/1/detect)"
|
|
#DEBCONF-RTP_ENABLE-END
|
|
#DEBCONF-RTP_ENABLE-END
|
|
|
|
|
|
# ------------------ Module Loading -----------------------------------------
|
|
# ------------------ Module Loading -----------------------------------------
|
|
@@ -734,17 +734,17 @@ route[NAT_DETECTION]
|
|
#
|
|
#
|
|
route[RTPPROXY]
|
|
route[RTPPROXY]
|
|
{
|
|
{
|
|
- if (@cfg_get.rtp_proxy.enable == "0") {
|
|
|
|
|
|
+ if (@cfg_get.rtp_proxy.enabled == "0") {
|
|
# RTP Proxy is disabled
|
|
# RTP Proxy is disabled
|
|
break;
|
|
break;
|
|
- } else if (@cfg_get.rtp_proxy.enable == "detect") {
|
|
|
|
|
|
+ } else if (@cfg_get.rtp_proxy.enabled == "detect") {
|
|
if (!isflagset(FLAG_NAT)) {
|
|
if (!isflagset(FLAG_NAT)) {
|
|
# If no NAT is involved we don't have to do here anything.
|
|
# If no NAT is involved we don't have to do here anything.
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
- } else if (@cfg_get.rtp_proxy.enable != "1") {
|
|
|
|
|
|
+ } else if (@cfg_get.rtp_proxy.enabled != "1") {
|
|
# This is not a valid setting
|
|
# This is not a valid setting
|
|
- xlog("L_ERR", "Unknown option for rtp_proxy.enable: %@cfg_get.rtp_proxy.enable\n");
|
|
|
|
|
|
+ xlog("L_ERR", "Unknown option for rtp_proxy.enabled: %@cfg_get.rtp_proxy.enabled\n");
|
|
break;
|
|
break;
|
|
} # else rtp proxy is permanently enabled
|
|
} # else rtp proxy is permanently enabled
|
|
|
|
|