Commit Graph

98 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
Anthony Minessale 9b8a5edd3d FS-9638 2016-11-10 12:09:00 -06: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
Brian West 4e88d9eea1 update languages to use swig2.0 and reswig 2015-06-16 12:44:37 -05:00
Brian West 34f5994aa2 swigall 2015-06-16 11:23:25 -05:00
Anthony Minessale 452a4c1b05 swigall 2015-04-27 12:35:38 -05:00
Anthony Minessale 3058709a92 swigall 2015-04-25 14:15:26 -05:00
Seven Du 59cd3c77d8 FS-6796 #resolve hack mod_lua to read correct binary string 2014-09-06 19:38:40 +08:00
Seven Du d8bc5ed7ae swigall 2014-09-06 07:18:38 +08:00
Seven Du 1a4e6e3093 FS-6796 #comment avoid use c++ string since it causing troubles 2014-09-06 07:18:38 +08:00
Seven Du a80f1d3524 swig all 2014-09-04 10:31:23 +08:00
Anthony Minessale 3a00260dc6 FS-6615 test this patch 2014-07-16 19:33:10 +05:00
Travis Cross aab164b3e6 make swigall 2014-07-16 03:52:09 +00:00
Brian West 4042571003 swigall 2014-07-15 19:09:24 -05:00
Anthony Minessale b63bacf43f FS-6061 swigall 2013-12-23 22:43:48 +05:00
Anthony Minessale 2771498707 change to lua 5.2 2013-11-13 07:55:12 +05:00
Anthony Minessale c94dd25e4e swigall 2013-10-15 15:31:28 -05:00
Anthony Minessale 5f2dca72b3 swigall 2013-07-24 18:49:27 -05:00
Anthony Minessale ac700966e9 swigall 2013-07-24 18:42:50 -05:00
Anthony Minessale 6f81477ca5 swigall 2013-02-19 14:22:01 -06:00
Anthony Minessale 25a992bc27 reswig 2013-01-29 09:34:27 -06:00
Anthony Minessale 081e261956 FS-4883 --resolve I can add this but if it leads to issues in the loaded code we may not have resoures to investigate 2012-11-29 08:58:44 -06:00
Anthony Minessale 428cd029de FS-4868 --resolve This patch also adds freeswitch.ready() which will return false once shutdown has started 2012-11-26 15:18:58 -06:00
Anthony Minessale a49dc84a15 swigall 2012-06-14 11:32:14 -05:00
Anthony Minessale 09ad887948 FS-3841 --resolve ok return the string "die" or "exit" from hanguphook to cause an error or call s:destroy("any err message"); either should now halt the script 2012-01-27 19:03:04 -06:00
Anthony Minessale 5ed0152dd1 swig 2011-12-16 14:24:34 -06:00
Anthony Minessale 2faaee0e6e add getGlobalVariable and setGlobalVariable to swig stuff 2011-10-21 08:56:42 -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
Brian West 0587e21c2b swigall 2011-08-20 19:27:59 -05:00
Leon de Rooij d4b5b07b2a reswig mod_lua for freeswitch.email 2011-02-07 10:36:04 +01:00
Leon de Rooij 425df0c783 Added test_reactive to mod_lua freeswitch.Dbh 2011-01-27 14:17:49 +01:00
Brian West d79cf48475 FS-2962 2011-01-05 11:45:48 -06:00
Leon de Rooij 09e6fd3f4e Make dbh:connected accessible from Lua - thanks Grmt 2011-01-03 12:20:06 +01:00
Anthony Minessale c4e350ab0c add insertFile front end to switch_ivr_insert_file and reswig 2010-12-29 15:09:57 -06:00
Brian West 48a9e9a5ac swigall 2010-10-01 09:54:25 -05:00
Brian West fb48d5ca9d swigall 2010-09-10 12:44:14 -05:00
Leon de Rooij 87db11afe0 Made 2nd arg to freeswitch.Dbh:query (cb func) optional 2010-09-10 01:36:27 +02:00
Anthony Minessale 2f3187e470 reswig 2010-09-07 11:45:56 -05:00
Anthony Minessale 7fd3aff6f0 fix eventConsumer issue and add flush() method 2010-05-17 18:38:25 -05:00
Anthony Minessale a7f74af7d0 add bind method to EventConsumer takes same args as constructor to bind more events to an existing consumer 2010-05-10 13:07:34 -05:00
Brian West 56edfc2a64 swigall
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16943 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-08 21:26:08 +00:00
Anthony Minessale 85587aa6b9 add bridged method
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16857 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-02 01:08:31 +00:00
Brian West ed5506c661 swigall
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15824 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-07 13:35:30 +00:00
Anthony Minessale f4239d9500 reswig
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15361 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-04 23:58:26 +00:00
Anthony Minessale c5f1d9ec0a FSCORE-450
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15006 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-28 19:46:38 +00:00
Brian West 579343d65d swigall
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15000 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-28 02:52:25 +00:00
Brian West bd668c8d30 swigall
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14977 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-25 17:02:46 +00:00
Anthony Minessale c54f0c3945 add session.hangupCause()
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14912 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-17 23:28:38 +00:00
Anthony Minessale 0c11561c53 reswig
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14873 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-15 18:48:12 +00:00