From 0961ecb4b06fb60e6a02f0c5c928cbaa894cba29 Mon Sep 17 00:00:00 2001 From: Martin Pycko Date: Tue, 9 Dec 2003 15:55:48 +0000 Subject: [PATCH] Don't expect CONNECT_ACK after we send CONNECT if we're the network and they're the user. git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@70 2fbb986a-6c06-0410-b554-c9c1f0a7f128 --- q931.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/q931.c b/q931.c index 3df8baf..4dac18d 100755 --- a/q931.c +++ b/q931.c @@ -1666,7 +1666,8 @@ int q931_connect(struct pri *pri, q931_call *c, int channel, int nonisdn) /* 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); }