mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-09 09:17:34 +00:00
MODAPP-457
This commit is contained in:
parent
184f395553
commit
3b04608c2e
@ -789,9 +789,9 @@ static t38_mode_t negotiate_t38(pvt_t *pvt)
|
|||||||
t38_options->T38FaxRateManagement = "transferredTCF";
|
t38_options->T38FaxRateManagement = "transferredTCF";
|
||||||
t38_options->T38FaxMaxBuffer = 2000;
|
t38_options->T38FaxMaxBuffer = 2000;
|
||||||
t38_options->T38FaxMaxDatagram = LOCAL_FAX_MAX_DATAGRAM;
|
t38_options->T38FaxMaxDatagram = LOCAL_FAX_MAX_DATAGRAM;
|
||||||
if (strcasecmp(t38_options->T38FaxUdpEC, "t38UDPRedundancy") == 0
|
if (!zstr(t38_options->T38FaxUdpEC) &&
|
||||||
||
|
(strcasecmp(t38_options->T38FaxUdpEC, "t38UDPRedundancy") == 0 ||
|
||||||
strcasecmp(t38_options->T38FaxUdpEC, "t38UDPFEC") == 0) {
|
strcasecmp(t38_options->T38FaxUdpEC, "t38UDPFEC") == 0)) {
|
||||||
t38_options->T38FaxUdpEC = "t38UDPRedundancy";
|
t38_options->T38FaxUdpEC = "t38UDPRedundancy";
|
||||||
} else {
|
} else {
|
||||||
t38_options->T38FaxUdpEC = NULL;
|
t38_options->T38FaxUdpEC = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user