MSP_CALL_EVENT_CAUSE enumeration (msp.h)
The MSP_CALL_EVENT_CAUSE constant is returned within the MSP_EVENT_INFO struct by the GetEvent method when MSP_EVENT is ME_CALL_EVENT.
Syntax
typedef enum __MIDL___MIDL_itf_msp_0000_0000_0003 {
CALL_CAUSE_UNKNOWN = 0,
CALL_CAUSE_BAD_DEVICE,
CALL_CAUSE_CONNECT_FAIL,
CALL_CAUSE_LOCAL_REQUEST,
CALL_CAUSE_REMOTE_REQUEST,
CALL_CAUSE_MEDIA_TIMEOUT,
CALL_CAUSE_MEDIA_RECOVERED,
CALL_CAUSE_QUALITY_OF_SERVICE
} MSP_CALL_EVENT_CAUSE;
Constants
CALL_CAUSE_UNKNOWN Value: 0 Call event cause is unknown. |
CALL_CAUSE_BAD_DEVICE A bad device caused failure, for either STREAM_FAIL or TERMINAL_FAIL. |
CALL_CAUSE_CONNECT_FAIL Either connecting the stream failed or connecting the terminal failed. Note that if a terminal cannot be connected to a stream, the application will get a TERMINAL_FAIL event with CMC_CONNECT_FAIL. If this stream failed because the terminal is the only one to use, the application will also get a STREAM_FAIL event with CMC_CONNECT_FAIL. |
CALL_CAUSE_LOCAL_REQUEST The event is the result of the application calling a method on the stream. |
CALL_CAUSE_REMOTE_REQUEST The event is the result of the remote endpoint's request. |
CALL_CAUSE_MEDIA_TIMEOUT The media that carries the stream is temporarily not available. |
CALL_CAUSE_MEDIA_RECOVERED The media that carries the stream is back to normal from a temporary denial of service. |
CALL_CAUSE_QUALITY_OF_SERVICE |
Requirements
Requirement | Value |
---|---|
Header | msp.h (include Tapi3.h) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for