# SIP error codes

The following table lists the SIP-specific error codes returned with NCC events. These values are specified in the nccxsip.h header file.

Error | Hex | Description
NCC_SIP_PROTERR_MISSING_TO_ADDRESS | 0x1C0101 | To header information was not passed to the function.
NCC_SIP_PROTERR_MISSING_TO_HOST | 0x1C0102 | Internal error.
NCC_SIP_PROTERR_MISSING_FROM_ADDRESS | 0x1C0103 | From header information was not passed to the function.
NCC_SIP_PROTERR_MISSING_FROM_HOST | 0x1C0104 | Internal error.
NCC_SIP_PROTERR_PLACE_CALL_INIT | 0x1C0105 | Internal error.
NCC_SIP_PROTERR_PLACE_CALL | 0x1C0106 | Internal error.
NCC_SIP_PROTERR_CONTEXT_ERROR | 0x1C0107 | Internal error.
NCC_SIP_PROTERR_SEND_MSG_ERROR | 0x1C0108 | SIP message could not be sent.
NCC_SIP_PROTERR_MISSING_CONTACT_ADDRESS | 0x1C0109 | Contact header information was not passed to the function.
NCC_SIP_PROTERR_MISSING_REGISTRAR_ADDRESS | 0x1C010A | URI of the registrar was not passed to the function.
NCC_SIP_PROTERR_SYNTAX_ERROR | 0x1C010B | Syntax error exists in the fields passed to the function.
NCC_SIP_PROTERR_REGISTRATION_FAILED | 0x1C010C | Registration failed.
NCC_SIP_PROTERR_TRANSFER_FAILED | 0x1C010D | Transfer operation failed.
NCC_SIP_PROTERR_SUBSCRIPTION_FAILED | 0x1C010E | Internal error; a SIP subscription request failed.
NCC_SIP_PROTERR_REFER_FAILED | 0x1C010F | Internal error; a REFER request failed during a transfer.
NCC_SIP_PROTERR_INITIALIZATION_FAILED | 0x1C0110 | Internal failure; occurred in an initialization sequence.
NCC_SIP_PROTERR_ILLEGAL_VALUE | 0x1C0111 | NCC function call failed because an illegal value was passed to the SIP stack.
NCC_SIP_PROTERR_BAD_HANDLE | 0x1C0112 | NCC function call failed because a bad handle was passed to the SIP stack (for the second call handle with nccTransferCall).