]> 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:44 +0000 (10:02 +0500)
src/mod/applications/mod_spandsp/mod_spandsp_fax.c

index db9d8c1f2ace3bbfb80edbff31467e567ad57965..c76fda6637a2d1daeaa8df3628564ea9133d49a4 100644 (file)
@@ -1089,7 +1089,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 ||