From: Russell Bryant Date: Sat, 1 Oct 2005 01:37:14 +0000 (+0000) Subject: fix 'say phonetic' (issue #5268) X-Git-Tag: 1.0.11.1~23 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=afdd1c55126a20325cf55ef866af79c76fa7b8d3;p=thirdparty%2Fasterisk.git fix 'say phonetic' (issue #5268) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@6706 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/say.c b/say.c index 0a8aa7680b..cc1406b603 100755 --- a/say.c +++ b/say.c @@ -377,7 +377,7 @@ int ast_say_phonetic_str_full(struct ast_channel *chan, char *fn2, char *ints, c default: /* '9' falls here... */ ltr = fn2[num]; if ('A' <= ltr && ltr <= 'Z') ltr += 'a' - 'A'; /* file names are all lower-case */ - snprintf(fn, sizeof(fn), "phonetic/%c", ltr); + snprintf(fn, sizeof(fn), "phonetic/%c_p", ltr); } /* snprintf(fn, sizeof(fn), "digits/%c", fn2[num]); */ res = ast_streamfile(chan, fn, lang);