23 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
591c9b87aa ruin everything, sorry jamesdotcom
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3815 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-23 16:40:37 +00:00
Michael Jerris
ce3fd3fce4 merge changes to mod_python from jkr888 branch. Thanks Johny.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3781 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-21 17:11:43 +00:00
Anthony Minessale
7872f795ea swig stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3289 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-09 05:34:42 +00:00
Brian Fertig
84004e324d Inital Release of Python
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2630 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-10 23:20:44 +00:00