[Asterisk-cvs] libpri q931.c,1.80,1.81

markster at lists.digium.com markster at lists.digium.com
Sun Jun 27 16:44:01 CDT 2004


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

Modified Files:
	q931.c 
Log Message:
Don't expect connect acknowledge on CPE when GR-303 mode


Index: q931.c
===================================================================
RCS file: /usr/cvsroot/libpri/q931.c,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -d -r1.80 -r1.81
--- q931.c	26 Jun 2004 04:37:09 -0000	1.80
+++ q931.c	27 Jun 2004 20:29:53 -0000	1.81
@@ -2095,7 +2095,7 @@
 	/* Setup timer */
 	if (c->retranstimer)
 		pri_schedule_del(pri, c->retranstimer);
-	if (pri->localtype == PRI_CPE)
+	if ((pri->localtype == PRI_CPE) && (!pri->subchannel))
 		c->retranstimer = pri_schedule_event(pri, T_313, pri_connect_timeout, c);
 	return send_message(pri, c, Q931_CONNECT, connect_ies);
 }




More information about the svn-commits mailing list