2832 Commits

Author SHA1 Message Date
Michael Jerris
c01e8d3e52 those who lock, should also unlock...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5450 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-24 03:42:11 +00:00
Michael Jerris
33ec66f396 fix hold on ua's that send sendonly in the m instead of the a line and unhold without a sendrecv.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5449 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-24 03:17:21 +00:00
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
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
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
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
Michael Jerris
9aa7ed492c fix for new switch_log_printf prototype
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5415 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-20 10:46:51 +00:00
Michael Jerris
69705d5d00 correct printf function args for modified switch_log_printf.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5414 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-20 10:43:24 +00:00
Michael Jerris
5b27ad1332 add userdata param to switch_log_printf so we can pass uuid or other session or other identification information to the logger.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5412 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-20 09:19:45 +00:00
Michael Jerris
25f2fc817e only include switch_stun.h where needed. We use some c99isms in this header that do not get along well with some c++ compilers.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5411 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-20 09:02:30 +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
b7910ac8f9 remove unused function
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5409 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-20 08:46:13 +00:00
Michael Jerris
04af2a4325 remove unused function
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5408 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-20 08:45:33 +00:00
Michael Jerris
a2a725f915 typo
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5407 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-20 08:44:14 +00:00
Michael Jerris
8694a4a7ce add more modules to new mod loader macros/api.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5406 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-20 08:41:55 +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
Michael Jerris
ae02cbef83 add more modules to new mod loader macros/api.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5404 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-20 07:53:33 +00:00
Michael Jerris
008777e95e add more modules to new mod loader macros/api.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5403 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-20 07:15:53 +00:00
Michael Jerris
ee67c1412b add dialplan interfaces to new module loader, add dialplan function helper macro.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5402 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-20 06:14:57 +00:00
Michael Jerris
4e85a86775 add remaining apps to new mod loader macros.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5401 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-20 06:05:31 +00:00
Michael Jerris
b9c9f4c9e9 add SWITCH_STANDARD_APP helper macro
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5400 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-20 05:39:50 +00:00
Michael Jerris
8879fe5eb5 move mod_dptools to use new module loader interfaces.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5399 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-20 05:15:07 +00:00
Michael Jerris
db2121b84d move mod_conference to use new module loader interfaces.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5398 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-20 04:17:26 +00:00
Michael Jerris
c257489e6c move mod_commands to use new module loader interfaces.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5397 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-20 03:26:52 +00:00
Michael Jerris
4de6b9858d add system app: MODAPP-14
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5396 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-20 02:19:29 +00:00
Michael Jerris
cc47e3aba6 play only to member
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5394 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-19 23:04:31 +00:00
Anthony Minessale
831dee40f3 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5392 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-19 22:31:50 +00:00
Anthony Minessale
77e2f70a2d testing a media bug change
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5391 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-19 18:25:17 +00:00
Anthony Minessale
8c188005a0 wtf was that?
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5390 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-19 16:29:59 +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
2444ff5ad1 sigh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5388 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-18 17:37:29 +00:00