[Asterisk-cvs] libpri q931.c,1.41,1.42

martinp at lists.digium.com martinp at lists.digium.com
Tue Dec 9 10:04:25 CST 2003


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

Modified Files:
	q931.c 
Log Message:
Don't expect CONNECT_ACK after we send CONNECT if we're the network and they're the user.


Index: q931.c
===================================================================
RCS file: /usr/cvsroot/libpri/q931.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -r1.41 -r1.42
--- q931.c	5 Dec 2003 23:10:33 -0000	1.41
+++ q931.c	9 Dec 2003 15:55:48 -0000	1.42
@@ -1666,7 +1666,8 @@
 	/* Setup timer */
 	if (c->retranstimer)
 		pri_schedule_del(pri, c->retranstimer);
-	c->retranstimer = pri_schedule_event(pri, T_313, pri_connect_timeout, c);
+	if (pri->localtype == PRI_CPE)
+		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