diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.h b/src/mod/endpoints/mod_sofia/mod_sofia.h index 55577256fe..4e260ad8b5 100644 --- a/src/mod/endpoints/mod_sofia/mod_sofia.h +++ b/src/mod/endpoints/mod_sofia/mod_sofia.h @@ -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, diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index e94d1a5a10..c5d192b35a 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -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)) {