freeswitch/src/include
Anthony Minessale ae9d56e288 Adding bugs to the core
This is the primary commit to add bugs to the core (media bugs that is)
Media bugs are kind of like what ChanSpy is in Asterisk only cooler (I wrote ChanSpy too so I can say that)

Here is an example of using them to record a call by the higher level switch_ivr functionality passed
up to the dialplan via mod_playback.

The call will be recorded while the some.wav plays then stop for the rest of the call (when some_other.wav plays)

The bugs may have bugs since this is 1 day's work so happy hunting ......

<extension name="42">
  <condition field="destination_number" expression="^42$">
   <action application="set" data="RECORD_TITLE=recording test"/>
   <action application="set" data="RECORD_ARTIST=FreeSWITCH"/>
    <action application="record_session" data="/tmp/rtest.wav"/>
    <action application="playback" data="/tmp/some.wav"/>
    <action application="stop_record_session" data="/tmp/rtest.wav"/>
    <action application="playback" data="/tmp/some_other.wav"/>
  </condition>
</extension>



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2588 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-09 03:39:28 +00:00
..
switch.h what comes up must come down 2006-09-07 15:15:39 +00:00
switch_am_config.h.in add mlockall 2006-06-09 15:39:12 +00:00
switch_apr.h what comes up must come down 2006-09-07 15:15:39 +00:00
switch_bitpack.h what comes up must come down 2006-09-07 15:15:39 +00:00
switch_buffer.h add dynamic buffers 2006-09-08 18:57:24 +00:00
switch_caller.h what comes up must come down 2006-09-07 15:15:39 +00:00
switch_channel.h add dynamic buffers 2006-09-08 18:57:24 +00:00
switch_config.h what comes up must come down 2006-09-07 15:15:39 +00:00
switch_console.h what comes up must come down 2006-09-07 15:15:39 +00:00
switch_core.h Adding bugs to the core 2006-09-09 03:39:28 +00:00
switch_event.h what comes up must come down 2006-09-07 15:15:39 +00:00
switch_frame.h what comes up must come down 2006-09-07 15:15:39 +00:00
switch_ivr.h Adding bugs to the core 2006-09-09 03:39:28 +00:00
switch_loadable_module.h what comes up must come down 2006-09-07 15:15:39 +00:00
switch_log.h what comes up must come down 2006-09-07 15:15:39 +00:00
switch_module_interfaces.h what comes up must come down 2006-09-07 15:15:39 +00:00
switch_platform.h what comes up must come down 2006-09-07 15:15:39 +00:00
switch_resample.h what comes up must come down 2006-09-07 15:15:39 +00:00
switch_rtp.h what comes up must come down 2006-09-07 15:15:39 +00:00
switch_sqlite.h what comes up must come down 2006-09-07 15:15:39 +00:00
switch_stun.h what comes up must come down 2006-09-07 15:15:39 +00:00
switch_types.h Adding bugs to the core 2006-09-09 03:39:28 +00:00
switch_utils.h Adding bugs to the core 2006-09-09 03:39:28 +00:00
switch_version.h.in version stuff 2006-01-06 17:44:19 +00:00
switch_xml.h what comes up must come down 2006-09-07 15:15:39 +00:00