From 975f1173009256021749f7df0ea3af448e1520aa Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Sat, 17 Feb 2007 03:53:45 +0000 Subject: [PATCH] Answer the channel before recording privacy information. (issue #8926 reported by lmamane) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@55153 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_dial.c | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/app_dial.c b/apps/app_dial.c index 0b2409adf4..f3d1c268b1 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 */ -- 2.47.2