disable 100rel by default. NOTE: Potentially breaking change, check your configs.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10354 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2008-11-12 13:02:44 +00:00
parent 6545d04bf7
commit 75b650fb43
1 changed files with 3 additions and 2 deletions

View File

@ -1422,6 +1422,7 @@ switch_status_t config_sofia(int reload, char *profile_name)
profile->mflags = MFLAG_REFER | MFLAG_REGISTER;
profile->rport_level = 1;
profile->pflags |= PFLAG_STUN_ENABLED;
profile->pflags |= PFLAG_DISABLE_100REL;
for (param = switch_xml_child(settings, "param"); param; param = param->next) {
char *var = (char *) switch_xml_attr_soft(param, "name");
@ -1705,8 +1706,8 @@ switch_status_t config_sofia(int reload, char *profile_name)
profile->minimum_session_expires = 90;
}
} else if (!strcasecmp(var, "enable-100rel")) {
if (!switch_true(val)) {
profile->pflags |= PFLAG_DISABLE_100REL;
if (switch_true(val)) {
profile->pflags &= ~PFLAG_DISABLE_100REL;
}
} else if (!strcasecmp(var, "bitpacking")) {
if (!strcasecmp(val, "aal2")) {