Commit Graph

665 Commits

Author SHA1 Message Date
Michael Jerris 7b6182aa13 const qualifiers in asr/tts interfaces.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6121 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-01 11:55:00 +00:00
Michael Jerris 622a2733dc use more correct const char * for things that should not be modified. This should also fix the switch_cpp.cpp changes from MODAPP-44. More patches to follow up on this for a few more modules that will likely break with this commit.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6120 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-01 11:28:26 +00:00
Anthony Minessale 049d952d4e fix path bs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6105 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-31 19:59:40 +00:00
Anthony Minessale f6e9bc335b add inband dtmf generator
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6097 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-31 16:44:02 +00:00
Anthony Minessale 10d7d619f6 make channel hangup with media_timeout cause when rtp timeout occurs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6095 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-31 13:08:45 +00:00
Anthony Minessale b97f786f0f rtp timeout
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6093 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-31 02:12:30 +00:00
Anthony Minessale 673b1cff3b fix MODAPP-3
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6037 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-23 21:32:17 +00:00
Michael Jerris b382c0a41f add -u and -g command line args to set user and group.
properly handle portability for mlockall and setrlimit
Tested on linux, Freebsd, solaris, mac.
FSCORE-47

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6033 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-23 15:56:23 +00:00
Anthony Minessale c86155c6bf make mod_openmrcp profile name choosable from engine_name parameter e.g. openmrcp:myprofile
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6012 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-20 17:42:35 +00:00
Anthony Minessale 7c3f707fef more g722 fun
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5987 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-19 03:21:37 +00:00
Anthony Minessale 42644022e1 improvements
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5967 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-18 16:17:42 +00:00
Anthony Minessale b099f96e4e format
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5925 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-17 14:59:17 +00:00
Anthony Minessale 1ae9e8f6b6 add playback_terminators variable
This is valid for playback, gentones, record and speak
value may be a string of valid terminator characters, or the word 'none'
the default of * will always work unless overridden by 'none'. This is for backward compat.

  <extension name="8000">
    <condition field="destination_number" expression="^8000$">
      <action application="answer"/>
      <!--both * and # will stop the playback-->
      <action application="set" data="playback_terminators=#*"/>
      <action application="playback" data="/ram/swimp.raw"/>
    </condition>
  </extension>






git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5888 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-16 14:36:39 +00:00
Anthony Minessale b50e8f5c9a add switch_stristr and use it in dptools
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5887 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-16 14:24:02 +00:00
Anthony Minessale e5b16c4374 add channel_originate event
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5886 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-16 13:56:44 +00:00
Anthony Minessale b8457503ea add transparent speech handle caching via cache_speech_handles=true variable and an app to clear a cached handle called clear_speech_cache
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5876 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-15 16:25:08 +00:00
Michael Jerris e8f7c1b4fc fix windows build.. break other things.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5853 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-12 20:14:41 +00:00
Anthony Minessale 0a980a4ff9 minor adj
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5851 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-12 17:12:31 +00:00
Anthony Minessale 230a77714d EXECUTE ORDER 66
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5846 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-12 03:28:59 +00:00
Anthony Minessale c4ae4e394d make xtra_params arg instead of just profile name
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5838 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-10 23:38:48 +00:00
Anthony Minessale b82cb961dd add headers
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5824 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-06 01:05:55 +00:00
Anthony Minessale 7962945c39 make encoding optional none, base64 or url encoding
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5823 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-06 00:30:04 +00:00
Anthony Minessale 7bf2a6ca5d add max_sessions fsctl command
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5812 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-05 13:42:11 +00:00
Anthony Minessale 6d091447b1 add sps count to the status output
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5804 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-04 21:35:50 +00:00
Anthony Minessale 2222933908 a bunch of fixes
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5796 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-04 17:25:06 +00:00
Anthony Minessale 1418927007 add delay_echo application
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5794 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-04 15:09:44 +00:00
Anthony Minessale 0b9482f1fd add adjustable log level and sps via fsctl
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5793 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-04 14:19:51 +00:00
Michael Jerris 7c125a5d19 var types, build errors fix.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5792 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-04 13:17:56 +00:00
Anthony Minessale 1667112b3b add fsctl loglevel [<level>] fsctl command
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5790 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-03 23:43:01 +00:00
Anthony Minessale bd6bd9ad57 add softtimer to the core, begin framework for static modules and reduces calls to gettimeofday for timestamps
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5784 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-03 16:44:11 +00:00
Anthony Minessale 50390a7083 improve mod-fifo
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5779 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-02 19:58:06 +00:00
Anthony Minessale ff61ecfc73 add read_frame_callback to input args in the core
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5777 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-02 00:09:49 +00:00
Anthony Minessale 2ffb61f283 set the variable RECORD_STEREO=true to make record_session create stereo files with each leg in it's own channel, note you cannot play these files with freewitch with playback because we don't support stereo files
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5772 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-01 16:34:28 +00:00
Anthony Minessale 1a316ca6db add log and event object recycling to reduce malloc per sec in high call load
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5768 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-30 20:05:18 +00:00
Anthony Minessale ffb989e435 tear the hell out of everything and rip it up into itsy bitsy pieces and put it all back together
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5765 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-29 01:06:08 +00:00
Anthony Minessale d33b5670f0 fix some races and alter core (do a full rebuild)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5751 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-24 19:34:25 +00:00
Anthony Minessale 5081d1fe0f globs on #includes
no leading seperator indicates realitive
to the default conf dir.

examples:
<!--#include "profiles/*"-->
<!--#include "profiles/a*.xml"-->
<!--#include "/tmp/somedir/*"-->




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5745 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-23 15:19:04 +00:00
Traun Leyden 93b98b80ad patch which causes directory xml_curl requests to pass the sofia profile name
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5727 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-20 20:09:04 +00:00
Anthony Minessale c03b9f4887 initial blind crack at passing reinvites across no-media bridges
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5718 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-19 18:24:47 +00:00
Anthony Minessale 160edc558d clean up speak code
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5670 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-28 17:06:20 +00:00
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
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
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
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
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
Anthony Minessale 5e6093a323 stupidly forgot to include linefeed and carraige return in ok chars for vars thus breaking bypass_media mode for who knows how long...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5563 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-03 16:26:32 +00:00
Anthony Minessale dbba8491dd fix core to actually work right with tts fixing a probably long standing bug with 30ms channels
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5548 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-02 00:54:39 +00:00
Anthony Minessale 189802c555 add exec_after_bridge_app and exec_after_bridge_arg and fix the hangup command in event parse
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5545 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-07-26 00:49:02 +00:00
Anthony Minessale 7feef76fb2 add uuid fsapi function, last_file_position variable, and volume controls to js callback volume:+1 etc
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5498 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-07-05 17:03:14 +00:00