Group PJNATH_ERROR

group PJNATH_ERROR

PJNATH specific error code constants.

Defines

PJNATH_ERRNO_START

Start of error code relative to PJ_ERRNO_START_USER. This value is 370000.

PJ_STATUS_FROM_STUN_CODE(code)

Map STUN error code (300-699) into pj_status_t error space.

PJNATH_EINSTUNMSG

Invalid STUN message

PJNATH_EINSTUNMSGLEN

Invalid STUN message length.

PJNATH_EINSTUNMSGTYPE

Invalid or unexpected STUN message type

PJNATH_ESTUNTIMEDOUT

STUN transaction has timed out

PJNATH_ESTUNTOOMANYATTR

Too many STUN attributes.

PJNATH_ESTUNINATTRLEN

Invalid STUN attribute length.

PJNATH_ESTUNDUPATTR

Found duplicate STUN attribute.

PJNATH_ESTUNFINGERPRINT

STUN FINGERPRINT verification failed

PJNATH_ESTUNMSGINTPOS

Invalid STUN attribute after MESSAGE-INTEGRITY.

PJNATH_ESTUNFINGERPOS

Invalid STUN attribute after FINGERPRINT.

PJNATH_ESTUNNOMAPPEDADDR

STUN (XOR-)MAPPED-ADDRESS attribute not found

PJNATH_ESTUNIPV6NOTSUPP

STUN IPv6 attribute not supported

PJNATH_EINVAF

Invalid address family value in STUN message.

PJNATH_ESTUNINSERVER

Invalid STUN server or server not configured.

PJNATH_ESTUNDESTROYED

STUN object has been destoyed.

PJNATH_ENOICE

ICE session not available

PJNATH_EICEINPROGRESS

ICE check is in progress

PJNATH_EICEFAILED

This error indicates that ICE connectivity check has failed, because there is at least one ICE component that does not have a valid check. Normally this happens because the network topology had caused the connectivity check to fail (e.g. no route between the two agents), however other reasons may include software incompatibility between the two agents, or incomplete candidates gathered by the agent(s).

PJNATH_EICEMISMATCH

Default destination does not match any ICE candidates

PJNATH_EICEINCOMPID

Invalid ICE component ID

PJNATH_EICEINCANDID

Invalid ICE candidate ID

PJNATH_EICEINSRCADDR

Source address mismatch. This error occurs if the source address of the response for ICE connectivity check is different than the destination address of the request.

PJNATH_EICEMISSINGSDP

Missing ICE SDP attribute

PJNATH_EICEINCANDSDP

Invalid SDP “candidate” attribute

PJNATH_EICENOHOSTCAND

No host candidate associated with srflx. This error occurs when a server reflexive candidate is added without the matching host candidate.

PJNATH_EICENOMTIMEOUT

Controlled agent timed-out in waiting for the controlling agent to send nominated check after all connectivity checks have completed.

PJNATH_ETURNINTP

Invalid or unsupported TURN transport.