Partager via


RTC_E_

Real-time Communications (RTC) methods can return an RTC_E_ constant. These constants indicate the outcome of an application programming interface (API) call.

The 32-bit values are laid out as follows.

3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
---+-+-+-----------------------+-------------------------------+
Sev|C|R|     Facility          |               Code            |
---+-+-+-----------------------+-------------------------------+

The following table shows code descriptions.

Section Description
Sev - Severity Code 00 - Success

01 - Informational

10 - Warning

11 - Error

C Customer code flag
R Reserved bit
Facility - Facility Code EE - RTC interface codes

EF - SIP status codes

F0 - PINT status codes

The following table shows the RTC interface return codes.

Value Description
RTC_E_ANOTHER_MEDIA_SESSION_ACTIVE = 0x80EE0077L Another media session is active.
RTC_E_BASIC_AUTH_SET_TLS = 0x80EE003FL Must set transport to TLS if basic authentication is allowed.
RTC_E_CLIENT_ALREADY_INITIALIZED = 0x80EE0026L The client is already initialized.
RTC_E_CLIENT_ALREADY_SHUT_DOWN = 0x80EE0027L The client has already shut down.
RTC_E_CLIENT_NOT_INITIALIZED = 0x80EE0025L The client has not been initialized.
RTC_E_DESTINATION_ADDRESS_LOCAL = 0x80EE0013L The destination address belongs to the local computer.
RTC_E_DESTINATION_ADDRESS_MULTICAST = 0x80EE0015L The destination address is a multicast address.
RTC_E_DUPLICATE_BUDDY = 0x80EE004AL Buddy already exists.
RTC_E_DUPLICATE_GROUP = 0x80EE0052L Group already exists.
RTC_E_DUPLICATE_REALM = 0x80EE0043L Duplicate realm exists in an enabled profile.
RTC_E_DUPLICATE_WATCHER = 0x80EE004BL Watcher already exists.
RTC_E_INSUFFICIENT_SECURITY_LEVEL = 0x80EE0047L Session was rejected due to insufficient security level.
RTC_E_INVALID_ACL_LIST = 0x80EE0050L ACL list is invalid.
RTC_E_INVALID_ADDRESS_LOCAL = 0x80EE0014L The local address is invalid. The application should check the profile.
RTC_E_INVALID_BUDDY_LIST = 0x80EE004FL The buddy list is invalid.
RTC_E_INVALID_LISTEN_SOCKET = 0x80EE007BL The specified address and port are invalid.
RTC_E_INVALID_OBJECT_STATE = 0x80EE0061L The object state does not allow this operation to be performed.
RTC_E_INVALID_PORTRANGE = 0x80EE005CL The port range is invalid.
RTC_E_INVALID_PREFERENCE_LIST =

0x80EE0059L

