Commit Graph

86 Commits

Author SHA1 Message Date
Brian West 21534d46a7 add api
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8999 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-11 20:58:42 +00:00
Anthony Minessale a3ccefa7e1 snake charming
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8998 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-11 19:42:52 +00:00
Brian West 3f1a474f72 remove unused var
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8973 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-09 23:46:50 +00:00
Anthony Minessale 32bbdb74a8 add args to sleep
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8930 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-08 17:27:02 +00:00
Michael Jerris 36852b399e fix seg src/mod/languages/mod_python
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8924 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-08 06:59:02 +00:00
Anthony Minessale 0b35b58e79 don't override macro name (MODLANG-68)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8915 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-08 03:25:31 +00:00
Anthony Minessale a1cf7067b6 add EventConsumer obj to cpp
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8884 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-02 21:12:57 +00:00
Anthony Minessale 0f3d46063b fix MODLANG-65
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8828 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-06-23 19:19:17 +00:00
Anthony Minessale 7f4c8a6d46 add waitForAnswer to cpp
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8745 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-06-02 23:42:59 +00:00
Anthony Minessale 830a8493de add answered and mediaReady methods to CoreSession
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8743 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-06-02 23:37:12 +00:00
Anthony Minessale f930eaeec7 indent pass 2
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8689 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-27 04:54:52 +00:00
Stefan Knoblich 185b2938a7 Force CXXLINK for mod_python and remove -lstdcc++ from LOCAL_LDFLAGS to fix build on solaris
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8456 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-16 21:38:00 +00:00
Anthony Minessale c4657914eb lang fixes
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8449 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-16 18:40:39 +00:00
Anthony Minessale 40efe06a2f cannot pass 2833 on a transcoded call
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8386 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-13 20:36:23 +00:00
Anthony Minessale d5e4046daf fix build prob
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8366 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-12 16:58:44 +00:00
Anthony Minessale a5e10ebcb9 add some methods to CoreSession
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8352 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-10 17:02:43 +00:00
Anthony Minessale 4b929592cc change names to protect the innocent
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8263 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-05 15:30:55 +00:00
Stefan Knoblich e8c88aa124 Try to use python provided by the system instead of a bundled version, adds --with-python and --with-python-config to configure
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8258 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-02 23:40:37 +00:00
Traun Leyden cffd9825c1 reswig after updating to 8254. check that it compiles and do some light testing. seems that playAndGetDigits now returns a single value instead of a list of values, update scripts accordingly. also execute_extension is causing seg faults, at least in certain cases.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8256 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-02 21:20:14 +00:00
Anthony Minessale 8e0b64a1e6 add read
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8254 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-02 19:04:13 +00:00
Anthony Minessale 4fda174f34 reswig
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8252 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-02 18:40:23 +00:00
Anthony Minessale aa47e3e5fd update script langs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8249 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-02 16:43:54 +00:00
Traun Leyden 636519ba6a reswig against 8241 and fix bugs with changed number of args to playAndGetDigits (note: exising scripts will need to be fixed to pass ONE less argument - see wiki for new syntax). also, comment out hangup hook handler that was causing seg fault, that needs to be redone. registering hangup hooks inscripts will no longer have any effect.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8244 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-02 00:57:25 +00:00
Anthony Minessale 85fc8c37e7 fix bad pointer memory snafu in wrapped language libs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8238 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-01 19:03:57 +00:00
Anthony Minessale 8f5a873dc7 break all the api in the swig stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8225 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-30 23:42:37 +00:00
Anthony Minessale b6d649fc86 look out below
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8221 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-30 19:42:26 +00:00
Traun Leyden c9f575fb1f fix and reswig after switch_cpp updates
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8216 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-30 00:37:52 +00:00
Traun Leyden 95437a05a9 reswig with swig 1.3.31, retest
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8201 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-26 00:10:07 +00:00
Traun Leyden 7de99aa9dc cleanup threadstate so that it removes the thread-local storage and cleans up django database connections which are stored in thread-local. fixes bug where it was leaking connections.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8193 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-24 17:58:38 +00:00
Brian West b0ad7ab50c set tab mode properly
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7500 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-03 22:14:57 +00:00
Brian West 84161010ab cleanup and consistency.. blah rain @ PHX fun
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7396 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-27 20:01:02 +00:00
Brian West aab6766ece more house keeping.. and one commit tony forgot to commit from my dev box
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7385 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-27 05:02:52 +00:00
Michael Jerris 57c150379e split make and make install steps for python and Makefile cleanup. (thanks stkn)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6393 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-24 03:18:20 +00:00
Michael Jerris ec09de9b18 error on missing dir on fresh build (thanks trixter)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6392 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-24 01:59:58 +00:00
Michael Jerris 18dfb6c600 add missing DESTDIR (thanks stkn)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6391 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-24 00:59:04 +00:00
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
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
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
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
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
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 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
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 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
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 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 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