114 Commits

Author SHA1 Message Date
Mike Jerris
417b1d2a9a FS-10036: fix include 2017-03-15 13:33:03 -05:00
Mike Jerris
20bcb2edef FS-10036: update cJSON code to pre 1.4.0 release of cJSON. this includes backports of all our fixes, and our build macros for windows and visibility. It also makes it easy to drop in a new version, and to in the future be able to switch to a system version of cJSON easily (after all these updates are in, probably around v2.0 timeframe. Note this new version adds a lot of extra error checking, fixes some buffer overruns, and improves parser and printer performance 2017-02-27 18:53:23 -06:00
Anthony Minessale
9dba32410f FS-10015: [freeswitch-core] Add variable to allow firing of text events #resolve 2017-02-06 16:37:59 -06:00
Anthony Minessale
c409499cd9 FS-9576 #resolve [Add Realtime Text] 2016-09-27 16:40:43 -05: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
Jeff Lenk
a607c20a94 windows fix for a0e9ddf58943171a9031159919e99ef20147a11e 2014-06-08 16:06:32 -05:00
Travis Cross
a0e9ddf589 Convert esl_true and esl_false to functions
Prior to this commit, an expression such as:

  esl_true("true") ? 42 : 0

...would return 1 rather than 42.
2014-06-04 12:00:31 +00: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
Travis Cross
c6acddf928 Fix typo in comment 2014-04-08 23:17:12 +00:00
James Le Cuirot
8574988c3a Completely unbundle libedit
FS-353

Signed-off-by: Travis Cross <tc@traviscross.com>
2014-03-24 12:39:59 +00:00
Seven Du
11dee76381 add user_data in esl_listen so the main function can pass a private user_data to callback 2014-02-16 08:14:44 +08:00
Ken Rice
6e7d5d0897 update copyright header for 2014 2014-02-12 12:08:56 -06:00
Steve Underwood
ac2bf8a405 Fixed a file permission in the ESL library 2013-12-08 01:39:00 +08:00
Anthony Minessale
c469e7ada2 cleanup ESL a little 2013-11-14 00:43:25 +05:00
Anthony Minessale
a036125bc4 update cc header 2013-09-18 05:20:56 +05:00
Anthony Minessale
73646cbaa8 FS-5737 reapply 2013-08-29 22:21:10 +05:00
Anthony Minessale
2e2e4caa45 FS-5737 revert 2013-08-29 22:20:00 +05:00
Anthony Minessale
0d26dbb318 FS-5737 --resolve 2013-08-29 21:03:01 +05:00
Anthony Minessale
c14d9c436e FS-5575 --resolve 2013-07-12 14:43:18 -05:00
Nathan Neulinger
32adc789f6 make noexpandtab explicit in all vim modelines other than xml files 2013-06-25 11:50:17 -05:00
Anthony Minessale
4240526ce3 add some device-state mechinism to FS to allow tracking of device-specific states where they may have more than one call from the same device 2013-06-05 11:20:11 -05:00
Travis Cross
6d5018007b Add missing text editor local variable blocks 2013-05-25 19:05:34 +00:00
Ken Rice
3c249b012e FS-4003 --resolve add IPv6 support to ESL client library, thanks to Steven Ayre 2012-11-01 22:39:16 +00:00
Anthony Minessale
5b0115676c add void to declarations 2012-09-27 09:19:51 -05:00
Robert Jongbloed
cf0f483aab Assuming, just because it is MSVC, that the standard integers are not defined, is not correct. Need to test for define _STDINT as well as later versions of MSVC (>= VS2010) do have stdint.h 2012-09-27 10:16:14 +10:00
Anthony Minessale
03c981bf72 add smaller banner for teeny tiny terminals 2012-09-24 14:59:09 -05:00
Michael Jerris
4ff9b2f102 revert fb2ffbafe29beaf5c2b148e0131307e8569886ef 2012-09-24 15:38:06 -04:00
Travis Cross
fb2ffbafe2 Add configure flags to moderate the ClueCon nags
The default remains the same: we show the huge ClueCon nag banner on
startup and in fs_cli.

However, if you pass --disable-huge-cluecon-nag, no banner will be
shown.

If you pass --enable-modest-cluecon-nag, a modest text-based ClueCon
reminder will be shown instead.
2012-09-23 07:49:26 +00:00
Anthony Minessale
5a956890af update json lib in core and ESL and re-apply old patches 2012-09-13 12:54:31 -05:00
Anthony Minessale
f454b79b9b fix color coding to be OS appropriate 2012-08-16 13:04:33 -05:00
Anthony Minessale
2aebe2456f first pass on some new stuff 2012-07-11 15:15:50 -05:00
Anthony Minessale
27155bcb71 come to ClueCon its in one month 2012-07-10 12:05:26 -05:00
Anthony Minessale
163fffb3e8 fix issue with threaded ivrd, forking is back by default but threaded can be chosen with -t; in both modes the fd number is not passed as the first arg to the program but in threaded mode the stdin will no longer be mapped to the socket you will have to get the first command line arg instead of fileno stdin 2012-05-03 13:13:48 -05:00
Ken Rice
7a147e4762 Update a ton of copyright statements to make sure the dates are proper 2012-04-25 17:14:55 -05:00
Anthony Minessale
f7f9a43a40 use threading in testserver and ivrd 2011-12-14 12:16:09 -06:00
Jeff Lenk
34827a892c fix fs_cli for windows after recent changes - may need more work 2011-09-26 09:15:12 -05:00
Anthony Minessale
7333d46d5b add new chatplan concept and mod_sms. Apps for chat messages: copy new base freeswitch.xml and chatplan dir if you are upgrading on existing config base 2011-09-21 14:31:18 -05:00
Anthony Minessale
2ae688a33b add sendmsg function to esl 2011-09-06 14:53:38 -05:00
Anthony Minessale
ffa0a07198 add array manipulation to the wraper code 2011-05-26 12:18:18 -05:00
Anthony Minessale
c080fb15d9 update on array patch 2011-05-26 10:00:06 -05:00
Anthony Minessale
c1c759526d add arrays to event headers and chanvars 2011-05-25 15:42:36 -05:00
Anthony Minessale
ae595cd529 use poll instead of select in ESL client lib because select is not your friend.... 2011-03-26 10:59:55 -05:00
Anthony Minessale
bc397ab600 FS-2971 2011-02-25 10:55:47 -06:00
Anthony Minessale
e96acac3c8 add optional job-uuid param to bgapi in oop mod 2011-02-24 17:48:51 -06:00
Anthony Minessale
526436fd1f doh 2010-12-16 11:58:18 -06:00
Anthony Minessale
2081bf97b9 use a packet buffer for ESL 2010-12-16 11:33:38 -06:00
Mathieu Rene
90da341a70 fix git screwup 2010-07-20 17:18:43 -04:00
Mathieu Rene
644a144e19 Add esl_connect_timeout to specify custom connection timeouts 2010-07-20 15:33:46 -05:00
Mathieu Rene
49d6c803d1 use uint32_t instead of long for timeout as in the rest of the lib, 0 means forever. Also added esl_send_recv_timed() 2010-07-20 16:24:50 -04:00
Mathieu Rene
12a0ec741b Add esl_connect_timeout to specify custom connection timeouts 2010-07-20 14:45:53 -04:00