|
@@ -83,7 +83,7 @@ class ChannelHangupHandler(EslEventHandler):
|
|
|
hangup_cause = EslEventUtil.getVariableSipHPLIBRAHangupCause(event)
|
|
|
hangup_reason = EslEventUtil.getLIBRAHangupReason(event)
|
|
|
|
|
|
- device_info.hangup_cause = cause +"###"+ sip_invite_failure_phrase
|
|
|
+ device_info.hangup_cause = cause +"###"+ sip_invite_failure_phrase if sip_invite_failure_phrase else cause
|
|
|
device_info.sip_protocol = sip_protocol
|
|
|
device_info.sip_status = sip_status if sip_status else sip_invite_failure_status if sip_invite_failure_status else "EMPTY"
|
|
|
device_info.channel_name = channel_name
|