Commit Graph

1902 Commits

Author SHA1 Message Date
Anthony Minessale
44fc26f7d4 Finalization of speech detect interface and API
This changes the core to have the necessary tools to create
a speech detection interface.

It also changes the code in javascript (mod_spidermonkey)
there are a few api changes in how it handles callbacks

It also adds grammars as a system dir to store asr grammars




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3291 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-09 05:39:04 +00:00
Anthony Minessale
b942d8e044 change resample quality
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3290 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-09 05:36:03 +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
Anthony Minessale
8b6be74043 swig stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3288 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-09 05:33:30 +00:00
Anthony Minessale
1167541063 build stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3287 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-09 05:31:29 +00:00
Anthony Minessale
0ce3f5b08b tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3286 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-09 05:13:59 +00:00
Brian West
a3277badcd fix g722 with help from tony. Thanks.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3283 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-08 21:33:03 +00:00
Michael Jerris
88a53a6b44 Fix segfault on registrations when we are not challenged for aut. can't match scheme and realm if there isn't one.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3282 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-08 19:12:28 +00:00
Michael Jerris
2824afcd64 parse params from the user directory properly on a register.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3270 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-06 16:35:23 +00:00
Michael Jerris
951186898c Comments and cleanup, clarify some variable names.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3268 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-05 19:41:03 +00:00
Michael Jerris
e7dae8a9d9 add missing Member-ID header to a couple events, merged from knhor's branch.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3267 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-05 19:32:32 +00:00
Anthony Minessale
9caae3960c update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3251 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-11-01 23:26:00 +00:00
Anthony Minessale
278a69a0e4 someone said 240k was a cool stack size
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3248 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-31 21:57:59 +00:00
Michael Jerris
0bf221111d msvc doesn't like = {}, and is a bit pickier on unreachable code.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3247 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-31 21:46:42 +00:00
Michael Jerris
506f40b8f1 change local var to match return type of function.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3246 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-31 21:41:40 +00:00
Anthony Minessale
9ab2b1db57 Media Management (Sponsored By Front Logic)
This modification makes it possible to change the media path of session in the switch on-the-fly and from the dialplan.
It adds some API interface calls usable from a remote client such as mod_event_socket or the test console.

1) media [off] <uuid>

   Turns on/off the media on the call described by <uuid>
   The media will be redirected as desiered either into the switch or point to point.

2) hold [off] <uuid>

   Turns on/off endpoint specific hold state on the session described by <uuid>

3) broadcast <uuid> "<path>[ <timer_name>]" or "speak:<tts_engine>|<tts_voice>|<text>[|<timer_name>]" [both]

   A message will be sent to the call described by uuid instructing it to play the file or speak the text indicated.

   If the 'both' option is specified both ends of the call will hear the message otherwise just the uuid specified
   will hear the message.

   During playback when only one side is hearing the message the other end will hear silence.

   If media is not flowing across the switch when the message is broadcasted, the media will be directed to the
   switch for the duration of the call and then returned to it's previous state.


Also the no_media=true option in the dialplan before a bridge makes it possible to place a call while proxying the session
description from one endpoint to the other and establishing an immidiate point-to-point media connection with no media
on the switch.

<action application="set" data="no_media=true"/>
<action application="bridge" data="sofia/mydomain.com/myid@myhost.com"/>


*NOTE* when connecting two outbound legs by using the "originate" api command with an extension that has no_media=true enabled,
the media for the first leg will be engaged with the switch until the second leg has answered and the other session description
is available to establish a point to point connection at which time point-to-point mode will be enabled.

