[mod_say_ja, mod_say_th] Fix the seconds for TIME_MEASUREMENT
This commit is contained in:
parent
322f9220b3
commit
ad455e5014
|
@ -308,7 +308,7 @@ static switch_status_t ja_say_time(switch_core_session_t *session, char *tosay,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (seconds) {
|
if (seconds) {
|
||||||
say_num(hours, SSM_PRONOUNCED);
|
say_num(seconds, SSM_PRONOUNCED);
|
||||||
say_file("time/seconds.wav");
|
say_file("time/seconds.wav");
|
||||||
} else {
|
} else {
|
||||||
if (hours || minutes) {
|
if (hours || minutes) {
|
||||||
|
|
|
@ -308,7 +308,7 @@ static switch_status_t th_say_time(switch_core_session_t *session, char *tosay,
|
||||||
if (seconds == 2) {
|
if (seconds == 2) {
|
||||||
say_file("time/2s.wav");
|
say_file("time/2s.wav");
|
||||||
} else {
|
} else {
|
||||||
say_num(hours, SSM_PRONOUNCED);
|
say_num(seconds, SSM_PRONOUNCED);
|
||||||
}
|
}
|
||||||
say_file("time/seconds.wav");
|
say_file("time/seconds.wav");
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue