Merged revisions 68351 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r68351 | russell | 2007-06-07 18:13:33 -0500 (Thu, 07 Jun 2007) | 3 lines

Fix a problem where saying a character wouldn't properly break out when the caller pressed '#'
(issue #8113, reported by patbaker82, patch from jamesgolovich (hey, long time no see!) and patbaker82)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@68354 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4
Russell Bryant 18 years ago
parent 30d9a8a20b
commit 08a7d6a06b

@ -67,7 +67,7 @@ static int say_character_str_full(struct ast_channel *chan, const char *str, con
int num = 0;
int res = 0;
while (str[num]) {
while (str[num] && !res) {
fn = NULL;
switch (str[num]) {
case ('*'):
@ -142,7 +142,7 @@ static int say_phonetic_str_full(struct ast_channel *chan, const char *str, cons
int num = 0;
int res = 0;
while (str[num]) {
while (str[num] && !res) {
fn = NULL;
switch (str[num]) {
case ('*'):

Loading…
Cancel
Save