Merged revisions 68527 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Fri, 8 Jun 2007 22:23:49 +0000 (22:23 +0000)
committerRussell Bryant <russell@russellbryant.com>
Fri, 8 Jun 2007 22:23:49 +0000 (22:23 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r68527 | russell | 2007-06-08 17:23:22 -0500 (Fri, 08 Jun 2007) | 12 lines

Merged revisions 68526 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r68526 | russell | 2007-06-08 17:22:36 -0500 (Fri, 08 Jun 2007) | 4 lines

Don't automatically hang up after running Dictate so that callers can exit
cleanly using '#'
(closes issue #9577, patch from Thomas Andrews)

........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68528 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_dictate.c

index 55d8ba9..c501b3f 100644 (file)
@@ -331,7 +331,7 @@ static int dictate_exec(struct ast_channel *chan, void *data)
                ast_set_read_format(chan, oldr);
        }
        ast_module_user_remove(u);
-       return res;
+       return 0;
 }
 
 static int unload_module(void)