Modified: freeswitch/trunk/src/include/switch_ivr.h (15459 => 15460)
--- freeswitch/trunk/src/include/switch_ivr.h 2009-11-13 15:52:20 UTC (rev 15459)
+++ freeswitch/trunk/src/include/switch_ivr.h 2009-11-13 16:37:23 UTC (rev 15460)
@@ -320,7 +320,7 @@
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
Modified: freeswitch/trunk/src/switch_ivr_play_say.c (15459 => 15460)
--- freeswitch/trunk/src/switch_ivr_play_say.c 2009-11-13 15:52:20 UTC (rev 15459)
+++ freeswitch/trunk/src/switch_ivr_play_say.c 2009-11-13 16:37:23 UTC (rev 15460)
@@ -745,7 +745,7 @@
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 };