An incoming transfer request is signaled by the receipt of a REFER. Use nccHandleTransferRequest to either accept or reject the incoming request. If the request is accepted, the SIP stack automatically attempts to transfer the call. NCC events are sent to the application detailing the progress of the transfer and whether the transfer succeeds or fails.
DWORD NMSAPI nccHandleTransferRequest ( NCC_CALLHD callhd, unsigned accept, void *sipIEs)
Argument |
Description |
callhd |
Call handle returned to the application with the NCCEVN_SEIZURE_DETECTED event or returned from nccPlaceCall. |
accept |
Flag indicating whether to accept or reject an incoming REFER. Non-zero = accept Zero = reject |
sipIEs |
NULL or pointer to a buffer containing SIP IEs. |
ret = nccHandleTransferRequest( callhd, true, sipIes );