757 Commits

Author SHA1 Message Date
Anthony Minessale
5eaea5f62a fix MODLANG-41
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5623 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-20 16:04:02 +00:00
Anthony Minessale
8df8e7c897 add close method needs testing
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5583 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-10 14:27:25 +00:00
Anthony Minessale
7deb3330a1 small tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5580 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-09 17:57:14 +00:00
Michael Jerris
baaaa00f5a change error level
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5575 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-06 21:25:56 +00:00
Michael Jerris
7e81dbe5b0 use .so not .dylib for modules on OS-X, fix for MODENDP-16
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5573 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-06 18:10:30 +00:00
Michael Jerris
f1222ba2fd fix for FSCORE-40
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5566 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-03 21:29:01 +00:00
Michael Jerris
f85f71390b fix for MODLANG-38
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5562 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-03 16:13:32 +00:00
Michael Jerris
4da5a5f601 fix for MODLANG-37
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5553 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-03 04:06:58 +00:00
Anthony Minessale
25057d40ac fix up some event issues
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5541 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-07-24 21:26:04 +00:00
Anthony Minessale
7feef76fb2 add uuid fsapi function, last_file_position variable, and volume controls to js callback volume:+1 etc
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5498 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-07-05 17:03:14 +00:00
Anthony Minessale
f4c1039a16 add prototype for local_stream test it and let me know what you think
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5461 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-24 23:09:28 +00:00
Michael Jerris
ed0076eb18 add preAnswer method, and throw a js exception if session methods requiring a answered or pre-answered channel are called on a channel that is not. adresses MODLANG-24
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5460 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-24 21:01:55 +00:00
Traun Leyden
700aa0df56 streamFiles 2nd argument is now optional. fix segfault that was happening with originate/bridge due to no valid session in b leg. rename streamfile to streamFile. remove playFile since streamFile does the same thing
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5454 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-24 17:38:17 +00:00
Anthony Minessale
5f86cb4606 add exceptions to js and make invalid session access fatal + exception for a try/catch
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5443 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-22 19:59:57 +00:00
Traun Leyden
6f78befac9 implement flushEvents() flushDigits() setAutoHangup() and setHangupHook(). reworked dtmfhandler and some aspects relating to threadstate. folded in memory pool thing from mishehu. added more asserts to switch_core_file (coordinated w/ anthony on this)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5442 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-22 19:14:53 +00:00
Anthony Minessale
c6af283b83 fix core db for js
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5437 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-22 01:55:48 +00:00
Traun Leyden
7dabe2488f bugfix: return values from playAndGetDigits stopped working
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5433 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-21 18:23:56 +00:00
Anthony Minessale
83b4c47348 fix odbc
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5431 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-21 16:30:56 +00:00
Michael Jerris
bd2c91b028 Add recordFile method. merge svn r5149 from branch.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5420 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-20 14:35:22 +00:00
Michael Jerris
9d6042dc04 fix for new switch_log_printf prototype
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5417 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-20 10:50:56 +00:00
Michael Jerris
e028f2691c merge r5393 from http://svn.freeswitch.org/svn/freeswitch/branches/greenlizard/
* implement originate() and bridge() methods in CoreSession.  
* api changes for originate() : no longer passes 11 arguments


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5410 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-20 08:56:34 +00:00
Michael Jerris
4e434aff7f add more modules to new mod loader macros/api.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5405 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-20 08:18:18 +00:00
Anthony Minessale
e5daa7cc74 adjust api for session creation as planned
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5389 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-19 05:54:16 +00:00
Anthony Minessale
434a4e6315 js tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5387 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-18 15:44:28 +00:00
Traun Leyden
7e759cd2a5 had to reswig w/ swig 1.3.31 in order to compile with trunk makefile
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5377 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-15 20:37:28 +00:00
Michael Jerris
f45d060172 merge fix for MODLANG-33 and MODLANG-34.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5374 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-15 17:25:41 +00:00
Anthony Minessale
27561c6560 Avoiding Initial SegFault *now with lycopene!*
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5373 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-15 17:05:20 +00:00
Anthony Minessale
a2bcfdbd2f fix potential crash from malformed js
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5369 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-15 08:14:55 +00:00
Anthony Minessale
95f007586f stage 1 of wrecking ball (duck!)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5347 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-13 20:40:06 +00:00
Michael Jerris
784c7f8c3d move some modules to use the new module interface macros.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5344 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-13 17:48:49 +00:00
Michael Jerris
b67f9c5b2a move some modules to use the new module interface macros.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5343 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-13 17:06:10 +00:00
Anthony Minessale
a035ec592c doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5317 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-12 21:35:37 +00:00
Anthony Minessale
1b5daa6b59 add adjustable buffering to mod_shout (see example in config file)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5303 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-09 23:07:00 +00:00
Michael Jerris
52c3cf1108 merge changes from MODLANG-30 and MODLANG-31. changed to use switch_cut_path instead of basename for portablility.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5292 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-08 15:34:39 +00:00
Michael Jerris
da58c31380 merge changes from MODLANG-18 fix multiple odbc and spidermonkey odbc issues.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5289 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-08 14:39:09 +00:00
Michael Jerris
fedefcb69f merge changes from branch http://svn.freeswitch.org/svn/freeswitch/branches/greenlizard/ that changes the session container implementation to use the one in the core, and an inherited class in python. Please note that this changes the python script api to more closely match (it is still a subset) the one already in place and documented for spidermonkey, and will break all your scripts that are currently working.. Fix a fatal bug causing segfaults in mod_python when using the callbacks.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5242 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-01 18:50:34 +00:00
Michael Jerris
f704b3f623 fix bsd build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5225 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-28 05:04:28 +00:00
Anthony Minessale
d48ee84128 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5184 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-15 14:22:23 +00:00
Anthony Minessale
077d77d0e4 add jsapi api function
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5169 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-14 03:17:38 +00:00
Michael Jerris
521eac756e create macro to define api command prototypes.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5167 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-12 21:36:15 +00:00
Michael Jerris
a4ff7e88da adding const qualifiers across the api as appropriate.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5165 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-12 14:48:14 +00:00
Anthony Minessale
48d87f00d6 fix get_variable
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5156 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-11 18:39:19 +00:00
Michael Jerris
3a707a316a merge fix for MODLANG-15 from Traun Leyden. Thanks Traun.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5130 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-10 18:51:47 +00:00
Anthony Minessale
50b4a37771 change mod_python so freeswitch module is auto-loaded and session is auto declared
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5103 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-08 16:08:48 +00:00
Anthony Minessale
cb09b09f82 whatever
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5102 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-08 15:44:44 +00:00
Anthony Minessale
5a1ea34985 remove extra SessionContainer:: in header file
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5100 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-07 22:09:37 +00:00
Anthony Minessale
ba652e4f94 more py stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5099 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-07 21:49:11 +00:00
Anthony Minessale
46c14326b3 anti-venom for a nasty python byte
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5098 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-07 21:27:42 +00:00
Anthony Minessale
9572b3ce8c fix python 64 bit linux build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5097 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-07 15:24:07 +00:00
Michael Jerris
dd45f3d599 fix mod_mono build. still needs some testing
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5084 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-04 01:25:29 +00:00