[Asterisk-cvs] asterisk/channels chan_zap.c,1.344,1.344.2.1

russell at lists.digium.com russell at lists.digium.com
Fri Oct 1 20:10:15 CDT 2004


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

Modified Files:
      Tag: v1-0
	chan_zap.c 
Log Message:
Use event2str consisitently in chan_zap anytime we are printing debug info about an event (bug 2548)


Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.344
retrieving revision 1.344.2.1
diff -u -d -r1.344 -r1.344.2.1
--- chan_zap.c	26 Sep 2004 18:16:06 -0000	1.344
+++ chan_zap.c	2 Oct 2004 00:12:20 -0000	1.344.2.1
@@ -7355,7 +7355,7 @@
 					x = 0;
 					res = ioctl(pri->fds[which], ZT_GETEVENT, &x);
 					if (x) 
-						ast_log(LOG_NOTICE, "PRI got event: %d on %s D-channel of span %d\n", x, pri_order(which), pri->span);
+						ast_log(LOG_NOTICE, "PRI got event: %s (%d) on %s D-channel of span %d\n", event2str(x), x, pri_order(which), pri->span);	
 					/* Keep track of alarm state */	
 					if (x == ZT_EVENT_ALARM) {
 						pri->dchanavail[which] &= ~(DCHAN_NOTINALARM | DCHAN_UP);




More information about the svn-commits mailing list