[Asterisk-cvs] asterisk/channels chan_agent.c,1.53,1.54

markster at lists.digium.com markster at lists.digium.com
Wed Sep 3 23:02:38 CDT 2003


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

Modified Files:
	chan_agent.c 
Log Message:
Base ackcall on newly available agent, not the pending one


Index: chan_agent.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_agent.c,v
retrieving revision 1.53
retrieving revision 1.54
diff -C2 -d -r1.53 -r1.54
*** chan_agent.c	27 Aug 2003 15:59:43 -0000	1.53
--- chan_agent.c	4 Sep 2003 04:03:47 -0000	1.54
***************
*** 789,793 ****
  		ast_mutex_unlock(&agentlock);
  	if (parent && chan)  {
! 		if (p->ackcall > 1) {
  			/* Don't do beep here */
  			res = 0;
--- 789,793 ----
  		ast_mutex_unlock(&agentlock);
  	if (parent && chan)  {
! 		if (newlyavailable->ackcall > 1) {
  			/* Don't do beep here */
  			res = 0;




More information about the svn-commits mailing list