Make sure we always record last time, even if packet rejected by LoopControl
This commit is contained in:
parent
84a92d8963
commit
94418256ec
|
@ -1272,6 +1272,11 @@ class routerOBP(OPENBRIDGE):
|
||||||
|
|
||||||
|
|
||||||
if _call_type == 'group':
|
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?
|
# Is this a new call stream?
|
||||||
if (_stream_id not in self.STATUS):
|
if (_stream_id not in self.STATUS):
|
||||||
|
|
||||||
|
@ -1339,7 +1344,6 @@ class routerOBP(OPENBRIDGE):
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
self.STATUS[_stream_id]['LAST'] = pkt_time
|
|
||||||
|
|
||||||
|
|
||||||
#Create STAT bridge for unknown TG
|
#Create STAT bridge for unknown TG
|
||||||
|
|
Loading…
Reference in New Issue