Made mod_spandsp default to enabling T.85 compression
This commit is contained in:
parent
1dbb05b690
commit
d5fda5ea76
|
@ -867,7 +867,7 @@ static switch_status_t spanfax_init(pvt_t *pvt, transport_mode_t trans_mode)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pvt->use_ecm) {
|
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);
|
t30_set_ecm_capability(t30, TRUE);
|
||||||
switch_channel_set_variable(channel, "fax_ecm_requested", "1");
|
switch_channel_set_variable(channel, "fax_ecm_requested", "1");
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue