mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-01 13:22:40 +00:00
rss string tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1853 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
0c1c2748ed
commit
6414ff552b
@ -303,14 +303,14 @@ static void rss_function(switch_core_session_t *session, char *data)
|
|||||||
switch_core_speech_flush_tts(&sh);
|
switch_core_speech_flush_tts(&sh);
|
||||||
#ifdef MATCH_COUNT
|
#ifdef MATCH_COUNT
|
||||||
snprintf(buf + len, sizeof(buf) - len,
|
snprintf(buf + len, sizeof(buf) - len,
|
||||||
"Main Menu. <break time=\"600ms\"/> "
|
",<break time=\"500ms\"/>Main Menu. <break time=\"600ms\"/> "
|
||||||
"Select one of the following news sources, or press 0 to exit. "
|
"Select one of the following news sources, or press 0 to exit. "
|
||||||
"<break time=\"600ms\"/>");
|
",<break time=\"600ms\"/>");
|
||||||
#else
|
#else
|
||||||
snprintf(buf + len, sizeof(buf) - len,
|
snprintf(buf + len, sizeof(buf) - len,
|
||||||
"Main Menu. <break time=\"600ms\"/> "
|
",<break time=\"500ms\"/>Main Menu. <break time=\"600ms\"/> "
|
||||||
"Select one of the following news sources, followed by the pound key or press 0 to exit. "
|
"Select one of the following news sources, followed by the pound key or press 0 to exit. "
|
||||||
"<break time=\"600ms\"/>");
|
",<break time=\"600ms\"/>");
|
||||||
#endif
|
#endif
|
||||||
len = (int32_t)strlen(buf);
|
len = (int32_t)strlen(buf);
|
||||||
|
|
||||||
@ -489,7 +489,7 @@ static void rss_function(switch_core_session_t *session, char *data)
|
|||||||
switch_strftime(date, &retsize, sizeof(date), "%I:%M %p", &tm);
|
switch_strftime(date, &retsize, sizeof(date), "%I:%M %p", &tm);
|
||||||
|
|
||||||
|
|
||||||
snprintf(buf, sizeof(buf), "%s. %s. %s. local time: %s, Press 0 for options, 5 to change voice, or pound to return to the main menu. ",
|
snprintf(buf, sizeof(buf), ",<break time=\"500ms\"/>%s. %s. %s. local time: %s, Press 0 for options, 5 to change voice, or pound to return to the main menu. ",
|
||||||
title_txt, description_txt, rights_txt, date);
|
title_txt, description_txt, rights_txt, date);
|
||||||
status = switch_ivr_speak_text_handle(session,
|
status = switch_ivr_speak_text_handle(session,
|
||||||
&sh,
|
&sh,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user