Commit Graph

3708 Commits

Author SHA1 Message Date
Michael Jerris 352cc95813 add ability to match in dialplan to the ton and numplan caller profile fields. added switch_caller_profile_dup function to be used in the future for places where we copy one profile to another to reduce code duplication. add "pool" member to the caller profile for when we need to allocate strings off that pool.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5669 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-28 16:41:38 +00:00
Michael Jerris 8dc23d384e dos2unix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5668 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-28 15:31:52 +00:00
Anthony Minessale b2c2465a2e free xml later in the code to avoid freeing used memory
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5667 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-27 20:53:48 +00:00
Anthony Minessale 075e80c368 fix reg var scope
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5666 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-27 20:43:34 +00:00
Traun Leyden 1d347c8af1 abort upon receiving an empty result in freeswitch event
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5665 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-25 22:57:44 +00:00
Anthony Minessale 1a091c1ad2 change javascript and confernece to use cached speech handles
This is for better performace and to take atvantage of mrcp connections.
There should be no apparent change in usage.
The conference now supports changing the voice via the text string
by starting a text blurb with #voice# eg

#william#This will sound like William.




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5664 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-25 21:33:26 +00:00
Ken Rice 32e44d9a1a fix and ooops
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5661 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-23 18:34:50 +00:00
Arsen Chaloyan b6256a4fc8 add common for asr and tts FLAG_HAS_MESSAGE to indicate there is a mrcp message to process; fix processing of some mrcp responses and events.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5660 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-22 19:15:11 +00:00
Traun Leyden b3454792b1 speech recognition demo in python
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5659 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-22 14:23:28 +00:00
Michael Jerris 88bbc489d1 map 404 correct per rfc 4497
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5658 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-22 13:16:37 +00:00
Michael Jerris 70c8c1d7a9 pass new caller profile vars across the bridge.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5657 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-22 03:10:08 +00:00
Michael Jerris 406e0d6bcf pass new caller profile vars across the bridge.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5656 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-22 02:55:19 +00:00
Michael Jerris 6a03185729 add utility app for profile vars
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5655 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-22 00:22:22 +00:00
Michael Jerris f94400c173 fix windows build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5654 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-22 00:21:09 +00:00
Anthony Minessale a42a0a1916 let session.sayPhrase method take a blank language string
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5653 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-21 19:00:06 +00:00
Anthony Minessale cce033caf0 re-apply change to shutdown to not unload
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5652 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-21 18:18:45 +00:00
Traun Leyden 31ae26d668 return success from asr_feed when audio_sink hasnt yet been created. prevents a sporadic seg fault
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5650 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-21 16:48:56 +00:00
Anthony Minessale 1de25f3514 fix conference buffer for 30ms conference and 20ms chans
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5649 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-21 15:49:31 +00:00
Anthony Minessale 6f68991cb4 add NDLB-broken-auth-hash option for interop with eyebeam and zoiper
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5648 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-21 14:48:16 +00:00
Michael Jerris e6fdcedeb9 add type of number and number plan vars to the caller profile
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5647 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-21 14:01:24 +00:00
Arsen Chaloyan bf3f15e855 mrcp message body must contain '\0' at the end; no need to str copy buffer, when it is already allocated from the pool
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5646 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-21 11:45:16 +00:00
Arsen Chaloyan 8f8402bfe1 gracefully unload openmrcp module on shutdown
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5645 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-21 07:16:37 +00:00
Anthony Minessale a776a8ac3c don't unload
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5644 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-20 23:09:58 +00:00
Traun Leyden 4fc4be2c39 attempting to fix shutdown segfault, convert to new style module loading as seen in mod_cepstral
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5643 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-20 22:18:06 +00:00
Traun Leyden a049256610 fix compile error
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5642 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-20 22:09:02 +00:00
Anthony Minessale 15fbb280fa tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5639 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-20 21:25:06 +00:00
Traun Leyden a4301f0dd0 did not have a return value and was breaking on windows build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5638 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-20 20:02:14 +00:00
Arsen Chaloyan b7fcfd94fa set the highest (disable) mrcp log priority by default; log priority can be changed from mod_openmrcp.conf.xml->settings->log_level=7 [0-7]
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5636 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-20 19:25:59 +00:00
Arsen Chaloyan 0c59cb0d51 add FLAG_TERMINATING to trigger normal and unexpected (abnormal) session termination
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5635 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-20 19:09:19 +00:00
Arsen Chaloyan a56dba7f8a asr result in mrcp message body must be checked to exist before use
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5633 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-20 18:10:00 +00:00
Anthony Minessale f094dc4e71 remove inline from timer to avoid unhappyness
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5632 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-20 18:06:08 +00:00
Traun Leyden e9732b7c47 fix a bug introduced in last mod_python commit on greenlizard branch where dtmfs will segfault the switch due to an incorrect Py_XDECREF.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5626 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-20 16:43:42 +00:00
Anthony Minessale 4f58b28247 fix FSCORE-45
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5625 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-20 16:35:22 +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
Anthony Minessale 5eaea5f62a fix MODLANG-41
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5623 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-20 16:04:02 +00:00
Traun Leyden fa204ef943 sample openmrcp config
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5622 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-20 15:53:04 +00:00
Michael Jerris cfb3e24ab1 add mod_openmrcp to freeswitch windows build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5620 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-20 13:48:26 +00:00
Arsen Chaloyan 1df8c338a4 mutex must be locked before channel_add call
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5619 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-20 12:44:13 +00:00
Arsen Chaloyan 646a812eef dos2unix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5618 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-20 10:57:26 +00:00
Michael Jerris e02f28a8df fix fresh build. We need to configure later becasue apr must be built before libopenmrcp configure
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5617 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-19 21:20:32 +00:00
Michael Jerris 2297b3efa1 fix mod_openmrcp build on OS X
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5616 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-19 20:44:05 +00:00
Michael Jerris 8fa810c2a3 cleaner mod_openmrcp build in tree
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5615 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-19 20:22:00 +00:00
Michael Jerris be1cf97a93 fix for MODCODEC-2
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5614 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-19 08:36:25 +00:00
Michael Jerris 743cca1cb3 make windows build update version info out of configure.in settings like the autotools build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5612 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-19 08:08:04 +00:00
Michael Jerris bbf691e6f8 remove some files that are no longer in tree from the solution.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5611 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-19 05:13:01 +00:00
Michael Jerris 8ef2aa54c0 modify how we build switch_version.h so we can better handle releases
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5610 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-19 05:01:08 +00:00
Michael Jerris 3887a1813e Make version string have major, minor, and micro version.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5609 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-19 01:00:34 +00:00
Michael Jerris 77d753fe8b line endings.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5608 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-19 00:18:34 +00:00
Arsen Chaloyan 15beec4895 no blocking wait, requests and events are called async, the only sync call is channel creation yet.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5607 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-18 20:18:29 +00:00
Traun Leyden 1c0c21477d throw errors when configuration is invalid. check for null point in asr_feed to prevent segfault when testing against certain asr servers.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5606 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-17 21:52:42 +00:00