[Asterisk-cvs] asterisk/channels chan_zap.c,1.418,1.419

markster at lists.digium.com markster at lists.digium.com
Tue Mar 22 10:32:15 CST 2005


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

Modified Files:
	chan_zap.c 
Log Message:
If the D-channel goes down and comes back up, consider it "up" on any event other than a pri down event.


Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.418
retrieving revision 1.419
diff -u -d -r1.418 -r1.419
--- chan_zap.c	17 Mar 2005 23:12:15 -0000	1.418
+++ chan_zap.c	22 Mar 2005 16:26:54 -0000	1.419
@@ -7690,6 +7690,8 @@
 		if (e) {
 			if (pri->debug)
 				pri_dump_event(pri->dchans[which], e);
+			if (e->e != PRI_EVENT_DCHAN_DOWN)
+				pri->dchanavail[which] |= DCHAN_UP;
 			switch(e->e) {
 			case PRI_EVENT_DCHAN_UP:
 				if (option_verbose > 1) 




More information about the svn-commits mailing list