From b44be39a164fc58102870c61c3c01822a6c565f4 Mon Sep 17 00:00:00 2001 From: Simon Date: Fri, 16 Apr 2021 01:46:28 +0100 Subject: [PATCH] Move where dup seq. is recorded --- bridge_master.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bridge_master.py b/bridge_master.py index e6f588a..c8cd668 100755 --- a/bridge_master.py +++ b/bridge_master.py @@ -1259,6 +1259,9 @@ class routerOBP(OPENBRIDGE): elif _seq == True and _seq > (self._lastSeq+1): logger.debug("(%s) Missed packet - last sequence number %s, this sequence number %s",self._system,self._lastSeq,_seq) + #Save this sequence number + self._lastSeq = _seq + if _call_type == 'group': # Is this a new call stream? @@ -1330,8 +1333,6 @@ class routerOBP(OPENBRIDGE): self.STATUS[_stream_id]['LAST'] = pkt_time - #Save this sequence number - self._lastSeq = _seq #Create STAT bridge for unknown TG if CONFIG['GLOBAL']['GEN_STAT_BRIDGES']: