]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 55153 via svnmerge from
authorJoshua Colp <jcolp@digium.com>
Sat, 17 Feb 2007 03:55:30 +0000 (03:55 +0000)
committerJoshua Colp <jcolp@digium.com>
Sat, 17 Feb 2007 03:55:30 +0000 (03:55 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r55153 | file | 2007-02-16 22:53:45 -0500 (Fri, 16 Feb 2007) | 2 lines

Answer the channel before recording privacy information. (issue #8926 reported by lmamane)

........

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

apps/app_dial.c

index a585cfaa96788762551184d403637a44a630c6de..21362443ff1133408f1b7d3de586ec23985a864c 100644 (file)
@@ -1034,6 +1034,7 @@ static int dial_exec_full(struct ast_channel *chan, void *data, struct ast_flags
                                   "At the tone, please say your name:"
 
                                */
+                               ast_answer(chan);
                                res = ast_play_and_record(chan, "priv-recordintro", privintro, 4, "gsm", &duration, 128, 2000, 0);  /* NOTE: I've reduced the total time to 4 sec */
                                                                                /* don't think we'll need a lock removed, we took care of
                                                                                   conflicts by naming the privintro file */