]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix regression in sofia profile param for t38-passthru
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 3 May 2013 03:36:39 +0000 (22:36 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 3 May 2013 03:36:39 +0000 (22:36 -0500)
src/mod/endpoints/mod_sofia/mod_sofia.h
src/mod/endpoints/mod_sofia/sofia.c

index 55577256fea6601a5c244fc3a9c179b6d54d0fbe..4e260ad8b5549e6f808087e336011cbdf1a1e9df 100644 (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,
index e94d1a5a100e548c1b1b6949492c3db0cc2217c2..c5d192b35ae4625ad5515f623c7cf2dfea45d8f1 100644 (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)) {