From: Anthony Minessale Date: Thu, 5 Jun 2008 20:04:33 +0000 (+0000) Subject: update X-Git-Tag: v1.0.1~388 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ca21b9cdecf2d08088340bdb56611cebac942e1;p=thirdparty%2Ffreeswitch.git update git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8772 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- 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)) {