mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-08-31 19:08:29 +00:00
fix: fixed issue where bridge activecalldata xsig would not be cleared when there were no calls
This commit is contained in:
parent
93435b60b5
commit
f5db28c3af
2 changed files with 15 additions and 8 deletions
|
|
@ -1382,7 +1382,14 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec
|
|||
var digitalIndex = maxStrings * maxCalls;
|
||||
var arrayIndex = 0;
|
||||
|
||||
var tokenArray = new XSigToken[maxCalls * offset]; //set array size for number of calls * pieces of info
|
||||
if (ActiveCalls.Count == 0)
|
||||
{
|
||||
var clearBytes = XSigHelpers.ClearOutputs();
|
||||
return Encoding.GetEncoding(XSigEncoding).GetString(clearBytes, 0, clearBytes.Length);
|
||||
}
|
||||
|
||||
var tokenArray = new XSigToken[maxCalls * offset]; //set array size for number of calls * pieces of info
|
||||
|
||||
|
||||
foreach (var call in ActiveCalls)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue