21906 Commits

Author SHA1 Message Date
Anthony Minessale
94e92fe25c sync
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@289 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-25 05:26:37 +00:00
Anthony Minessale
84e8ad398e sync
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@289 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-25 05:26:37 +00:00
Michael Jerris
d855ad8dd1 add mod_local_stream to windows build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5463 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-25 00:27:42 +00:00
Michael Jerris
5cebcc1f66 unreachable code causes leak.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5462 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-25 00:27:15 +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
Michael Jerris
13afb64dcb add new config files to the sln.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5459 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-24 20:38:22 +00:00
Michael Jerris
f0bf734e6e change the directory walking functions to pass it the buffer.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5458 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-24 20:37:41 +00:00
Michael Jerris
498aca8df8 add blackfin to config.sub. FSBUILD-5.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5457 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-24 20:14:17 +00:00
Michael Jerris
b6749d2106 merge MODAPP-16 (add curl support to mod_xml_cdr), thanks Bret.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5456 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-24 19:57:24 +00:00
Anthony Minessale
158d1f4631 kill mysterious race bug that magicly showed up last week
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5455 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-24 19:47:39 +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
Michael Jerris
d2d87cf6a1 protect the hash.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5451 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-24 04:06:05 +00:00
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
dffaad2ab7 sync
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@288 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-23 18:51:10 +00:00
Anthony Minessale
e1dc87d541 sync
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@288 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-23 18:51:10 +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
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