Commit Graph

1371 Commits

Author SHA1 Message Date
Aron Podrigal d3201c6335 FS-9741: lua expose db err str in freeeswitch.dbh
Added 2 methods to lua freeswitch.Dbh
`last_error()` Returns the error string from the last query or nil.
`clear_error()` clears the error string.
2016-11-21 21:11:03 +00:00
Brian West 092a9e8979 swigall 2016-11-11 17:31:44 -06:00
Anthony Minessale c6137874d5 swigall 2016-11-10 19:05:19 -06:00
Anthony Minessale 9b8a5edd3d FS-9638 2016-11-10 12:09:00 -06:00
Brian West 4e76630e08 swigall 2016-10-25 11:39:35 -05:00
Brian West f432761072 swigall 2016-10-21 11:28:54 -05:00
Brian West c8c0cd3857 swigall 2016-10-07 11:01:16 -05:00
Anthony Minessale 11d5fe23ce swig 2016-09-27 18:03:16 -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
Michael Jerris 9d7fe2430e swigall 2016-06-06 10:09:02 -05:00
Michael Jerris fbc4c6e325 FS-9082: [mod_java] coreectly reference the modules dir so mod_java can load what it needs when modules are not placed in prefix/mod directory 2016-04-19 13:47:47 -04:00
Michael Jerris e4add83915 swigall 2016-04-07 18:40:42 -05:00
Mike Jerris 6c63fd2ddd Merge pull request #748 in FS/freeswitch from ~RAVENOX/freeswitch:FS-8936 to master
* commit '73684796e6229836d7fae82ad114c3f163a087de':
  FS-8936 - Added swig typemap for "const char **" for fix invocation problems, reswig
2016-03-15 10:36:30 -05:00
Artur Kraev 73684796e6 FS-8936 - Added swig typemap for "const char **" for fix invocation problems, reswig 2016-03-14 23:36:33 +03:00
Michael Giagnocavo c96d0098cc FS-8932 - Add in process loading via LoadEmbeddedPlugins 2016-03-13 18:29:03 -06:00
Brian West 56332c92c8 swigall 2016-03-09 19:11:16 -06:00
Anthony Minessale 550029b80e FS-8811 #resolve [FS 1.7 crashes intermittently] 2016-03-04 16:56:55 -06:00
Brian West f28babf358 swigall 2016-03-03 11:00:31 -06:00
Anthony Minessale 3658763cba swigall 2016-02-10 17:07:53 -06:00
Mark Lipscombe 4e9977507d FS-8537: Passing nil to various lua functions causes segfault
Various functions exposed via lua do not check their parameters for null
causing freeswitch to segfault.

This change adds checking for null parameters and returns an error
instead of segfaulting.
2015-11-15 10:43:09 +11:00
Saumar Hajjar 3aa051e1a1 FS-7673: ODBC NULL value incorrectly evaluated in mod_v8 2015-09-21 23:36:42 -03:00
Anthony Minessale 8a0366b999 FS-8130 running out of witty commit msgs 2015-09-21 14:08:38 -05:00
Michael Jerris 46ab943d06 swigall 2015-09-14 14:45:35 -05:00
Anthony Minessale eea76c8856 FS-8130
Port video buffer to also support audio and remove original STFU jitter buffer
Add some more resilience to video packet loss
Add codec control mechanism for both call-specific debug and codec/call specfic params
Make opus function better in packet loss and latent situations
Use new codec control prams to make JB lookahead FEC optionally enabled or disabled mid-call
Add Param to allow JB lookahead to be enabled.
2015-09-14 13:30:08 -05:00
Mike Jerris 49f5cede85 FS-7966: silence mod_lua build warnings in generated code 2015-09-02 15:55:01 -04:00
Michael Jerris dc80dbc8f3 FS-7966: don't manually edit generated source 2015-09-02 14:48:42 -05:00
Mike Jerris 46c0d05216 FS-7966: fix more msvc 2015 build warnings. 2015-09-02 13:07:17 -04:00
Mike Jerris d698492aaf Merge pull request #457 in FS/freeswitch from ~LEKENSTEYN/freeswitch:bugfix/FS-8099-lua-dialplan to master
* commit '7749a9f51d57266f42adc0cf25d8f885ebad382d':
  Restore LUA dialplan ACTIONS functionality
2015-08-31 17:06:48 -05:00
Michael Jerris a552997e7b FS-7966: fix mod_managed reference 2015-08-31 16:10:50 -05: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
Peter Wu 7749a9f51d Restore LUA dialplan ACTIONS functionality
Since using SWIG 2.0 to generate the code, two new items have been
pushed on the stack. Use relative stack indices to avoid breakage.

FS-8099 #resolve
2015-08-30 22:34:49 +02:00
Mike Jerris ac945c012a FS-7966: multiple fixes for msvc 2015 build, remove unintended file add 2015-08-27 15:13:35 -06:00
Mike Jerris 9485fc9581 FS-7966: multiple fixes for msvc 2015 build 2015-08-27 14:37:33 -06:00
Michael Jerris 15fb6c6546 FS-8047: [build] fix build error in mod_basic due to using __FUNCTION__ on newer compilers 2015-08-25 21:48:02 -04:00
Michael Jerris d609becdd6 FS-8047: [build] fix build error in mod_basic due to using __FUNCTION__ on newer compilers 2015-08-25 17:36:23 -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
Michael Jerris 61c641aa0b swigall 2015-08-19 16:41:39 -05:00
Chris Rienzo a0b53d06f5 FS-7912 add session UUID to lua error logs, if known. 2015-07-29 14:43:34 -04:00
Anthony Minessale e34b195988 FS-7689 #resolve 2015-06-19 13:23:04 -05:00
Michael Giagnocavo f116387443 FS-7644. Change 2013.vcxproj references to 2013 2015-06-18 04:17:53 -06:00
Michael Jerris 2558049e49 FS-7667: [mod_java] fix include directory detection when using debian java pacakges and use detected directory 2015-06-16 14:29:18 -05:00
Brian West 34ec9f861f update languages to use swig2.0 and reswig 2015-06-16 12:58:24 -05:00
Brian West 4e88d9eea1 update languages to use swig2.0 and reswig 2015-06-16 12:44:37 -05:00
Brian West 6a903e2397 fix perl swig patching to work with latest swig from debian jessie 2015-06-16 12:03:53 -05:00
Brian West a81a896690 FS-7666: [mod_managed] pass in proper core CPP flags to find public headers 2015-06-16 11:24:00 -05:00
Brian West 34f5994aa2 swigall 2015-06-16 11:23:25 -05: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
William King cdead84d3b CID 1216601 Fix a possible memory leak in mod_basic 2015-05-28 12:47:34 -05:00
Mike Jerris 387b405ccd FS-7500: fix include paths for libvpx 2015-05-28 12:47:32 -05:00