send closing voice frames on, even if they are out of sequence

pull/14/head
Tom Early 7 years ago
parent 95192e7494
commit 27734109e0

@ -1130,7 +1130,8 @@ void CQnetGateway::ProcessG2(const ssize_t g2buflen, const SDSVT &g2buf, const b
} }
} }
if ((lastctrl + 1U) % 21U == (0x3FU & g2buf.ctrl)) { if (((lastctrl + 1U) % 21U == (0x3FU & g2buf.ctrl)) || (0x40U & g2buf.ctrl)) {
// no matter what, we will send this on if it is the closing frame
lastctrl = (0x3FU & g2buf.ctrl); lastctrl = (0x3FU & g2buf.ctrl);
Gate2Modem[i].Write(g2buf.title, 27); Gate2Modem[i].Write(g2buf.title, 27);
} else { } else {

Loading…
Cancel
Save

Powered by TurnKey Linux.