]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
MODAPP-263
authorAnthony Minessale <anthony.minessale@gmail.com>
Tue, 21 Apr 2009 13:23:38 +0000 (13:23 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Tue, 21 Apr 2009 13:23:38 +0000 (13:23 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13099 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/say/mod_say_en/mod_say_en.c

index ce4f32e667dc3a1b5d498cf9e01d0fa6d7782729..33afc4276123c5f3a04d148c55b3528ca99dc594 100644 (file)
@@ -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;