aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-17 03:53:45 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-17 03:53:45 +0000
commitcf76aa5fe148897529c654fcc874a3a56b5575c0 (patch)
tree57440e50d9e24ba730742b9273384b30022a554c
parent3b25286a540caf0c89d2fdc21cf36c252b2601c9 (diff)
Answer the channel before recording privacy information. (issue #8926 reported by lmamane)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@55153 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--apps/app_dial.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c
index 0b2409adf..f3d1c268b 100644
--- a/apps/app_dial.c
+++ b/apps/app_dial.c
@@ -988,6 +988,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 */