Stings of files

method 1 high level (core most funcs that use switch_ivr_playback)

Delimiter is set by a var which also enables the parser 
<action application="set" data="playback_delimiter=!"/>
<action application="set" data="playback_sleep_val=500"/>
<action application="playback" data="/ram/sr8k.wav!/ram/swimp.wav"/>

method 2 low level (mod_file_string lower level code that uses direct file handles)

Delimiter is always !
<action application="playback" data="file_string:///ram/sr8k.wav!/ram/swimp.wav"/>



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13182 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2009-04-28 23:46:18 +00:00
parent b266da15a4
commit e223c655b8
8 changed files with 1005 additions and 420 deletions

View File

@@ -40,8 +40,6 @@ SWITCH_MODULE_DEFINITION(mod_dptools, mod_dptools_load, NULL, NULL);
SWITCH_STANDARD_DIALPLAN(inline_dialplan_hunt)
{
switch_caller_extension_t *extension = NULL;
char *argv[128] = { 0 };
int argc;
switch_channel_t *channel = switch_core_session_get_channel(session);
int x = 0;
char *lbuf;
@@ -1834,7 +1832,7 @@ SWITCH_STANDARD_APP(playback_function)
{
switch_input_args_t args = { 0 };
switch_channel_t *channel = switch_core_session_get_channel(session);
switch_status_t status;
switch_status_t status = SWITCH_STATUS_SUCCESS;
args.input_callback = on_dtmf;