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
This commit is contained in:
parent
b93317f38b
commit
f8b7c404a0
2
q931.c
2
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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user