]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Made mod_spandsp default to enabling T.85 compression
authorSteve Underwood <steveu@coppice.org>
Thu, 19 Jul 2012 15:23:05 +0000 (23:23 +0800)
committerSteve Underwood <steveu@coppice.org>
Thu, 19 Jul 2012 15:23:05 +0000 (23:23 +0800)
src/mod/applications/mod_spandsp/mod_spandsp_fax.c

index c1d60895e2ec5bf2f16260a1eceb3abbd6b4c0ca..d5b80b6e093acb2e49267a19251500690a988757 100644 (file)
@@ -867,7 +867,7 @@ static switch_status_t spanfax_init(pvt_t *pvt, transport_mode_t trans_mode)
        }
 
        if (pvt->use_ecm) {
-               t30_set_supported_compressions(t30, T30_SUPPORT_T4_1D_COMPRESSION | T30_SUPPORT_T4_2D_COMPRESSION | T30_SUPPORT_T6_COMPRESSION);
+               t30_set_supported_compressions(t30, T30_SUPPORT_T4_1D_COMPRESSION | T30_SUPPORT_T4_2D_COMPRESSION | T30_SUPPORT_T6_COMPRESSION | T30_SUPPORT_T85_COMPRESSION | T30_SUPPORT_T85_L0_COMPRESSION);
                t30_set_ecm_capability(t30, TRUE);
                switch_channel_set_variable(channel, "fax_ecm_requested", "1");
        } else {