[Asterisk-cvs] asterisk/channels chan_agent.c,1.138,1.139

markster at lists.digium.com markster at lists.digium.com
Sat Jun 18 12:37:40 CDT 2005


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv6429/channels

Modified Files:
	chan_agent.c 
Log Message:
Fix agent recording issue (bug #4551)


Index: chan_agent.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_agent.c,v
retrieving revision 1.138
retrieving revision 1.139
diff -u -d -r1.138 -r1.139
--- chan_agent.c	7 Jun 2005 17:06:33 -0000	1.138
+++ chan_agent.c	18 Jun 2005 16:38:48 -0000	1.139
@@ -447,6 +447,10 @@
  					f = &null_frame;
  				} else {
  					p->acknowledged = 1;
+ 					/* Use the builtin answer frame for the 
+					   recording start check below. */
+ 					ast_frfree(f);
+ 					f = &answer_frame;
  				}
  			}
  			break;




More information about the svn-commits mailing list