Resolved a couple of wave file naming inconsistencies
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9228 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
8b4433720e
commit
3b9eb062b3
|
@ -411,7 +411,7 @@ static switch_status_t zh_say_time(switch_core_session_t *session,
|
|||
} else {
|
||||
if (hours || minutes) {
|
||||
say_file("digits/0.wav");
|
||||
say_file("time/seconds.wav");
|
||||
say_file("time/second.wav");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -455,9 +455,9 @@ static switch_status_t zh_say_time(switch_core_session_t *session,
|
|||
if (hour < 6) {
|
||||
say_file("time/morning.wav");
|
||||
} else if (hour < 12) {
|
||||
say_file("time/a-m.wav");
|
||||
say_file("time/am.wav");
|
||||
} else if (tm.tm_hour < 18) {
|
||||
say_file("time/p-m.wav");
|
||||
say_file("time/pm.wav");
|
||||
} else {
|
||||
say_file("time/evening.wav");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue