fix regression in sofia profile param for t38-passthru

This commit is contained in:
Anthony Minessale 2013-05-02 22:36:39 -05:00
parent 33f08490ec
commit 44840fc97a
2 changed files with 2 additions and 3 deletions

View File

@ -243,7 +243,6 @@ typedef enum {
PFLAG_TRACK_CALLS,
PFLAG_DESTROY,
PFLAG_EXTENDED_INFO_PARSING,
PFLAG_T38_PASSTHRU,
PFLAG_CID_IN_1XX,
PFLAG_IN_DIALOG_CHAT,
PFLAG_DEL_SUBS_ON_REG_REUSE,

View File

@ -3807,9 +3807,9 @@ switch_status_t config_sofia(sofia_config_t reload, char *profile_name)
}
} else if (!strcasecmp(var, "t38-passthru")) {
if (switch_true(val)) {
sofia_set_pflag(profile, PFLAG_T38_PASSTHRU);
sofia_set_media_flag(profile, SCMF_T38_PASSTHRU);
} else {
sofia_clear_pflag(profile, PFLAG_T38_PASSTHRU);
sofia_clear_media_flag(profile, SCMF_T38_PASSTHRU);
}
} else if (!strcasecmp(var, "presence-disable-early")) {
if (switch_true(val)) {