Anthony Minessale
d3e320ef56
FS-11346: [core] add api to pass pre-parsed values instead of dial strings to switch_ivr_originate
...
SWITCH_DECLARE(switch_status_t) switch_dial_handle_create(switch_dial_handle_t **handle);
SWITCH_DECLARE(void) switch_dial_handle_destroy(switch_dial_handle_t **handle);
SWITCH_DECLARE(void) switch_dial_handle_add_leg_list(switch_dial_handle_t *handle, switch_dial_leg_list_t **leg_listP);
SWITCH_DECLARE(void) switch_dial_leg_list_add_leg(switch_dial_leg_list_t *parent, const char *dial_string, switch_dial_leg_t **legP);
SWITCH_DECLARE(void) switch_dial_handle_add_global_var(switch_dial_handle_t *handle, const char *var, const char *val);
SWITCH_DECLARE(void) switch_dial_handle_add_global_var_printf(switch_dial_handle_t *handle, const char *var, const char *fmt, ...);
SWITCH_DECLARE(switch_status_t) switch_dial_handle_add_leg_var(switch_dial_leg_t *leg, const char *var, const char *val);
SWITCH_DECLARE(switch_status_t) switch_dial_handle_add_leg_var_printf(switch_dial_leg_t *leg, const char *var, const char *fmt, ...);
SWITCH_DECLARE(int) switch_dial_handle_get_peers(switch_dial_handle_t *handle, int idx, char **array, int max);
SWITCH_DECLARE(int) switch_dial_handle_get_vars(switch_dial_handle_t *handle, int idx, switch_event_t **array, int max);
SWITCH_DECLARE(switch_event_t *) switch_dial_handle_get_global_vars(switch_dial_handle_t *handle);
SWITCH_DECLARE(switch_event_t *) switch_dial_leg_get_vars(switch_dial_leg_t *leg);
SWITCH_DECLARE(int) switch_dial_handle_get_total(switch_dial_handle_t *handle);
SWITCH_DECLARE(void) switch_ivr_orig_and_bridge(switch_core_session_t *session, const char *data, switch_dial_handle_t *dh);
add switch_dial_handle_t *dh to end of args for switch_ivr_originate
2018-08-22 18:20:13 +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
Mike Jerris
bf59e825bd
FS-11047: [build] support v8 6.6 fixes from Andrey Volk
2018-07-24 07:21:52 +00:00
Mike Jerris
b8b4517843
Revert "FS-11048: [build] support v8 6.6 fixes from Andrey Volk"
...
This reverts commit 27389f29377f84a4bee2625053cba64255980409.
2018-07-24 07:21:52 +00:00
Mike Jerris
54c2bbeda8
FS-11047: [build] support v8 6.6 fixes from Andrey Volk
2018-07-24 07:21:52 +00:00
Mike Jerris
524ad35933
FS-11047: add mod_v8 back to build
2018-07-24 07:21:51 +00:00
Andrey Volk
561d187085
FS-11125: [Build-System] Remove unused files left from previous Visual Studio version.
2018-07-24 07:21:51 +00:00
Andrey Volk
c31e7062b7
FS-11085: [Build-System] Update curl to 7.59.0 and move to pre-compiled binaries on Windows.
2018-07-24 07:21:46 +00:00
Andrey Volk
24ef5b2762
FS-11065: [Build-System, mod_v8] Update libv8 to 6.1.298 on windows, speedup windows build by moving libv8 to pre-compiled binaries.
2018-07-24 07:21:42 +00:00
Marc Olivier Chouinard
3d9365edbb
FS-10496: [mod_v8] Fixing regression from FS-10496 when no settings exist in v8.conf.
2018-01-28 10:18:58 -05:00
Andrey Volk
c1280938bf
FS-10496: [mod_v8] Speedup JavaScript. Enabling Code Caching.
2017-12-05 14:25:13 +03:00
Andrey Volk
db3e6ec32f
FS-10789: [mod_v8] v8 segs on invalid instruction
2017-12-05 13:56:40 +03:00
Andrey Volk
bf101a5f0b
FS-10525: [Build-System] Update curl to 7.54.1 for windows, move to props.
2017-07-21 01:21:34 +03:00
Andrey Volk
28913d2764
FS-10488: [mod_v8] Fix memory leak.
2017-07-11 21:34:45 +03:00
Andrey Volk
105afc3f29
FS-10465: [mod_v8] Fix javascript failures when a session callback is called from another thread/leg.
2017-07-03 23:01:59 +03:00
Andrey Volk
cd79ae19ad
FS-10464 [mod_v8] Fix broken classes after switching to new libv8 #resolve
2017-07-03 18:16:54 +03:00
Mike Jerris
c7de29c16d
FS-10455: [build, mod_v8] new build system for libv8 and upgrade libv8
2017-06-30 16:34:21 -04:00
Andrey Volk
ba32e0e23d
FS-10435 [mod_v8] Update mod_v8 to support future v8 engine version change
2017-06-29 01:05:19 +03:00
Mike Jerris
95c7fb0155
Merge pull request #1221 in FS/freeswitch from ~NBLASGEN/freeswitch:feature/FS-10084-mod_v8-block-for-event to master
...
* commit 'd9c6ebc8031ef665f0332b3832030d8cb95b61b7':
FS-10084 [mod_v8] Fixed incorrect variable name
FS-10084 [mod_v8] If the value passed is negative, block until event is received
2017-06-06 18:40:58 +00:00
Nicholas Blasgen
d9c6ebc803
FS-10084 [mod_v8] Fixed incorrect variable name
2017-04-01 05:29:21 +00:00
Nicholas Blasgen
fabe27abde
FS-10128 [mod_v8] This commit removes strlen() in favor of binary safe .length() function
2017-03-16 01:15:10 +00:00
Nicholas Blasgen
2fe107aca9
FS-10084 [mod_v8] If the value passed is negative, block until event is received
2017-03-12 18:20:11 +00:00
Mike Jerris
be245edf5e
FS-10060: fix scope of declarations
2017-02-24 11:11:30 -06:00
Andrey Volk
658b1f85f5
FS-10060 [mod_v8] Add startup scripts support.
2017-02-22 18:18:08 +03:00
Sergey Safarov
df1ab07ca4
FS-9924: Removed extra space in source files
2017-02-09 23:59:49 -05:00
Mike Jerris
a3ee7595bb
FS-10025: fix global symbol scope issue causing modules to use another modules global pointer
2017-02-09 17:23:30 -06:00
Andrey Volk
7e6ba429e7
FS-9928 [mod_v8] Implement Event Hooks in JavaScript
2017-01-06 21:57:20 +03:00
Andrey Volk
a3a8d7e6b3
FS-9896 [mod_v8] Implement Serving Configuration with JavaScript
2016-12-29 03:58:22 +03:00
Andrey Volk
3f3cd7343b
FS-7933 [mod_v8] Implement timeout property for Socket() class in javascript.
2016-12-27 04:18:14 +03:00
Brian West
2af53f5a30
Merge pull request #1080 in FS/freeswitch from ~MOCHOUINARD/freeswitch:FS-9788 to master
...
* commit '347c93f1c1360d7f03d337d4b428cd24ad6d7b16':
FS-9788: Add close() option to FileIO implementation
2016-12-04 06:53:51 -06:00
Andrey Volk
fff5b939b5
FS-9798 [mod_v8] Implement native PostgreSQL in JavaScript by adding a Database Handler (DBH) class
2016-12-01 15:45:18 +03:00
Marc Olivier Chouinard
347c93f1c1
FS-9788: Add close() option to FileIO implementation
2016-11-30 14:28:39 -05:00
Andrey Volk
36ffb29298
FS-9256: mod_v8: Add DB.Finalize() in order to close statements.
2016-06-13 12:25:22 +03:00
Anthony Minessale
550029b80e
FS-8811 #resolve [FS 1.7 crashes intermittently]
2016-03-04 16:56:55 -06:00
Saumar Hajjar
3aa051e1a1
FS-7673: ODBC NULL value incorrectly evaluated in mod_v8
2015-09-21 23:36:42 -03: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
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
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
7c294f242f
FS-7504: allow <modname>.<codecname> support so multiple modules can exist for the same codec
2015-05-28 12:47:13 -05:00
Travis Cross
0cc7bc8db6
Add missing CURLOPT_NOSIGNAL options
...
To work correctly in a multi-threaded environment, curl needs to be
used with CURLOPT_NOSIGNAL set to 1. If it's left at zero, the
default, then curl will use signals to deal with timeouts which will
often result in a crash.
ref: http://curl.haxx.se/libcurl/c/libcurl-tutorial.html#Multi-threading
ref: http://curl.haxx.se/libcurl/c/CURLOPT_NOSIGNAL.html
ref: http://stackoverflow.com/questions/9191668/error-longjmp-causes-uninitialized-stack-frame
ref: https://bugzilla.redhat.com/show_bug.cgi?id=539809
ref: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=570436
2014-09-23 00:04:21 +00:00
Anthony Minessale
928a989de1
first pass of stereo support
2014-06-12 22:06:33 +05: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
Anthony Minessale
369bb55d15
remove unnecessary pool create
2014-04-09 03:18:21 +05:00
Anthony Minessale
7151d6acea
FS-6402 part 2
2014-04-02 03:21:37 +05:00
Anthony Minessale
5c0cff70b3
FS-6402 --resolve
2014-04-02 01:20:19 +05:00
Peter Olsson
c8fa0f0c4b
mod_v8: Use parallel build by default. Use configure flag "--disable-parallel-build-v8" to disable it. It's disabled by default for Debian build scripts, since parallel build has some issues with cowbuilder.
2014-03-23 09:25:41 +01:00
Peter Olsson
742e28e1c5
FS-6395
2014-03-22 12:56:46 +01:00
Peter Olsson
8be3ca59e2
FS-6395
2014-03-22 11:55:04 +01:00