diff options
author | Kinsey Moore <kmoore@digium.com> | 2013-08-22 22:33:48 +0000 |
---|---|---|
committer | Kinsey Moore <kmoore@digium.com> | 2013-08-22 22:33:48 +0000 |
commit | 7b032c1adb10d79f8610e88d2baf5cacf3ba9f58 (patch) | |
tree | 7c10a365fa41daaf9ad9bb1535d6ebad188cb406 /main/channel.c | |
parent | aefebebd37add82bbea2d3423a5fc5f28feb2c60 (diff) |
Add SayAlphaCase and similar functionality for AGI
This adds a new dialplan application, SayAlphaCase, that performs much
the same function as SayAlpha except that it takes additional options
which allow the user to specify whether the case of each letter should
be announced for uppercase, lowercase, or all letters. Similar
functionality has been added to the SAY ALPHA AGI command via an
optional parameter.
Original Patch by: Kevin Scott Adams
Reported by: Kevin Scott Adams
Review: https://reviewboard.asterisk.org/r/2725/
(closes issue ASTERISK-20782)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@397493 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/channel.c')
-rw-r--r-- | main/channel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/channel.c b/main/channel.c index c5ff77b86..5daf5825e 100644 --- a/main/channel.c +++ b/main/channel.c @@ -7792,9 +7792,9 @@ int ast_say_digit_str(struct ast_channel *chan, const char *str, } int ast_say_character_str(struct ast_channel *chan, const char *str, - const char *ints, const char *lang) + const char *ints, const char *lang, enum ast_say_case_sensitivity sensitivity) { - return ast_say_character_str_full(chan, str, ints, lang, -1, -1); + return ast_say_character_str_full(chan, str, ints, lang, sensitivity, -1, -1); } int ast_say_phonetic_str(struct ast_channel *chan, const char *str, |