Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The following scenario illustrates the process to attempt a call transfer that is rejected by the transferred party.
A call transfer is attempted and the referred party rejects the transfer.
Party A and party B are in session (RTCSS_CONNECTED). A wants to refer B to C.
// A refers the session to B.
IRTCSessionCallControl::Refer()
// A receives a session state change event.
IRTCSessionStateChangeEvent
(RTCSS_REFER)
// A is notified that the session is
// in the process of referring.
IRTCSessionReferStatusEvent
(RTCSRS_REFERRING)
// B receives notification that the session
// has been referred to another user.
IRTCSessionReferStatusEvent IRTCSessionReferredEvent
(RTCRS_REFERRED) IRTCSessionReferredEvent::Reject()
// A is notified that the session
// was rejected.
IRTCSessionReferStatusEvent
(RTCSRS_REJECTED)
// The session refer was rejected and
// the session returns to the original state.
IRTCSessionStateChangeEvent
(RTCSS_CONNECTED)