Commit Graph

271 Commits

Author SHA1 Message Date
Steve Underwood 1b3710d5d0 This update brings the fax modem handling into line with the upstream code 2012-08-28 13:32:43 +08:00
Steve Underwood 11cc977391 More cleanups of fax modem stuff 2012-08-27 23:04:05 +08:00
Jeff Lenk 59e1d56cb5 spandsp windows build fix 2012-08-26 16:04:36 -05:00
Steve Underwood 2733e21cd5 More tweaks to spandsp 2012-08-27 00:41:19 +08:00
Steve Underwood e1be1639de Tweaks 2012-08-26 22:53:24 +08:00
Steve Underwood 0e4fb82ecf Tweaks 2012-08-26 22:18:26 +08:00
Steve Underwood acf7c40717 More tweaks 2012-08-26 22:07:01 +08:00
Steve Underwood 3b9dac029e Tweaks 2012-08-26 20:58:54 +08:00
Steve Underwood 124a0742d4 Tweaks 2012-08-26 20:45:49 +08:00
Steve Underwood fe5ac498f7 More tweaks 2012-08-26 20:39:33 +08:00
Steve Underwood dbec2dcbaf More tweaks 2012-08-26 20:28:48 +08:00
Steve Underwood 3b4aafe945 More tweaks 2012-08-26 20:24:20 +08:00
Steve Underwood e60d204a59 More tweaks 2012-08-26 20:11:39 +08:00
Steve Underwood 7f40c5fb41 More tweaks 2012-08-26 19:37:14 +08:00
Steve Underwood ac9656015a More fax modem tweaks 2012-08-26 19:30:42 +08:00
Steve Underwood 887c373c92 Tweaks 2012-08-26 18:12:44 +08:00
Steve Underwood 8cb975f345 Various fax_modems.c related improvements 2012-08-26 15:43:15 +08:00
Steve Underwood fa5569caac A line got deleted somewhere along the line. I didn't do it, honest.
Its them damn gremlins.
2012-08-21 20:09:59 +08:00
Steve Underwood e399c69765 Fixed a typo in the fixed point image translate code 2012-08-17 18:36:29 +08:00
Stefan Knoblich 431f7dd6bf spandsp: Fix libjpeg checks for --enable-builtin-tiff builds.
The --enable-builtin-tiff option appends libs/tiff-3.8.2/libtiff/libtiff.la
to LIBS, causing the AC_CHECK_LIB([jpeg]...) check to fail, because
libtiff.la does not exist at configure time.

Temporarily store tiff and jpeg libs in TIFF_-/JPEG_LIBS variables and
append them to LIBS after all library checks have run.

