FS-4600 --resolve

This commit is contained in:
Brian West 2012-09-14 10:30:13 -05:00
parent 4100c3b532
commit dc599db683
1 changed files with 7 additions and 4 deletions

View File

@ -335,20 +335,23 @@ static switch_status_t hu_say_time(switch_core_session_t *session, char *tosay,
say_today = say_yesterday = 0;
}
if (say_year) {
say_num(tm.tm_year + 1900, SSM_PRONOUNCED);
}
if (say_month) {
say_file("time/mon-%d.wav", tm.tm_mon);
}
if (say_day) {
say_num(tm.tm_mday, SSM_COUNTED);
}
if (say_year) {
say_num(tm.tm_year + 1900, SSM_PRONOUNCED);
say_num(tm.tm_mday, SSM_PRONOUNCED);
}
if (say_time) {
say_num(tm.tm_hour, SSM_PRONOUNCED);
say_file("time/hour.wav");
say_num(tm.tm_min, SSM_PRONOUNCED);
say_file("time/minute.wav");
}