From 5ca21b9cdecf2d08088340bdb56611cebac942e1 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 5 Jun 2008 20:04:33 +0000 Subject: [PATCH] update git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8772 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/sofia.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index 7236706a3b..d67d0c2ac1 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -1082,7 +1082,9 @@ switch_status_t config_sofia(int reload, char *profile_name) profile->dtmf_type = DTMF_NONE; } } else if (!strcasecmp(var, "NDLB-force-rport")) { - profile->rport_level = 2; + if (switch_true(val)) { + profile->rport_level = 2; + } } else if (!strcasecmp(var, "record-template")) { profile->record_template = switch_core_strdup(profile->pool, val);; } else if (!strcasecmp(var, "inbound-no-media") && switch_true(val)) {