diff --git a/libs/openzap/src/isdn/Q931StateTE.c b/libs/openzap/src/isdn/Q931StateTE.c index fbdd9f08a7..6d92423ec7 100644 --- a/libs/openzap/src/isdn/Q931StateTE.c +++ b/libs/openzap/src/isdn/Q931StateTE.c @@ -813,11 +813,12 @@ L3INT Q931ProcRestartTE(Q931_TrunkInfo_t *pTrunk, L3UCHAR * buf, L3INT iFrom) } else if (iFrom ==2) { + /* TODO Add proc here*/ + ret = Q931Tx34(pTrunk,buf,pMes->Size); + if (pTrunk->autoRestartAck) { Q931AckRestart(pTrunk, buf); } - /* TODO Add proc here*/ - ret = Q931Tx34(pTrunk,buf,pMes->Size); } return ret; }