Commit Graph
343 Commits
Author SHA1 Message Date
Anthony Minessale d910962593 fix mod_python build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6125 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-01 12:25:00 +00:00
Michael Jerris 622a2733dc use more correct const char * for things that should not be modified. This should also fix the switch_cpp.cpp changes from MODAPP-44. More patches to follow up on this for a few more modules that will likely break with this commit.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6120 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-01 11:28:26 +00:00
Brian West 8e8a31a0dc more path ps
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6109 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-31 20:12:22 +00:00
Anthony Minessale 21c10158d1 change types for odbc
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6103 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-31 18:51:22 +00:00
Anthony Minessale 8cf22e707d fix MODLANG-42
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6035 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-23 19:02:47 +00:00
Anthony Minessale 7056f21fec fix MODLANG-43
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6034 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-23 18:25:58 +00:00
Michael Jerris 14db3e77ca possibly unused var.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5999 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-19 18:35:33 +00:00
Michael Jerris 1ffcfd540e use vsprops files for spidermonkey modules and modules using curl to centralize those settings.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5995 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-19 16:09:14 +00:00
Anthony Minessale 6b1fa2191b update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5992 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-19 15:31:02 +00:00
Michael Jerris a65e34e233 use winlibs.vsprops to include the windows system libs, so that we will work on incorrectly configured visual studio express edition better.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5991 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-19 06:44:27 +00:00
Anthony Minessale 7aa22799c9 more of the same
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5989 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-19 03:42:02 +00:00
Michael Jerris 66501a6cdd build cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5986 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-19 02:46:05 +00:00
Michael Jerris a45f8065d7 don't do operations in an assert (re: FSCORE-50)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5985 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-19 00:44:27 +00:00
Michael Jerris 299ab4ba85 build cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5984 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-19 00:24:27 +00:00
Michael Jerris 6959c3ddd7 move some modules to use .vsprops files to centralize where settings are made and to simplify the project files.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5971 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-18 18:11:43 +00:00
Michael Jerris 8a80bf5b07 move some modules to use .vsprops files to centralize where settings are made and to simplify the project files.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5966 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-18 09:34:05 +00:00
Michael Jerris 83c21e77f3 move some modules to use .vsprops files to centralize where settings are made and to simplify the project files.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5963 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-18 07:21:38 +00:00
Michael Jerris bbffdd99ab cleanup some project file properties and hopefully fix the release build enum issue.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5961 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-18 04:15:33 +00:00
Anthony Minessale 92b0269c4c doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5848 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-12 13:34:26 +00:00
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