MODAPP-457

This commit is contained in:
Anthony Minessale 2010-09-20 15:32:48 -05:00
parent 184f395553
commit 3b04608c2e

View File

@ -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;