[asterisk-commits] file: branch 1.2 r55153 - /branches/1.2/apps/app_dial.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Feb 16 20:53:46 MST 2007


Author: file
Date: Fri Feb 16 21:53:45 2007
New Revision: 55153

URL: http://svn.digium.com/view/asterisk?view=rev&rev=55153
Log:
Answer the channel before recording privacy information. (issue #8926 reported by lmamane)

Modified:
    branches/1.2/apps/app_dial.c

Modified: branches/1.2/apps/app_dial.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/apps/app_dial.c?view=diff&rev=55153&r1=55152&r2=55153
==============================================================================
--- branches/1.2/apps/app_dial.c (original)
+++ branches/1.2/apps/app_dial.c Fri Feb 16 21:53:45 2007
@@ -988,6 +988,7 @@
 				   "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 */



More information about the asterisk-commits mailing list