add supress-cng param and supress_cng variable

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6222 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2007-11-12 20:36:00 +00:00
parent e5d6f35fb4
commit 77405bd53e
3 changed files with 18 additions and 4 deletions
+4
View File
@@ -907,6 +907,10 @@ switch_status_t config_sofia(int reload, char *profile_name)
if (switch_true(val)) {
profile->pflags |= PFLAG_MULTIREG;
}
} else if (!strcasecmp(var, "supress-cng")) {
if (switch_true(val)) {
profile->pflags |= PFLAG_SUPRESS_CNG;
}
} else if (!strcasecmp(var, "NDLB-to-in-200-contact")) {
if (switch_true(val)) {
profile->ndlb |= PFLAG_NDLB_TO_IN_200_CONTACT;