From 44840fc97a46b9b7b71bead619715f7ff0de2608 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 2 May 2013 22:36:39 -0500 Subject: [PATCH] fix regression in sofia profile param for t38-passthru --- src/mod/endpoints/mod_sofia/mod_sofia.h | 1 - src/mod/endpoints/mod_sofia/sofia.c | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) 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)) {