From: Anthony Minessale Date: Fri, 3 May 2013 03:36:39 +0000 (-0500) Subject: fix regression in sofia profile param for t38-passthru X-Git-Tag: v1.5.1~131 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=44840fc97a46b9b7b71bead619715f7ff0de2608;p=thirdparty%2Ffreeswitch.git fix regression in sofia profile param for t38-passthru --- 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)) {