[Asterisk-cvs] asterisk/channels chan_zap.c,1.261,1.262

markster at lists.digium.com markster at lists.digium.com
Thu Jun 10 13:57:01 CDT 2004


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

Modified Files:
	chan_zap.c 
Log Message:
Display which span/channel we're receiving restarts on


Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.261
retrieving revision 1.262
diff -u -d -r1.261 -r1.262
--- chan_zap.c	9 Jun 2004 13:55:52 -0000	1.261
+++ chan_zap.c	10 Jun 2004 19:00:20 -0000	1.262
@@ -6867,8 +6867,8 @@
 							PRI_SPAN(e->restart.channel), PRI_CHANNEL(e->restart.channel), pri->span);
 					else {
 						if (option_verbose > 2)
-							ast_verbose(VERBOSE_PREFIX_3 "B-channel %d restarted on span %d\n", 
-								e->restart.channel, pri->span);
+							ast_verbose(VERBOSE_PREFIX_3 "B-channel %d/%d restarted on span %d\n", 
+								PRI_SPAN(e->restart.channel), PRI_CHANNEL(e->restart.channel), pri->span);
 						ast_mutex_lock(&pri->pvts[chanpos]->lock);
 						if (pri->pvts[chanpos]->call) {
 							pri_destroycall(pri->pri, pri->pvts[chanpos]->call);




More information about the svn-commits mailing list