250 Commits

Author SHA1 Message Date
Alexander Traud
5aaf2eb3df
[mod_spandsp] Fix two white-space errors
Seven years ago, commit eee96c6 introduced two white-space errors. The
compiler Clang 10 errors: misleading indentation; statement is not
part of the previous 'if'. Now, Clang compiles successfully.
2020-09-27 11:45:17 +02:00
Sebastian Kemper
61368b24c1 [mod_spandsp] Fix typo
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-08-19 22:25:01 +02:00
Andrey Volk
231d5e6494 [Build-System] Remove SpanDSP library from the FreeSWITCH tree and use packages instead. 2020-08-04 19:15:28 -04:00
Andrey Volk
0275ea1eb4 [Build-System] Use $(DefaultPlatformToolset) so it's easier to build using newer Microsoft Visual Studio versions. 2020-05-25 14:18:25 +04:00
Andrey Volk
d45e9df883 FS-12025: [mod_spandsp] FreeSWITCH crashes on reloadxml when spandsp tone detection is running. 2019-08-30 02:20:18 +04:00
Dragos Oancea
9485b1465b FS-11926: rename chan var to 'execute_on_fax_close_detect' to prevent it collide with 'execute_on_fax_detect'
(switch_channel_execute_on() would have run them both)
2019-07-18 00:57:34 +04:00
Dragos Oancea
216d84146e FS-11926: [mod_spandsp] execute_on_fax_detect_close 2019-07-18 00:57:27 +04:00
Chris Rienzo
8ac4ddd5bb FS-11785 [mod_spandsp] fix dead assignments 2019-07-17 21:49:23 +04:00
Andrey Volk
c952a025dd FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for mod_spandsp 2019-07-15 23:47:05 +04:00
Mike Jerris
93db053bac Merge pull request #1475 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-10969 to master
* commit '834132d1283570ec6a9cca9288a1dc82db7b1305':
  FS-10969 [mod_spandsp] increase tone limit to 128
2019-02-19 15:39:08 +00:00
lazedo
280b7d9f02 [FS-11606] [mod_spandsp] add fax T38 mode to variables & logs 2019-01-15 23:16:45 +00:00
Hunyadvári Péter
434baefcd0 FS-10827 [mod_spandsp] Make thread safe and xmlreload do not affect already started detection 2018-09-05 22:48:21 +00:00
Andrey Volk
671da28796 FS-11263: [Build-System] Move FreeSWITCH build system to Visual Studio 2017 on Windows. 2018-07-24 07:21:55 +00:00
lazedo
834132d128 FS-10969 [mod_spandsp] increase tone limit to 128 2018-02-20 18:01:14 +00:00
Andrey Volk
2c822ed4e6 FS-10377 [mod_spandsp] Add fax-document-total-pages to spandsp::txfaxnegociateresult and spandsp::txfaxpageresult events 2017-06-07 23:55:12 +03:00
Andrey Volk
62f48cafe7 FS-10074 [libtiff] Update to tiff-4.0.7, move from codebase to download 2017-03-16 20:12:30 +03:00
Mike Jerris
34c48368dc FS-10074: [libtiff] stop using embedded libtiff. Build now requires system libtiff 2017-03-14 18:29:37 -05:00
Marc Olivier Chouinard
8fa52b5cf3 FS-10093: Add fax-spool variable to select the rxfax spool destination per call AND automaticly try to create the folder if it doesn't exist 2017-03-04 11:33:14 -05:00
Sergey Safarov
df1ab07ca4 FS-9924: Removed extra space in source files 2017-02-09 23:59:49 -05:00
Brian West
8b01c8cc1a FS-9981: [mod_spandsp] add api_on_fax_success api_on_fax_failure #resolve 2017-01-26 16:19:34 -06:00
Chris Rienzo
9c8d9cf120 FS-9959 [mod_spandsp] Add two new channel variables
fax_t38_tx_reinvite_packet_count - overrides t38-tx-reinvite-packet-count param in spandsp.conf
   fax_t38_rx_reinvite_packet_count - overrides t38-rx-reinvite-packet-count param in spandsp.conf
2017-01-19 14:50:51 -05:00
Anthony Minessale
5d3ff00368 FS-9929: [core,mod_spandsp] Assert in switch_frame_buffer_dup when receiving a fax using t.38 #resolve 2017-01-10 11:20:20 -06:00
Brian West
f54c7f9f34 FS-9855: [mod_spandsp] Refused T38 reinvite on b-leg breaks T38 negotiation on a-leg when using T38 gateway mode #resolve 2017-01-05 15:51:52 -06:00
Anthony Minessale
9b8a5edd3d FS-9638 2016-11-10 12:09:00 -06:00
Chris Rienzo
841e2025a8 FS-9287 Add channel variable to make spandsp_start_tone_detect easier to use from dialplan / embedded scripts.
The following variables are added:

execute_on_spandsp_tone_detect_<TONE NAME> : executes APP when tone is detected.  For example, if you have a tone
    named "SIT" defined in spandsp.conf.xml, the variable would be "execute_on_spandsp_tone_detect_SIT"

api_on_spandsp_tone_detect_<TONE NAME> : similar to execute_on except that it executes an API.

