From f8b7c404a08e87b27d533fde83abedefb5626e72 Mon Sep 17 00:00:00 2001 From: Mark Spencer Date: Sun, 27 Jun 2004 20:29:53 +0000 Subject: [PATCH] Don't expect connect acknowledge on CPE when GR-303 mode git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@124 2fbb986a-6c06-0410-b554-c9c1f0a7f128 --- q931.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/q931.c b/q931.c index 14cd0f6..386cd6f 100755 --- a/q931.c +++ b/q931.c @@ -2095,7 +2095,7 @@ int q931_connect(struct pri *pri, q931_call *c, int channel, int nonisdn) /* 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); }