Commit Graph
1024 Commits
Author SHA1 Message Date
Anthony Minessale 5a3c08c22d small adjustments
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5847 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-12 13:31:12 +00:00
Anthony Minessale ffb989e435 tear the hell out of everything and rip it up into itsy bitsy pieces and put it all back together
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5765 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-29 01:06:08 +00:00
Damjan Jovanovic 5fff7be5e1 Reduced JNI version from 1_6 to 1_4, and used javac and jar in PATH not in JAVA_HOME to build (on MacOS)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5759 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-26 15:13:47 +00:00
Michael Jerris e69fe7e336 initial import of mod_java from Damjan Jovanovic
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5755 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-25 13:21:17 +00:00
Anthony Minessale d33b5670f0 fix some races and alter core (do a full rebuild)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5751 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-24 19:34:25 +00:00
Michael Jerris 020fc7df42 fix for FSBUILD-18
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5744 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-21 23:16:29 +00:00
Michael Jerris 5bea2ea06c svn:eol-style properties, and make eol-style consistent in some files.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5738 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-21 18:49:14 +00:00
Michael Jerris 07aebb5ab9 silence windows warning
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5702 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-11 23:49:28 +00:00
Michael Jerris 815f34fbfb MODLANG-21: Add socket module for spidermonkey from Jonas Gauffin
methods: connect, close, send, readBytes, read.

Note! It's completely untested.

usage:
var socket = new Socket();
socket.connect("hostname", 1234");
var line = socket.read();
socket.send("this is something\n");

The read method takes a delimiter and do not return until the
delimiter have been received (or the connection have been dropped).
The default delimiter is "\n".
The readBytes method reads the number of specified bytes.

only a TCP socket implementation. 





git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5701 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-11 23:29:50 +00:00
Anthony Minessale 524631e3b8 add getGlobalVariable function to access FS globals
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5698 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-11 21:19:16 +00:00
Anthony Minessale 3bcbb71a21 Add PCRE object to javascript
var re = new PCRE();
if (re.compile("the answer is 42", '(\\d+)')) {
    answer = re.substitute("$1");
    console_log("err", "result [" + answer + "]\n");
}



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5695 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-11 17:33:06 +00:00
Michael Jerris 30ffb593c0 little cleanup, remove unnecessary (char *) cast.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5674 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-28 22:44:02 +00:00
Anthony Minessale 1a091c1ad2 change javascript and confernece to use cached speech handles
This is for better performace and to take atvantage of mrcp connections.
There should be no apparent change in usage.
The conference now supports changing the voice via the text string
by starting a text blurb with #voice# eg

#william#This will sound like William.




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5664 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-25 21:33:26 +00:00
Ken Rice 32e44d9a1a fix and ooops
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5661 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-23 18:34:50 +00:00
Anthony Minessale a42a0a1916 let session.sayPhrase method take a blank language string
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5653 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-21 19:00:06 +00:00
Traun Leyden e9732b7c47 fix a bug introduced in last mod_python commit on greenlizard branch where dtmfs will segfault the switch due to an incorrect Py_XDECREF.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5626 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-20 16:43:42 +00:00
Traun Leyden c806a20d65 1. add collectInput method. 2. modify the dtmf callback handlers to better deal with event inputs, as opposed to dtmf inputs. currently returns a dictionary where one key contains the body, and another contains the headers as a subdictionary.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5624 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-20 16:33:28 +00:00
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