From 94418256ec5ac5e61f56483d4d74c2c5f7923014 Mon Sep 17 00:00:00 2001 From: Simon Date: Fri, 16 Apr 2021 02:09:45 +0100 Subject: [PATCH] Make sure we always record last time, even if packet rejected by LoopControl --- bridge_master.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bridge_master.py b/bridge_master.py index 5a66de7..3fb4479 100755 --- a/bridge_master.py +++ b/bridge_master.py @@ -1272,6 +1272,11 @@ class routerOBP(OPENBRIDGE): if _call_type == 'group': + + + #Put this here as I think we risk timing out a stream too soon if it is rejected + self.STATUS[_stream_id]['LAST'] = pkt_time + # Is this a new call stream? if (_stream_id not in self.STATUS): @@ -1339,7 +1344,6 @@ class routerOBP(OPENBRIDGE): return - self.STATUS[_stream_id]['LAST'] = pkt_time #Create STAT bridge for unknown TG