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); }