mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-08-31 19:08:29 +00:00
Merge pull request #349 from PepperDash/hotfix/ciscocodec-missing-config-options
Add null check for Cisco CE codec H323 object
This commit is contained in:
commit
fe090113ce
1 changed files with 2 additions and 2 deletions
|
|
@ -1638,7 +1638,7 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.Cisco
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if (CodecConfiguration.Configuration.H323.H323Alias.E164 != null)
|
if (CodecConfiguration.Configuration.H323 != null && CodecConfiguration.Configuration.H323.H323Alias.E164 != null)
|
||||||
return CodecConfiguration.Configuration.H323.H323Alias.E164.Value;
|
return CodecConfiguration.Configuration.H323.H323Alias.E164.Value;
|
||||||
else
|
else
|
||||||
return string.Empty;
|
return string.Empty;
|
||||||
|
|
@ -1648,7 +1648,7 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.Cisco
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if (CodecConfiguration.Configuration.H323.H323Alias.ID != null)
|
if (CodecConfiguration.Configuration.H323 != null && CodecConfiguration.Configuration.H323.H323Alias.ID != null)
|
||||||
return CodecConfiguration.Configuration.H323.H323Alias.ID.Value;
|
return CodecConfiguration.Configuration.H323.H323Alias.ID.Value;
|
||||||
else
|
else
|
||||||
return string.Empty;
|
return string.Empty;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue