mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-18 18:58:22 +00:00
fix 'say phonetic' (issue #5268)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@6706 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
2
say.c
2
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);
|
||||
|
Reference in New Issue
Block a user