Commit Graph

237 Commits

Author SHA1 Message Date
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 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 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
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 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
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 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 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
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 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 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 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 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 333fa35773 add reset state (make sure you do full rebuild)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5493 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-07-03 02:10:35 +00:00
Anthony Minessale fdf9a8f052 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5465 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-25 21:25:33 +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
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 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 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
Anthony Minessale 4ca73d77e0 upgrade fax_detect to tone_detect
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5379 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-16 02:25:40 +00:00
Anthony Minessale 95f007586f stage 1 of wrecking ball (duck!)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5347 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-13 20:40:06 +00:00
Michael Jerris 14608093b1 add new macros and approach to module loader.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5337 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-13 14:35:55 +00:00
Anthony Minessale f1bede824c update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5318 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-13 03:09:53 +00:00
Anthony Minessale 724de2b52d add selective challenge to sofia via reject app
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5297 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-08 22:28:32 +00:00
Michael Jerris f32f6f24d7 sun studio/solaris build fixes
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5290 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-08 14:52:50 +00:00
Michael Jerris 4f04ce0518 merge patch from MODAPP-12, thanks Bret.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5257 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-04 22:10:42 +00:00
Anthony Minessale 7a8c84791f update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5177 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-14 18:18:38 +00:00
Michael Jerris 606199ff20 create macro to define scheduler function prototypes.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5168 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-12 21:43:41 +00:00
Michael Jerris 521eac756e create macro to define api command prototypes.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5167 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-12 21:36:15 +00:00
Michael Jerris a4ff7e88da adding const qualifiers across the api as appropriate.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5165 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-12 14:48:14 +00:00
Anthony Minessale d6efffd9bc these aren't the droids you're looking for....
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5115 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-09 19:44:15 +00:00
Anthony Minessale af97953adc add a fixed jitterbuffer to rtp (settable from a channel variable) (libSTFU)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5090 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-04 23:29:35 +00:00
Anthony Minessale 1be5b1ff45 general improvements
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5078 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-03 16:28:23 +00:00
Anthony Minessale a6a5dd0cd7 add mod_esf (extra sip functionality)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5057 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-01 21:21:35 +00:00
Anthony Minessale c4eb29aa8f recursion protection
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5040 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-29 03:42:38 +00:00
Anthony Minessale b7606ea4ea add reject app to do custom sip rejects
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4997 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-21 15:04:01 +00:00
Anthony Minessale 7da3873056 add app log
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4994 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-21 01:03:58 +00:00
Anthony Minessale b5a10d5a14 add new execute_extension application to execute another extension in the current scope
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4993 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-20 23:45:14 +00:00
Anthony Minessale a1725ad334 modest core framework for video stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4977 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-19 21:40:50 +00:00
Anthony Minessale f40f87ebca <refactor>
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4944 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-16 16:53:30 +00:00
Anthony Minessale ff44ce11cc let unicast mode operate on the native codec if desired
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4925 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-13 16:24:02 +00:00
Anthony Minessale 4b9afa2b36 unicast framework
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4900 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-09 18:38:47 +00:00
Anthony Minessale e47596fca5 cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4832 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-02 20:20:46 +00:00
Michael Jerris a75defc898 fix mod_cdr build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4827 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-01 22:18:53 +00:00
Anthony Minessale ad7a1b2e67 hold stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4816 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 22:13:19 +00:00
Anthony Minessale 33efc5eeb5 tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4805 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 14:57:06 +00:00