mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 16:15:04 +00:00
MODAPP-263
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13099 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
e36f452f70
commit
f94ea75494
@ -101,7 +101,11 @@ static switch_status_t play_group(switch_say_method_t method, int a, int b, int
|
||||
|
||||
if (b) {
|
||||
if (b > 1) {
|
||||
say_file("digits/%d0.wav", b);
|
||||
if ((c==0) && (method == SSM_COUNTED)) {
|
||||
say_file("digits/h-%d0.wav", b);
|
||||
} else {
|
||||
say_file("digits/%d0.wav", b);
|
||||
}
|
||||
} else {
|
||||
say_file("digits/%d%d.wav", b, c);
|
||||
c = 0;
|
||||
@ -439,6 +443,10 @@ static switch_status_t en_say_time(switch_core_session_t *session, char *tosay,
|
||||
if (say_time) {
|
||||
int32_t hour = tm.tm_hour, pm = 0;
|
||||
|
||||
if (say_date) {
|
||||
say_file("time/at.wav");
|
||||
}
|
||||
|
||||
if (hour > 12) {
|
||||
hour -= 12;
|
||||
pm = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user