The preference list is invalid.
RTC_E_INVALID_PROFILE = 0x80EE002EL The profile is invalid.
RTC_E_INVALID_PROXY_ADDRESS = 0x80EE0016L The proxy address is invalid.
RTC_E_INVALID_REGISTRATION_STATE = 0x80EE006DL The registration state is invalid.
RTC_E_INVALID_SESSION_STATE = 0x80EE002AL The session state is invalid.
RTC_E_INVALID_SESSION_TYPE = 0x80EE0029L The session type is invalid.
RTC_E_INVALID_SIP_URL =0x80EE0012L The SIP URL is invalid.
RTC_E_INVITEE_PARTY_TIMEOUT = 0x80EE006BL Invitee connection failed due to timeout.
RTC_E_LISTENING_SOCKET_NOT_EXIST = 0x80EE007AL The listen socket does not exist.
RTC_E_LOCAL_PHONE_NEEDED = 0x80EE002CL A local phone number is needed.
RTC_E_MALFORMED_XML = 0x80EE004CL Malformed XML.
RTC_E_MAX_PENDING_OPERATIONS = 0x80EE005AL Maximum number of pending operations reached.
RTC_E_MAX_REDIRECTS = 0x80EE0078L Too many redirects.
RTC_E_MEDIA_AEC = 0x80EE0024L Failed to enable acoustic echo cancellation.
RTC_E_MEDIA_AUDIO_DEVICE_NOT_AVAILABLE =0x80EE0021L Audio device is not available.
RTC_E_MEDIA_CONTROLLER_STATE = 0x80EE001FL Operation not allowed in current media controller state.
RTC_E_MEDIA_DISABLED = 0x80EE006EL Media is disabled.
RTC_E_MEDIA_ENABLED = 0x80EE006FL Media is enabled.
RTC_E_MEDIA_NEED_TERMINAL = 0x80EE0020L Cannot find device.
RTC_E_MEDIA_SESSION_IN_HOLD = 0x80EE0076L Media session is in hold.
RTC_E_MEDIA_SESSION_NOT_EXIST = 0x80EE0075L Media session does not exist.
RTC_E_MEDIA_VIDEO_DEVICE_NOT_AVAILABLE = 0x80EE0022L Video device is not available.
RTC_E_NO_BUDDY = 0x80EE0054L Buddy does not exist.
RTC_E_NO_DEVICE =0x80EE002DL No preferred device.
RTC_E_NO_GROUP = 0x80EE0051L Group does not exist.
RTC_E_NO_PROFILE = 0x80EE002BL No valid profile for this operation.
RTC_E_NO_REALM = 0x80EE0056L No realm is set.
RTC_E_NO_TRANSPORT = 0x80EE0057L Server cannot be specified without a transport protocol.
RTC_E_NO_WATCHER = 0x80EE0055L Watcher does not exist.
RTC_E_NOT_EXIST = 0x80EE0058L The required item does not exist.
RTC_E_NOT_PRESENCE_PROFILE = 0x80EE006AL A presence profile must be used.
RTC_E_POLICY_NOT_ALLOW = 0x80EE0044L Current policy settings do not allow this action.
RTC_E_PORT_MANAGER_ALREADY_SET = 0x80EE007CL The port manager is already set.
RTC_E_PORT_MAPPING_FAILED = 0x80EE0046L Port mapping failure returned from the port manager.
RTC_E_PORT_MAPPING_UNAVAILABLE = 0x80EE0045L Port mapping cannot be obtained from the port manager.
RTC_E_PRESENCE_ENABLED = 0x80EE0062L Presence is enabled.
RTC_E_PRESENCE_NOT_ENABLED = 0x80EE0028L Presence not enabled.
RTC_E_PROFILE_INVALID_SERVER_AUTHMETHOD = 0x80EE0038L Invalid server authentication method in profile.
RTC_E_PROFILE_INVALID_SERVER_PROTOCOL = 0x80EE0037L Invalid server protocol in profile.
RTC_E_PROFILE_INVALID_SERVER_ROLE = 0x80EE0039L Invalid server role in profile.
RTC_E_PROFILE_INVALID_SESSION = 0x80EE003BL Invalid session tag in profile.
RTC_E_PROFILE_INVALID_SESSION_PARTY = 0x80EE003CL Invalid session party in profile.
RTC_E_PROFILE_INVALID_SESSION_TYPE = 0x80EE003DL Invalid session type in profile.
RTC_E_PROFILE_MULTIPLE_REGISTRARS = 0x80EE003AL Multiple registrar servers in profile.
RTC_E_PROFILE_NO_KEY = 0x80EE0030L No profile key.
RTC_E_PROFILE_NO_NAME = 0x80EE0031L No profile name.
RTC_E_PROFILE_NO_PROVISION = 0x80EE002FL No provision tag in profile.
RTC_E_PROFILE_NO_SERVER = 0x80EE0034L No server tag in profile.
RTC_E_PROFILE_NO_SERVER_ADDRESS = 0x80EE0035L Server tag missing address in profile.
RTC_E_PROFILE_NO_SERVER_PROTOCOL= 0x80EE0036L Server tag missing protocol in profile.
RTC_E_PROFILE_NO_USER = 0x80EE0032L No user tag in profile.
RTC_E_PROFILE_NO_USER_URI = 0x80EE0033L No user URI in profile.
RTC_E_PROFILE_SERVER_UNAUTHORIZED = 0x80EE0042L Server address does not match an authorized domain in profile.
RTC_E_REDIRECT_PROCESSING_FAILED = 0x80EE0079L Processing of redirects failed.
RTC_E_REFER_NOT_ACCEPTED = 0x80EE0070L Refer has not been accepted.
RTC_E_REFER_NOT_ALLOWED = 0x80EE0071L Refer operation is not allowed in this session.
RTC_E_REFER_NOT_EXIST = 0x80EE0072L Refer session does not exist or has finished.
RTC_E_ROAMING_ENABLED = 0x80EE0063L Roaming is enabled.
RTC_E_ROAMING_FAILED = 0x80EE004EL Roaming session failed.
RTC_E_ROAMING_OPERATION_INTERRUPTED = 0x80EE004DL Roaming operation interrupted. It may succeed or fail.
RTC_E_SDP_CONNECTION_ADDR = 0x80EE000AL Media does not contain connection address.
RTC_E_SDP_FAILED_TO_BUILD = 0x80EE000DL Failed to build SDP blob.
RTC_E_SDP_MULTICAST = 0x80EE0009L Multicast is not supported.
RTC_E_SDP_NO_MEDIA = 0x80EE000BL No media is available for the session.
RTC_E_SDP_NOT_PRESENT = 0x80EE0006L SDP is not present in the SIP message.
RTC_E_SDP_PARSE_FAILED = 0x80EE0007L Parsing SDP failed.
RTC_E_SDP_UPDATE_FAILED = 0x80EE0008L SDP does not match the previous one.
RTC_E_SECURITY_LEVEL_NOT_COMPATIBLE = 0x80EE007DL The security level is not compatible with a previously defined level.
RTC_E_SECURITY_LEVEL_NOT_DEFINED = 0x80EE0048L The security level is not defined.
RTC_E_SECURITY_LEVEL_NOT_SUPPORTED_BY_PARTICIPANT = 0x80EE0049L Participant could not support the requested security level.
RTC_E_SIP_ADDITIONAL_PARTY_IN_TWO_PARTY_SESSION = 0x80EE005EL Adding additional parties to a two-party session failed.
RTC_E_SIP_AUTH_FAILED = 0x80EE0011L Authentication failed.
RTC_E_SIP_AUTH_HEADER_SENT = 0x80EE000FL Authorization header was sent in a previous request.
RTC_E_SIP_AUTH_TIME_SKEW = 0x80EE006CL Authentication failed because of time skew between client and server.
RTC_E_SIP_AUTH_TYPE_NOT_SUPPORTED = 0x80EE0010L The authentication type requested is not supported.
RTC_E_SIP_CALL_CONNECTION_NOT_ESTABLISHED = 0x80EE005DL Call connection has not been established.
RTC_E_SIP_CALL_DISCONNECTED = 0x80EE0019L The call has been disconnected.
RTC_E_SIP_CODECS_DO_NOT_MATCH = 0x80EE0000L No matching codecs with peer.
RTC_E_SIP_DNS_FAIL = 0x80EE0066L DNS lookup failed.
RTC_E_SIP_HEADER_NOT_PRESENT = 0x80EE0005L The SIP header is not present in the message.
RTC_E_SIP_HIGH_SECURITY_SET_TLS = 0x80EE0040L If high security model is needed, application must set transport to TLS.
RTC_E_SIP_HOLD_OPERATION_PENDING = 0x80EE0073L A hold operation is currently pending.
RTC_E_SIP_INCOMPATIBLE_ENCRYPTION = 0x80EE0064L Incompatible encryption.
RTC_E_SIP_INVALID_CERTIFICATE = 0x80EE0065L The certificate is invalid.
RTC_E_SIP_INVITE_TRANSACTION_PENDING = 0x80EE000EL Currently processing another INVITE transaction.
RTC_E_SIP_NEED_MORE_DATA = 0x80EE0018L Need more data for parsing a whole SIP message.
RTC_E_SIP_NO_STREAM = 0x80EE0003L No stream is active.
RTC_E_SIP_OTHER_PARTY_JOIN_IN_PROGRESS = 0x80EE0060L Join operation is in progress for another party.
RTC_E_SIP_PARSE_FAILED = 0x80EE0004L Parsing SIP failed.
RTC_E_SIP_PARTY_ALREADY_IN_SESSION = 0x80EE005FL Party already exists in session.
RTC_E_SIP_REQUEST_DESTINATION_ADDR_NOT_PRESENT = 0x80EE001AL The request destination address is not known.
RTC_E_SIP_SSL_NEGOTIATION_TIMEOUT = 0x80EE001DL Timeout during SSL negotiation.
RTC_E_SIP_SSL_TUNNEL_FAILED = 0x80EE001CL Cannot establish SSL tunnel to Http proxy.
RTC_E_SIP_STACK_SHUTDOWN = 0x80EE001EL Sip stack is already shut down.
RTC_E_SIP_STREAM_NOT_PRESENT = 0x80EE0002L The stream to be stopped is not present.
RTC_E_SIP_STREAM_PRESENT = 0x80EE0001L Parsing SIP failed. The stream to be started is already present.
RTC_E_SIP_TCP_FAIL = 0x80EE0067L Failed to make a TCP connection.
RTC_E_SIP_TIMEOUT = 0x80EE000CL SIP transaction timed out.
RTC_E_SIP_TLS_FAIL = 0x80EE0069L Failed to make a TLS connection.
RTC_E_SIP_TRANSPORT_NOT_SUPPORTED = 0x80EE0017L The specified transport is not supported.
RTC_E_SIP_UDP_SIZE_EXCEEDED = 0x80EE001BL The SIP message size is greater than the UDP message size allowed.
RTC_E_SIP_UNHOLD_OPERATION_PENDING = 0x80EE0074L An unhold operation is currently pending.
RTC_E_START_STREAM =0x80EE0023L Cannot start stream.
RTC_E_TOO_MANY_GROUPS = 0x80EE0053L Maximum number of groups has been reached.
RTC_E_TOO_MANY_RETRIES = 0x80EE005BL Too many attempts to resend a request.
RTC_E_TOO_SMALL_EXPIRES_VALUE = 0x80EE0068L Expiration value received from server is too small.

