From: Anthony Minessale Date: Fri, 1 Apr 2011 00:12:05 +0000 (-0500) Subject: FS-3207 --resolve X-Git-Tag: v1.2-rc1~120^2~5^2~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdcd36337a1d76a2781a78aa631126bc3b4c68f6;p=thirdparty%2Ffreeswitch.git FS-3207 --resolve --- diff --git a/src/mod/say/mod_say_en/mod_say_en.c b/src/mod/say/mod_say_en/mod_say_en.c index 0128b679ad..01409c7b21 100644 --- a/src/mod/say/mod_say_en/mod_say_en.c +++ b/src/mod/say/mod_say_en/mod_say_en.c @@ -487,7 +487,7 @@ static switch_status_t say_spell(switch_say_file_handle_t *sh, char *tosay, swit for (p = tosay; p && *p; p++) { int a = tolower((int) *p); if (a >= '0' && a <= '9') { - switch_say_file(sh, "digits/%d", a - '0'); + switch_say_file(sh, "digits/%c", a); } else { if (say_args->type == SST_NAME_SPELLED) { switch_say_file(sh, "ascii/%d", a);