Make sure we always record last time, even if packet rejected by LoopControl

This commit is contained in:
Simon 2021-04-16 02:09:45 +01:00
parent 84a92d8963
commit 94418256ec
1 changed files with 5 additions and 1 deletions

View File

@ -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