The following table shows the SIP status code return values. The facility status code portion of the constant contains the SIP status code.

Table Description
RTC_E_STATUS_CLIENT_ADDRESS_INCOMPLETE = 0x80EF01E4L Address incomplete.
RTC_E_STATUS_CLIENT_AMBIGUOUS = 0x80EF01E5L Ambiguous client.
RTC_E_STATUS_CLIENT_BAD_EXTENSION = 0x80EF01A4L Bad extension.
RTC_E_STATUS_CLIENT_BAD_REQUEST = 0x80EF0190L Bad request.
RTC_E_STATUS_CLIENT_BUSY_HERE = 0x80EF01E6L Client is busy.
RTC_E_STATUS_CLIENT_CONFLICT = 0x80EF0199L Conflict.
RTC_E_STATUS_CLIENT_FORBIDDEN = 0x80EF0193L Forbidden.
RTC_E_STATUS_CLIENT_GONE = 0x80EF019AL Gone.
RTC_E_STATUS_CLIENT_LENGTH_REQUIRED = 0x80EF019BL Length required.
RTC_E_STATUS_CLIENT_LOOP_DETECTED = 0x80EF01E2L Loop detected.
RTC_E_STATUS_CLIENT_METHOD_NOT_ALLOWED = 0x80EF0195L Method not allowed.
RTC_E_STATUS_CLIENT_NOT_ACCEPTABLE = 0x80EF0196L Not acceptable.
RTC_E_STATUS_CLIENT_NOT_FOUND = 0x80EF0194L Not found.
RTC_E_STATUS_CLIENT_PAYMENT_REQUIRED =0x80EF0192L Payment required.
RTC_E_STATUS_CLIENT_PROXY_AUTHENTICATION_REQUIRED = 0x80EF0197L Proxy authentication required.
RTC_E_STATUS_CLIENT_REQUEST_ENTITY_TOO_LARGE = 0x80EF019DL Request entity too large.
RTC_E_STATUS_CLIENT_REQUEST_TIMEOUT = 0x80EF0198L Request timeout.
RTC_E_STATUS_CLIENT_REQUEST_URI_TOO_LARGE = 0x80EF019EL Request URI too long.
RTC_E_STATUS_CLIENT_TEMPORARILY_NOT_AVAILABLE = 0x80EF01E0L Temporarily unavailable.
RTC_E_STATUS_CLIENT_TOO_MANY_HOPS = 0x80EF01E3L Too many hops.
RTC_E_STATUS_CLIENT_TRANSACTION_DOES_NOT_EXIST = 0x80EF01E1L Call leg/transaction does not exist.
RTC_E_STATUS_CLIENT_UNAUTHORIZED = 0x80EF0191L Unauthorized.
RTC_E_STATUS_CLIENT_UNSUPPORTED_MEDIA_TYPE = 0x80EF019FL Unsupported media type.
RTC_E_STATUS_GLOBAL_BUSY_EVERYWHERE = 0x80EF0258L Busy everywhere.
RTC_E_STATUS_GLOBAL_DECLINE = 0x80EF025BL Decline.
RTC_E_STATUS_GLOBAL_DOES_NOT_EXIST_ANYWHERE = 0x80EF025CL Does not exist anywhere.
RTC_E_STATUS_GLOBAL_NOT_ACCEPTABLE = 0x80EF025EL Not acceptable.
RTC_E_STATUS_INFO_CALL_FORWARDING = 0x00EF00B5L Call is being forwarded.
RTC_E_STATUS_INFO_QUEUED = 0x00EF00B6L Queued.
RTC_E_STATUS_INFO_RINGING = 0x00EF00B4L Ringing.
RTC_E_STATUS_INFO_TRYING = 0x00EF0064L Trying.
RTC_E_STATUS_NOT_ACCEPTABLE_HERE = 0x80EF01E8L Not acceptable here.
RTC_E_STATUS_REDIRECT_ALTERNATIVE_SERVICE = 0x80EF017CL Alternative service.
RTC_E_STATUS_REDIRECT_MOVED_PERMANENTLY = 0x80EF012DL Moved permanently.
RTC_E_STATUS_REDIRECT_MOVED_TEMPORARILY = 0x80EF012EL Moved temporarily.
RTC_E_STATUS_REDIRECT_MULTIPLE_CHOICES = 0x80EF012CL Multiple choices.
RTC_E_STATUS_REDIRECT_SEE_OTHER = 0x80EF012FL See other.
RTC_E_STATUS_REDIRECT_USE_PROXY = 0x80EF0131L Use proxy.
RTC_E_STATUS_REQUEST_TERMINATED = 0x80EF01E7L) Request terminated.
RTC_E_STATUS_SERVER_BAD_GATEWAY = 0x80EF01F6L Bad gateway.
RTC_E_STATUS_SERVER_INTERNAL_ERROR = 0x80EF01F4L Server internal error.
RTC_E_STATUS_SERVER_NOT_IMPLEMENTED = 0x80EF01F5L Server is not implemented.
RTC_E_STATUS_SERVER_SERVER_TIMEOUT = 0x80EF01F8L Server timeout.
RTC_E_STATUS_SERVER_SERVICE_UNAVAILABLE = 0x80EF01F7L Service unavailable.
RTC_E_STATUS_SERVER_VERSION_NOT_SUPPORTED = 0x80EF01F9L Version not supported.
RTC_E_STATUS_SESSION_PROGRESS = 0x00EF00B7L Session progress.
RTC_E_STATUS_SUCCESS = 0x00EF00C8L OK.

The following table shows the PINT status code return values. The facility status code portion of the constant contains the PINT status code.

Value Description
RTC_E_PINT_STATUS_REJECTED_ALL_BUSY = 0x80F00007L All busy.
RTC_E_PINT_STATUS_REJECTED_BADNUMBER = 0x80F0000BL Bad number.
RTC_E_PINT_STATUS_REJECTED_BUSY = 0x80F00005L Busy.
RTC_E_PINT_STATUS_REJECTED_CANCELLED = 0x80F0000AL Cancelled.
RTC_E_PINT_STATUS_REJECTED_NO_ANSWER = 0x80F00006L No answer.
RTC_E_PINT_STATUS_REJECTED_PL_FAILED = 0x80F00008L Primary leg failed.
RTC_E_PINT_STATUS_REJECTED_SW_FAILED = 0x80F00009L Switch failed.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Rtcerr.h.

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.