spandsp_tone_detect_stop_on_tone : default is false.  If true, detector will stop once the first matching tone is detected.
2016-06-21 09:48:55 -04:00
Corey Smith
28c23ab147 FS-8776 #resolve Support GNU make parallel builds
* Explicitly define dependency tree for several modules
* Enable parallel builds for libtiff and libspandsp
* Verify module is enabled before attempting build.  Allows
  the virtual targets to be used for ordering without forcing
  a build dependency.
2016-01-28 22:23:47 -05:00
Anthony Minessale
f8b19b7485 FS-8190 #resolve [When using nixevent, freeswitch stops sending us certain custom event that were NOT part of the nixevent command] 2015-09-21 18:00:32 -05:00
Mike Jerris
46c0d05216 FS-7966: fix more msvc 2015 build warnings. 2015-09-02 13:07:17 -04:00
Michael Jerris
164c6111a1 FS-7966: remove some older versions of msvc build system as these will no longer work soon, please use 2015 instead 2015-08-31 10:19:10 -05:00
Mike Jerris
288c62576f FS-7966: fix more warnings in msvc 2015 build 2015-08-28 17:42:55 -04:00
Michael Giagnocavo
5e456fe9a6 FS-7966. First pass at moving to Visual Studio 2015.
The new C compiler breaks a lot of things. snprintf and timespec now exist, and redefining causes an error.
Many more things are warnings, so warnings-as-errors will fail - remove it from some projects for now.
V8: don't pass VS version to build batch file.
mod_sofia: Config has too-long if/elseif chain. Break this up to avoid "parser stack overflow; program too complex".
Add mod_conference.h to project and dir to includes.
2015-08-21 18:28:32 -04:00
Anthony Minessale
bd31d60ee9 FS-7891 should be bytes not samples 2015-07-24 11:43:34 -05:00
Anthony Minessale
7898c60282 FS-7891 #resolve #comment Resample audio to 8k before feeding it to spandsp dtmf detector 2015-07-24 01:11:04 -05:00
Michael Giagnocavo
f116387443 FS-7644. Change 2013.vcxproj references to 2013 2015-06-18 04:17:53 -06:00
Jeff Lenk
345e50d25a FS-7644 2015-06-11 15:29:28 -05:00
Michael Jerris
2cc0348422 FS-7635: remove msvc 2005 2008 and 2010 non working build systems. There are now multiple more recent (3 different ones) and some free versions of the compiler that can be used. 2015-06-10 16:33:14 -04:00
Anthony Minessale
d697acb281 tabify
fix emacs tabs mode
2015-05-28 12:47:22 -05:00
Anthony Minessale
7c294f242f FS-7504: allow <modname>.<codecname> support so multiple modules can exist for the same codec 2015-05-28 12:47:13 -05:00
Steve Underwood
b156cbd604 A slightly mroe elegant an commented fix for the potential overflow issue in udptl.c 2015-05-12 12:00:04 +08:00
Michael Jerris
dbc550a26d FS-7184: add buffer overflow check in udptl_rx_packet 2015-05-11 19:46:27 -05:00
Anthony Minessale II
b448953fab Merge pull request #206 in FS/freeswitch from ~ARTURZ/freeswitch:FS-7306-fs_encode-sleep-cleanup to master
* commit '921f77668f39ee9a768c0515dba054f99cf0bd75':
  FS-7306: fs_encode is sleeping to much - cleanup
2015-03-06 11:31:56 -06:00
Anthony Minessale
5a96512345 FS-7305 #resolve 2015-03-06 16:44:53 -06:00
Artur Zaprzała
921f77668f FS-7306: fs_encode is sleeping to much - cleanup 2015-02-23 11:18:57 +01:00
Anthony Minessale
b66aa6af92 FS-7306 #comment fix both ways 2015-02-20 18:10:01 -06:00
Anthony Minessale
f4aaeedb0c FS-7306 #resolve 2015-02-19 23:06:41 -06:00
Brian West
9fe512805b FS-7301 #comment set the tx-reinvite-packet-count to 400, seems we are too fast for the remote in this case which is causing your failure #resolve 2015-02-19 14:43:58 -06:00
Brian West
b2c6d70cc8 FS-7208 #comment _undef_ as the header and/or ident will make it be an empty string which is the same you were doing on your local builds #resolve 2015-01-29 08:25:01 -06:00
Chris Rienzo
0e9e8a9bd6 Renaming mod_spandsp's cadence + tone detection APPs and APIs (start_tone_detect / stop_tone_detect) to
spandsp_start_tone_detect and spandsp_stop_tone_detect to resolve conflict with mod_dptools'
tone_detect/stop_tone_detect APPs.
2014-11-06 14:46:56 -05:00
Giovanni Maruzzelli
5c15e85ce4 mod_spandsp: added SWITCH_CURRENT_APPLICATION_RESPONSE_VARIABLE on application errors 2014-09-03 15:52:50 +02:00
Mike Jerris
68a8bb7fff Merge pull request #9 in FS/freeswitch from ~PFOURNIER/freeswitch:feature/fax_enable_tep to master
* commit '0fb179acf2246b896f1a66cfb96da68e9d2675f7':
  Add new option to request TEP to be used for an outbound fax call
2014-07-09 11:54:16 -05:00