18689 Commits

Author SHA1 Message Date
Anthony Minessale
a039d870c3 Add events around all application execution:
fire SWITCH_EVEHT_CHANNEL_EXECUTE
<execute app>
fire SWITCH_EVEHT_CHANNEL_EXECUTE_COMPLETE

This can be used in async socket connections to tell
when a queued application has finished executing.



Add the "event" application to the dialplan:

<action application="event" data="header1=val1,header2=val2"/>

Events fired from this applcation will always have the type SWITCH_EVENT_CHANNEL_APPLICATION.

You can add up to 25 headers of your own to the event via the application arguements.





git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5448 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-23 05:41:07 +00:00
Anthony Minessale
c43c080fa3 avoiding racing cpu (part 3)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5447 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-23 03:51:57 +00:00
Anthony Minessale
24d64a618b avoiding racing cpu (part 2)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5446 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-23 03:26:12 +00:00
Michael Jerris
0f6767a9e4 fix typo.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5445 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-22 22:29:28 +00:00
Anthony Minessale
699612c2cb avoiding racing cpu
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5444 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-22 21:45:36 +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
34d6c49870 update example
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5439 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-22 17:38:32 +00:00
Anthony Minessale
da7640faa6 hack, *couugh* i mean fix portaudio to work better
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5438 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-22 17:05:51 +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
Anthony Minessale
cb766bf817 fi
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5436 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-21 23:28:16 +00:00
Anthony Minessale
36ccf76a99 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5435 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-21 22:48:58 +00:00
Anthony Minessale
4e50738c22 try to fix latency on portaudio
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5434 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-21 22:36:04 +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
85274f5c73 fix service message processing.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@287 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-21 15:20:15 +00:00
Michael Jerris
dbc918f44b fix service message processing.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@287 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-21 15:20:15 +00:00
Michael Jerris
0b76c79371 fix dms
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@286 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-21 15:14:46 +00:00
Michael Jerris
936459a5c0 fix dms
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@286 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-21 15:14:46 +00:00
Michael Jerris
fb9d36c8a7 tweak dms service message handling.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@285 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-21 14:22:05 +00:00
Michael Jerris
b9634b84a0 tweak dms service message handling.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@285 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-21 14:22:05 +00:00
Michael Jerris
2f9a50556f hack in DMS service message support
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@284 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-21 04:28:28 +00:00
Michael Jerris
b041edc605 hack in DMS service message support
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@284 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-21 04:28:28 +00:00
Anthony Minessale
c1344ffdda up
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@283 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-21 04:05:37 +00:00
Anthony Minessale
29411355a4 up
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@283 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-21 04:05:37 +00:00
Michael Jerris
072df3d4b8 dms uses proto disc other than 8
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@282 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-21 03:56:28 +00:00
Michael Jerris
3f3d940155 dms uses proto disc other than 8
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@282 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-21 03:56:28 +00:00
Anthony Minessale
111d35e5a9 update
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@281 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-21 03:31:07 +00:00
Anthony Minessale
6da2de755f update
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@281 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-21 03:31:07 +00:00
Anthony Minessale
3417af8959 update
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@280 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-21 02:13:41 +00:00
Anthony Minessale
d8760c423c update
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@280 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-21 02:13:41 +00:00
Anthony Minessale
7d57b68604 sangoma might fully work now
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@279 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-21 00:00:10 +00:00
Anthony Minessale
b22f935b40 sangoma might fully work now
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@279 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-21 00:00:10 +00:00
Anthony Minessale
0943e49fbe update
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@278 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-20 20:30:10 +00:00
Anthony Minessale
599829cedb update
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@278 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-20 20:30:10 +00:00
Michael Jerris
97b9b262ba make msi work for now.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5429 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-20 18:53:49 +00:00
Michael Jerris
b16a19a52f whoops
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5428 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-20 18:53:26 +00:00
Michael Jerris
7953a010f5 whoops
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5426 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-20 18:45:35 +00:00
Anthony Minessale
97121441c0 tmp
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@277 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-20 17:53:09 +00:00
Anthony Minessale
c406e3eadc tmp
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@277 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-20 17:53:09 +00:00
Michael Jerris
576766cbff add bufinfo
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@276 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-20 17:20:56 +00:00
Michael Jerris
d71231f075 add bufinfo
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@276 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-20 17:20:56 +00:00
Michael Jerris
f41ce8bb9f fix windows build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5424 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-20 15:13:46 +00:00
Anthony Minessale
fc9195fe60 avoiding deadlock
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5423 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-20 14:50:02 +00:00
Chris Parker
80a72ea2f1 Remove uneeded module_pool declaration
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5422 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-20 14:45:28 +00:00
Chris Parker
52fd99666d Changes to new macro initialzation
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5421 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-20 14:41:55 +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
c31639279a fix for new switch_log_printf prototype
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5418 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-20 11:02:45 +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
adba671928 fix for new switch_log_printf prototype
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5416 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-20 10:49:25 +00:00