Constructor
-
new CallEndEvent(reason, reasonProtocol, reasonCause, reasonText)
-
Represents information to be used for call end event.
Parameters:
Name Type Description reasonAvayaClientServices.Services.Call.CallEndReason End call reason.
reasonProtocolstring Pass through end call reason protocol.
reasonCausenumber Pass through end call reason cause.
reasonTextstring Pass through end call reason message.
Methods
-
getReason() → {AvayaClientServices.Services.Call.CallEndReason}
-
Returns the end call reason.
Returns:
-
getReasonCause() → {number}
-
Returns the end call reason cause.
Returns:
{ number }
-
getReasonProtocol() → {string}
-
Returns the end call reason protocol.
Returns:
{ string }
-
getReasonText() → {string}
-
Returns the end call reason message.
Returns:
{ string }