*NOTE* it is reccommended you rebuild FreeSWITCH with "make sure" as there have been some changes to the core.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3245 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-31 21:38:06 +00:00
Michael Jerris
1e4ad3c5ae Update to newest sofia snapshot. This includes many fixes mostly for sdp negotiation.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3244 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-31 20:48:16 +00:00
Michael Jerris
7a36a5d969 Update to new sofia tarball to tweak sdp behavior to use the correct c line on re-invite.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3241 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-31 05:43:53 +00:00
Michael Jerris
3146d99422 use switch_payload_t for the rtp payload numbers.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3240 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-31 05:42:40 +00:00
Michael Jerris
051b623bb0 formatting whitespace changes from knhor branch.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3239 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-31 05:04:47 +00:00
Anthony Minessale
d1fe31d8c3 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3237 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-30 20:54:24 +00:00
Anthony Minessale
a4a79bcff1 let sofia have here way
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3236 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-30 15:27:05 +00:00
Michael Jerris
461295664f formatting and comments. More to come.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3233 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-30 01:36:51 +00:00
Anthony Minessale
003fb84e7c doh, thx CtRiX
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3228 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-29 18:15:53 +00:00
Anthony Minessale
718ace8b83 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3227 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-29 17:57:55 +00:00
Anthony Minessale
082a5a03c0 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3226 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-29 15:36:23 +00:00
Michael Jerris
800ec12f5b this was all wrong.. blanking it out for now.. I am sure we should have somthing useful in there.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3225 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-28 19:59:01 +00:00
Michael Jerris
6b457ddce3 Add new higher level ivr functions from Paul Tinsley. Thanks Paul.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3223 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-28 04:40:59 +00:00
Michael Jerris
18f51bee7b update to new sofia snapshot. This fixes several race conditions, ref count problems, and double frees that were happening in the sofia library and fixes segfaults under heavy load and a segfault on cancel when using 100rel while awaiting a prack. Sofia should be much more stable now, please beat it up and let us know.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3220 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-27 23:20:10 +00:00
Anthony Minessale
0532a56c7e sigh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3218 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-27 15:20:14 +00:00
Michael Jerris
a203d22fe2 wrong version, can't make up my mind.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3217 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-27 15:05:41 +00:00
Michael Jerris
5432fbab75 wrong version
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3216 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-27 14:51:47 +00:00
Anthony Minessale
cbdcbcf87a update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3214 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-26 20:02:57 +00:00
Anthony Minessale
90297aa7ef update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3213 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-26 16:31:05 +00:00
Anthony Minessale
da76d9327b update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3212 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-26 16:13:48 +00:00
Anthony Minessale
280daaf56c update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3211 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-26 15:52:11 +00:00
Anthony Minessale
a3839376f7 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3210 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-26 15:00:46 +00:00
Michael Jerris
08b2207573 make sofia a bit more stable after an outbound register. Please note, we are working on some issues in sofia, revisions after last weekend are currently not considered stable under some conditions.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3208 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-26 11:47:22 +00:00
Anthony Minessale
b22e11c36a update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3206 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 20:05:16 +00:00
Anthony Minessale
6a6c57f0f6 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3205 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 18:49:34 +00:00
Michael Jerris
ee086006d5 why malloc?
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3204 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 18:00:14 +00:00
Anthony Minessale
d58c1d05b9 fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3203 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 17:59:50 +00:00
Michael Jerris
f1cfceb9d4 bad opt, wrong directory.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3201 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 17:04:00 +00:00
Michael Jerris
ac6f80b95d only need realm on auth
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3200 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 17:00:57 +00:00
Anthony Minessale
305bc19458 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3199 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 17:00:23 +00:00
Anthony Minessale
3b72da4213 add pause in tts
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3198 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 16:17:54 +00:00
Anthony Minessale
a592674795 sip signalling
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3197 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 15:46:42 +00:00
Anthony Minessale
61f7148941 tidy up
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3196 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 14:01:03 +00:00
Michael Jerris
0be391132a datatype tweaks.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3193 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 04:47:08 +00:00
Anthony Minessale
08442ff2c4 signalling refactoring for media etc
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3192 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-10-25 04:28:49 +00:00