[Asterisk-cvs] asterisk/channels chan_agent.c,1.126,1.127

markster at lists.digium.com markster at lists.digium.com
Sat Mar 26 20:15:07 CST 2005


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

Modified Files:
	chan_agent.c 
Log Message:
Make status update on agents properly


Index: chan_agent.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_agent.c,v
retrieving revision 1.126
retrieving revision 1.127
diff -u -d -r1.126 -r1.127
--- chan_agent.c	22 Mar 2005 19:10:21 -0000	1.126
+++ chan_agent.c	27 Mar 2005 02:09:06 -0000	1.127
@@ -681,6 +681,7 @@
 			ast_softhangup(p->chan, AST_SOFTHANGUP_EXPLICIT);
 			ast_mutex_unlock(&p->chan->lock);
 		} else {
+			ast_device_state_changed("Agent/%s", p->agent);
 			ast_mutex_lock(&p->chan->lock);
 			ast_moh_start(p->chan, p->moh);
 			ast_mutex_unlock(&p->chan->lock);




More information about the svn-commits mailing list