aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-17 03:57:23 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-17 03:57:23 +0000
commit2cf6dc123086a7b5f757f4d1a8f8c5c904e11831 (patch)
tree2d1a36707a1531b78f150cb64d7bab44ecac693f /apps
parentdbe5d35f65d1009f0b1a2204f44d652035f51b23 (diff)
Merged revisions 55154 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r55154 | file | 2007-02-16 22:55:30 -0500 (Fri, 16 Feb 2007) | 10 lines 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/trunk@55155 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-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 524837f12..2b2039622 100644
--- a/apps/app_dial.c
+++ b/apps/app_dial.c
@@ -1148,6 +1148,7 @@ static int setup_privacy_args(struct privacy_args *pa,
"At the tone, please say your name:"
*/
+ ast_answer(chan);
res = ast_play_and_record(chan, "priv-recordintro", pa->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 pa.privintro file */