diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-02-17 03:55:30 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-02-17 03:55:30 +0000 |
commit | d3f090c7a8ff244c8a4e706b1c7376ce2786b470 (patch) | |
tree | 22cf72bb0912c0942bad2a6c57c2df22b4cb26df /apps/app_dial.c | |
parent | 32ef12ef18ff2013e140ce7b09350210d9c8b292 (diff) |
Merged revisions 55153 via svnmerge from
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: http://svn.digium.com/svn/asterisk/branches/1.4@55154 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_dial.c')
-rw-r--r-- | apps/app_dial.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c index a585cfaa9..21362443f 100644 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -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 */ |