mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 20:08:17 +00:00
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: https://origsvn.digium.com/svn/asterisk/trunk@55155 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user