232 Commits

Author SHA1 Message Date
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
Patrice Fournier
0fb179acf2 Add new option to request TEP to be used for an outbound fax call 2014-07-08 01:06:32 -04:00
Patrice Fournier
5d31c9b9fe It was impossible to disable ECM with T.38 in gateway mode 2014-07-08 01:05:28 -04:00
Steve Underwood
38abcf7e2c The APIs for spandsp FAX have changes, removing one of the parameters passed in
the callbacks.
2014-05-04 17:22:28 +08:00
Natanael Copa
317f4b1442 Fix building with musl libc
POSIX says poll.h and signal.h should not be prefixed with sys/ (ie
poll.h instead of sys/poll.h)

limits.h also defines a TZNAME_MAX so we change name of the define for
spandsp.
2014-05-02 11:20:36 -04:00
Anthony Minessale
4178688b4a add switch_hashtable_insert_destructor so you can insert a pointer into a hash with a custom destructor and use it in spandsp to fix a leak on reloadxml with the tone_descriptor tables and fix a bunch of random tiny leaks etc 2014-04-09 23:26:47 +05:00
Michael Jerris
0cc3a17072 FS-6408: fix passing of CPPFLAGS to spandsp build 2014-04-01 13:28:22 -04:00
Brian West
c9757f72a5 FS-6292 additional define to avoid on NetBSD, If someone wants to get this workign please submit patches 2014-03-19 03:35:47 -05:00
Brian West
95392955b6 FS-6375 fix -lutil as its not needed 2014-03-18 17:54:56 -05:00
Brian West
aeebd712f8 FS-6375 exclude sun from modem support in spandsp 2014-03-18 17:37:04 -05:00
Michael Jerris
bf4339712a FS-6293: fix spandsp srcdir builds when user is setting cflags 2014-03-18 14:20:40 -04:00
Michael Jerris
4ee5d1f617 FS-6293: srcdir builds, pass along CFLAGS to spandsp lib build as well, not just override them 2014-03-15 22:14:11 -04:00
Michael Jerris
048ce8d1f3 FS-6293: srcdir builds, most of the built in mods work now 2014-03-14 23:13:34 -04:00
Anthony Minessale
804ef7709d change from sqlite hash to newly added one 2014-03-09 00:37:17 +05:00
Brian West
d7794af38b DragonFly is very similar to OpenBSD with a dash of NetBSD 2014-02-23 20:43:21 -06:00
Michael Jerris
2907a4824f disable modem functionality on openbsd 2014-02-21 15:48:51 -05:00
Ken Rice
6e7d5d0897 update copyright header for 2014 2014-02-12 12:08:56 -06:00
Peter Olsson
5a820fdc78 Disabled some compiler warnings on Windows build (for Visual Studio 2012), also disabled code analysis one some projects. This should make the Windows build more clean in the future. 2014-01-22 22:47:11 +01:00
Peter Olsson
084e245085 Lots of trivial tweaks to minimize compiler warnings, especially on 64-bit platform: Added missing type casts, changed types, added missing NULL checks. 2014-01-22 22:30:23 +01:00