const
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15460 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
45dc6306ee
commit
bd85ca8108
|
@ -320,7 +320,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_play_file(switch_core_session_t *sess
|
|||
SWITCH_DECLARE(switch_status_t) switch_ivr_wait_for_silence(switch_core_session_t *session, uint32_t thresh, uint32_t silence_hits,
|
||||
uint32_t listen_hits, uint32_t timeout_ms, const char *file);
|
||||
|
||||
SWITCH_DECLARE(switch_status_t) switch_ivr_gentones(switch_core_session_t *session, char *script, int32_t loops, switch_input_args_t *args);
|
||||
SWITCH_DECLARE(switch_status_t) switch_ivr_gentones(switch_core_session_t *session, const char *script, int32_t loops, switch_input_args_t *args);
|
||||
|
||||
/*!
|
||||
\brief record a file from the session to a file
|
||||
|
|
|
@ -745,7 +745,7 @@ static int teletone_handler(teletone_generation_session_t *ts, teletone_tone_map
|
|||
return 0;
|
||||
}
|
||||
|
||||
SWITCH_DECLARE(switch_status_t) switch_ivr_gentones(switch_core_session_t *session, char *script, int32_t loops, switch_input_args_t *args)
|
||||
SWITCH_DECLARE(switch_status_t) switch_ivr_gentones(switch_core_session_t *session, const char *script, int32_t loops, switch_input_args_t *args)
|
||||
{
|
||||
teletone_generation_session_t ts;
|
||||
switch_dtmf_t dtmf = { 0 };
|
||||
|
|
Loading…
Reference in New Issue