[Asterisk-cvs] libpri q931.c,1.66,1.67

markster at lists.digium.com markster at lists.digium.com
Thu Jun 10 14:24:56 CDT 2004


Update of /usr/cvsroot/libpri
In directory mongoose.digium.com:/tmp/cvs-serv31184

Modified Files:
	q931.c 
Log Message:
Include DS1 number


Index: q931.c
===================================================================
RCS file: /usr/cvsroot/libpri/q931.c,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -d -r1.66 -r1.67
--- q931.c	10 Jun 2004 06:51:01 -0000	1.66
+++ q931.c	10 Jun 2004 19:28:14 -0000	1.67
@@ -2221,7 +2221,7 @@
 		restart_ack(pri, c);
 		/* Notify user of restart event */
 		pri->ev.e = PRI_EVENT_RESTART;
-		pri->ev.restart.channel = c->channelno;
+		pri->ev.restart.channel = c->channelno | (c->ds1no << 8);
 		return Q931_RES_HAVEEVENT;
 	case Q931_SETUP:
 		if (missingmand) {




More information about the svn-commits mailing list