Example error output:
    configure:20049: checking for jpeg_start_compress in -ljpeg
    configure:20074: cc -o conftest -O2 -pipe -fno-strict-aliasing    -L/usr/local/lib conftest.c -ljpeg  -lm  /usr/home/ports/net/freeswitch-core-devel/work/freeswitch-1.2.1/libs/tiff-3.8.2/libtiff/libtiff.la >&5
    cc: /usr/home/ports/net/freeswitch-core-devel/work/freeswitch-1.2.1/libs/tiff-3.8.2/libtiff/libtiff.la: No such file or directory

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-08-15 12:52:28 +02:00
Steve Underwood e30406cea6 Improvements to image translation 2012-08-14 22:32:30 +08:00
Steve Underwood 5f12c3dc1c Improvements to T.4 end of image handling, and the related tests.
A lot of tiny tidy up edits
2012-08-12 22:11:06 +08:00
Steve Underwood e69a5a3037 Various little tweaks
A bug in end of image handling fixed, which could mean some T.85 images would
screw up.
2012-08-11 18:32:00 +08:00
Jeff Lenk 6e8736bb06 FS-4504 vs2008 pro still need express 2012-08-09 13:42:21 -05:00
Steve Underwood d3c89bae34 Fixed a misplaced #endif that only causes trouble when you hit the right
combination
2012-08-09 22:19:49 +08:00
Steve Underwood d1b45ae65b A couple of typos in spandsp
Improvements to image flattening in spandsp's image translate code
2012-08-09 21:58:22 +08:00
Jeff Lenk e9ce6ae0e9 FS-4504 vs2010 only - plus mod_sofia fix - anybody want to help with 2008 2012-08-08 21:18:06 -05:00
Steve Underwood 9a26b3a8a7 Fixed harmless typos in comments 2012-08-08 21:31:45 +08:00
Steve Underwood 42c5ab08d3 Image translate moves forward a little, towards colour support 2012-08-08 21:26:06 +08:00
Steve Underwood bb96d091fc Tweaks 2012-08-08 21:16:38 +08:00
Steve Underwood 65ffaa8ca9 Someone's been doing something odd to t30.h :-\ 2012-08-08 19:46:31 +08:00
SwK 3818cae3e6 Work around for compiler issues on centos 2012-08-07 14:46:23 -04:00
Steve Underwood a117fd8fa3 Avoid quirky complaints about using the top bit of an integer as an enum 2012-08-07 23:06:17 +08:00
Steve Underwood 3ae2bdf4aa Improvements to dithering down colour and gray scale images to bi-level
images, for images with different illuminants.
2012-08-07 22:34:32 +08:00
Steve Underwood 04e93f4c0b Fix fixed point builds of spandsp, and improve logging of modem performance during tests 2012-08-05 22:20:39 +08:00
Steve Underwood 72566f6a3f Fixed V.22bis fixed point builds 2012-08-05 18:39:41 +08:00
Steve Underwood f088d971f3 Sorted out fixed point builds of the V.22bis modem 2012-08-05 18:38:47 +08:00
Jeff Lenk d1c3f910a6 windows -fix build for recent spandsp changes 2012-08-03 16:46:48 -05:00
Steve Underwood e523076274 FAX T.6 decompression fixed for images with black in the last pixel of lines.
Colour and grey images can down be dithered down to bi-level images for transmission as faxes.
More movement towards T.42 support
2012-08-04 03:45:09 +08:00
Steve Underwood e35221b981 Fixed the way T.85/T.85-L0 selection is handled when decoding DCS messages 2012-08-03 20:26:30 +08:00
Jeff Lenk b2e28d68b5 fix windows build for last spandsp changes - trivial 2012-07-21 10:18:27 -05:00
Steve Underwood be6739e198 Updates to spands test data 2012-07-21 21:46:07 +08:00
Steve Underwood fd8c576c66 Some tidying of the V.17 modem. Brought the modem test programs up to date 2012-07-21 21:17:11 +08:00
Steve Underwood e58b2e7d97 Some modem cleanups, and movement towards efficient fixed point modem
implementations for platforms with slow floating point
2012-07-21 19:47:45 +08:00
Steve Underwood e9b4a497cc Tweaks 2012-07-21 07:18:27 +08:00
Steve Underwood b5f7443524 Started introducing T.42 JPEG support for FAXing, but its not plumbed into the
FAX engine yet.
2012-07-21 04:05:40 +08:00
Steve Underwood 12aec908bb Various tweaks to spandsp. Cleaned up a few MSVC issues with spandsp 2012-07-18 21:46:58 +08:00
Jeff Lenk d2b940d9fc fix windows spandsp build for recent commits 2012-07-15 11:01:17 -05:00
Steve Underwood 4bcdafec68 T.85 compression has now been added to the FAX engine in spandsp 2012-07-15 13:37:39 +08:00
Steve Underwood 232fe67722 More integration with the current spandsp 2012-07-15 01:47:55 +08:00
Steve Underwood 5d7e26141f Introducing T.85 encode and decodei to spandsp. This is not connected into the FAX engine in this update. 2012-07-14 23:59:01 +08:00
Steve Underwood 287678bc56 Tweaks to spandsp tests
Addition of tones to modem connect tones
Repeat function for V.18 TDD
2012-07-14 23:34:40 +08:00
Steve Underwood 4a200ce3a0 More tweaks for spandsp. 2012-07-04 23:57:30 +08:00
Steve Underwood 2b75169c07 A lot of tweaks to clean up some inconsistencies in spandsp. They should
have no functional effect.
2012-07-04 22:51:46 +08:00
Michael Jerris 6068534c8e add to make sure config dir is there for AC_CONFIG_AUX_DIR 2012-07-02 17:46:21 -04:00
Anthony Minessale b2df2ee1d7 FS-4376 --resolve update and repeat 'make spandsp-reconf' 2012-07-02 14:24:23 -05:00
Jeff Lenk 7f41862156 build fix for recent spandsp commit - windows 2012-07-02 09:04:15 -05:00
Steve Underwood 5c259f26d2 Various little tweaks to spandsp to stop warnings with newer compilers
Various little tweaks to spandsp to bring it into line with the master versions
Addition of Ademco Contact ID protocol processing to spandsp
2012-07-02 21:31:04 +08:00
Steve Underwood 13fbaf7e0f Tweaks for spandsp 2012-03-29 23:33:11 +08:00
Steve Underwood 7b9e4ff674 Various updates to spandsp tests
spandsp logging now passes an opaque pointer to the logging routine, to
increase flexibility. Right now the pointer is set to NULL in all calls.
2012-03-28 23:36:30 +08:00
Steve Underwood c1203b5863 Tweak spandsp tests 2012-03-28 21:45:20 +08:00
Steve Underwood 3e2bea0f1c Lots of little improvements to the spandsp test suite 2012-03-28 21:43:13 +08:00
Christopher Rienzo fdaa155b99 Lower super_tone_rx DETECTION_THRESHOLD by a factor of 128 2012-02-10 13:17:54 +00:00
Steve Underwood 8b3dd5cc1c Fixed issue where junk T.38 received after a FAX exchange is totally completed
s not simply ignored.
2012-02-04 20:33:06 +08:00
Steve Underwood 80d5c5aa53 Some tweaks to the V.22bis modem, so it builds OK in a fixed point build 2011-12-14 23:18:24 +08:00
Steve Underwood 1868e14520 Make sure the received DTMF duration is initialsed at the beginning, and if the realtime calllback is set or altered during operation of the detector. 2011-12-09 00:19:01 +08:00
Anthony Minessale 6973fbfa6d force rebuild 2011-12-06 17:56:11 -06:00
Anthony Minessale 5f57f43a8c comment out unused variable to satisfy build when compiling under core CFLAGS with warnings as errors 2011-12-06 17:55:11 -06:00
Jeff Lenk 4e5560a980 small correction for windows build of spandsp 2011-12-06 11:30:30 -06:00
Steve Underwood 7bee037efd Reverted a bad change to v42_stop() 2011-12-07 00:27:05 +08:00
Steve Underwood 70c1c03c93 Addition of logging capability to the DTMF detector in spandsp, to aid debugging
poor detection.
Fixes to how timezones are handled for FAX page headers.
Various cleanups of the spandsp headers.
2011-12-06 22:45:24 +08:00
Steve Underwood 32f70174f5 Tweaks to spandsp tests 2011-12-06 01:00:22 +08:00
Steve Underwood 62f21d8d57 Some tweaks to spandsp tests 2011-12-06 00:44:47 +08:00
Steve Underwood 4c0bc25864 4 RCPs were being sent in ECM mode, instead of the specified 3. 2011-11-19 00:43:00 +08:00
Steve Underwood ffac6a00e8 Fixed a typo in setting the V.27ter bit rate for T.38 gateway 2011-07-16 00:34:42 +08:00
Jeff Lenk f909beb13c fix windows build 2011-07-02 15:37:55 -05:00
Steve Underwood 3cee0589e5 Introducing fixed point math functions 2011-07-02 22:04:29 +08:00
Steve Underwood 4a7bbf4ec6 Another round of tweaks for spandsp. There should be no functional changes,
although quite a few things have changed in the test suite
2011-07-02 21:16:52 +08:00
Steve Underwood d30e82e226 Numerous little changes to spandsp that haven't been pushed to Freeswitch for a
while. The only big changes are a majorly rewritten V.42 and V.42bis which are
now basically functional.
2011-07-02 14:45:27 +08:00
Anthony Minessale 789a9ce8d1 FS-3213 --resolve 2011-05-04 10:03:45 -05:00
Steve Underwood c890fbfa2e Changed T.38 terminal handling, so errors from the user's packet transmit routine properly filter up the chain, cause termination of the FAX session, and are reported to the caller. 2011-05-04 20:49:21 +08:00
Anthony Minessale 73279f01bf FS-3166 --resolve 2011-04-22 16:43:29 -05:00
Steve Underwood c6f6732231 Fixed a vulnerability in T.4 and T.6 processing which is similar to
http://bugzilla.maptools.org/show_bug.cgi?id=2297
in libtiff. A really screwed up 2D T.4 image, or a maliciously
constructed T.4 2D or T.6 image should potential run off the end
of an image decoder buffer.
2011-03-16 23:31:43 +08:00
Steve Underwood 5316bcd9dc Typo in the spandsp .pc.in file fixed 2011-01-22 13:36:16 +08:00
Steve Underwood ec57dc7ab7 Added missing error codes when an ECM FAX is abandoned with the T30_ERR message 2011-01-02 19:30:00 +08:00
Anthony Minessale 19d1385714 temp tiff hack (make spandsp-reconf) 2010-12-10 17:58:24 -06:00
Jeff Lenk 761cec8fb1 FS-2766 spandsp t38 fax receiving error in win XP - regression from f029f7ef 2010-10-07 08:25:41 -05:00
Michael Jerris e2b85e946a FS-287: fix bsd shell incompatibility 2010-10-03 05:02:58 -04:00
Steve Underwood 77671c049b I messed up the last spandsp update, by missing 2 header files. This should
fix things.
2010-09-09 08:25:18 +08:00
Anthony Minessale f3c6512ca0 fix build by guessing types of missing values -feeling lucky 2010-09-08 12:59:40 -05:00
Steve Underwood 84ee0ae61b Fix for T.30 processing of operator interrupts, to improve compatibility
with some machines, which seem to send them when no operator is around.

Fix for T.38 gateway not kicking off or ending transmission under certain
timing conditions.
2010-09-09 00:16:18 +08:00
Jeff Lenk 1977aa8684 VS2010 add missing project filters 2010-08-19 10:38:54 -05:00
Jeff Lenk 411b0cac36 FSBUILD-293 2010 2010-07-26 08:59:30 -05:00
Jeff Lenk d70cc852f7 FSBUILD-293 Fix Windows build after libspandsp update 2010-07-26 08:29:44 -05:00
cypromis f6496b4f31 small fix for Solaris in spandsp. Needs recheck by Steve I guess. 2010-07-26 10:40:47 +02:00
cypromis a763fd434a more windows endings ..... 2010-07-25 09:57:54 +02:00
cypromis a5a6d6a623 got rid of crlf windows endings on timezone.c 2010-07-24 23:07:27 +02:00
cypromis 17a0f62812 got rid of windows endings in timezone.h 2010-07-24 23:04:37 +02:00
Steve Underwood d1937dfdef Removed some obsolete files from spandsp 2010-07-25 03:57:54 +08:00
Steve Underwood ccbee25641 Added some new files for spandsp 2010-07-25 03:43:53 +08:00