From: Anthony Minessale Date: Thu, 22 May 2008 17:30:11 +0000 (+0000) Subject: add example of new option X-Git-Tag: v1.0.0~150 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f218f04d4ddc27517dc8a26d71b2656ae8a1a556;p=thirdparty%2Ffreeswitch.git add example of new option git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8528 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/conf/sip_profiles/internal.xml b/conf/sip_profiles/internal.xml index 3166538889..624f68c840 100644 --- a/conf/sip_profiles/internal.xml +++ b/conf/sip_profiles/internal.xml @@ -98,6 +98,8 @@ + + diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index 419b076f24..6513613d70 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -1117,7 +1117,7 @@ switch_status_t config_sofia(int reload, char *profile_name) switch_set_flag(profile, TFLAG_LATE_NEGOTIATION); } else if (!strcasecmp(var, "inbound-proxy-media") && switch_true(val)) { switch_set_flag(profile, TFLAG_PROXY_MEDIA); - } else if (!strcasecmp(var, "received-in-nat-reg-contact") && switch_true(val)) { + } else if (!strcasecmp(var, "NDLB-received-in-nat-reg-contact") && switch_true(val)) { profile->pflags |= PFLAG_RECIEVED_IN_NAT_REG_CONTACT; } else if (!strcasecmp(var, "aggressive-nat-detection") && switch_true(val)) { profile->pflags |= PFLAG_AGGRESSIVE_NAT_DETECTION;