]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-4819 --resolve we can match the one offered just for the sake of interop since...
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 12 Sep 2013 05:02:44 +0000 (10:02 +0500)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 12 Sep 2013 05:02:55 +0000 (10:02 +0500)
src/mod/applications/mod_spandsp/mod_spandsp_fax.c

index 06712bb6ff20bc47d8a225cf7919dc5c33ea5739..e16a57c5621422e4da60c9eb5a5dae078777f0a9 100644 (file)
@@ -1053,7 +1053,9 @@ static t38_mode_t negotiate_t38(pvt_t *pvt)
                t38_options->T38FaxTranscodingMMR = 0;
                t38_options->T38FaxTranscodingJBIG = 0;
                t38_options->T38FaxRateManagement = "transferredTCF";
-               t38_options->T38FaxMaxBuffer = 2000;
+        if (!t38_options->T38FaxMaxBuffer) {
+            t38_options->T38FaxMaxBuffer = 2000;
+        }
                t38_options->T38FaxMaxDatagram = LOCAL_FAX_MAX_DATAGRAM;
                if (!zstr(t38_options->T38FaxUdpEC) &&
                                (strcasecmp(t38_options->T38FaxUdpEC, "t38UDPRedundancy") == 0 ||