WARNING: The online documentation has moved to https://docs.pjsip.org.

Visit the new documentation at https://docs.pjsip.org:

BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJNATH Reference

PJNATH specific error code constants. More...

Macros

#define PJNATH_ERRNO_START   (PJ_ERRNO_START_USER + PJ_ERRNO_SPACE_SIZE*4)
 
#define PJ_STATUS_FROM_STUN_CODE(code)   (PJNATH_ERRNO_START+code)
 
#define PJNATH_EINSTUNMSG
 
#define PJNATH_EINSTUNMSGLEN
 
#define PJNATH_EINSTUNMSGTYPE
 
#define PJNATH_ESTUNTIMEDOUT
 
#define PJNATH_ESTUNTOOMANYATTR
 
#define PJNATH_ESTUNINATTRLEN
 
#define PJNATH_ESTUNDUPATTR
 
#define PJNATH_ESTUNFINGERPRINT
 
#define PJNATH_ESTUNMSGINTPOS
 
#define PJNATH_ESTUNFINGERPOS
 
#define PJNATH_ESTUNNOMAPPEDADDR
 
#define PJNATH_ESTUNIPV6NOTSUPP
 
#define PJNATH_EINVAF
 
#define PJNATH_ESTUNINSERVER
 
#define PJNATH_ESTUNDESTROYED
 
#define PJNATH_ENOICE
 
#define PJNATH_EICEINPROGRESS
 
#define PJNATH_EICEFAILED
 
#define PJNATH_EICEMISMATCH
 
#define PJNATH_EICEINCOMPID
 
#define PJNATH_EICEINCANDID
 
#define PJNATH_EICEINSRCADDR
 
#define PJNATH_EICEMISSINGSDP
 
#define PJNATH_EICEINCANDSDP
 
#define PJNATH_EICENOHOSTCAND
 
#define PJNATH_EICENOMTIMEOUT
 
#define PJNATH_ETURNINTP
 

Detailed Description

Macro Definition Documentation

◆ PJ_STATUS_FROM_STUN_CODE

#define PJ_STATUS_FROM_STUN_CODE (   code)    (PJNATH_ERRNO_START+code)

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

◆ PJNATH_EICEFAILED

#define 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_EICEINCANDID

#define PJNATH_EICEINCANDID

Invalid ICE candidate ID

◆ PJNATH_EICEINCANDSDP

#define PJNATH_EICEINCANDSDP

Invalid SDP "candidate" attribute

◆ PJNATH_EICEINCOMPID

#define PJNATH_EICEINCOMPID

Invalid ICE component ID

◆ PJNATH_EICEINPROGRESS

#define PJNATH_EICEINPROGRESS

ICE check is in progress

◆ PJNATH_EICEINSRCADDR

#define 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_EICEMISMATCH

#define PJNATH_EICEMISMATCH

Default destination does not match any ICE candidates

◆ PJNATH_EICEMISSINGSDP

#define PJNATH_EICEMISSINGSDP

Missing ICE SDP attribute

◆ PJNATH_EICENOHOSTCAND

#define 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

#define PJNATH_EICENOMTIMEOUT

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

◆ PJNATH_EINSTUNMSG

#define PJNATH_EINSTUNMSG

Invalid STUN message

◆ PJNATH_EINSTUNMSGLEN

#define PJNATH_EINSTUNMSGLEN

Invalid STUN message length.

◆ PJNATH_EINSTUNMSGTYPE

#define PJNATH_EINSTUNMSGTYPE

Invalid or unexpected STUN message type

◆ PJNATH_EINVAF

#define PJNATH_EINVAF

Invalid address family value in STUN message.

◆ PJNATH_ENOICE

#define PJNATH_ENOICE

ICE session not available

◆ PJNATH_ERRNO_START

#define PJNATH_ERRNO_START   (PJ_ERRNO_START_USER + PJ_ERRNO_SPACE_SIZE*4)

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

◆ PJNATH_ESTUNDESTROYED

#define PJNATH_ESTUNDESTROYED

STUN object has been destoyed.

◆ PJNATH_ESTUNDUPATTR

#define PJNATH_ESTUNDUPATTR

Found duplicate STUN attribute.

◆ PJNATH_ESTUNFINGERPOS

#define PJNATH_ESTUNFINGERPOS

Invalid STUN attribute after FINGERPRINT.

◆ PJNATH_ESTUNFINGERPRINT

#define PJNATH_ESTUNFINGERPRINT

STUN FINGERPRINT verification failed

◆ PJNATH_ESTUNINATTRLEN

#define PJNATH_ESTUNINATTRLEN

Invalid STUN attribute length.

◆ PJNATH_ESTUNINSERVER

#define PJNATH_ESTUNINSERVER

Invalid STUN server or server not configured.

◆ PJNATH_ESTUNIPV6NOTSUPP

#define PJNATH_ESTUNIPV6NOTSUPP

STUN IPv6 attribute not supported

◆ PJNATH_ESTUNMSGINTPOS

#define PJNATH_ESTUNMSGINTPOS

Invalid STUN attribute after MESSAGE-INTEGRITY.

◆ PJNATH_ESTUNNOMAPPEDADDR

#define PJNATH_ESTUNNOMAPPEDADDR

STUN (XOR-)MAPPED-ADDRESS attribute not found

◆ PJNATH_ESTUNTIMEDOUT

#define PJNATH_ESTUNTIMEDOUT

STUN transaction has timed out

◆ PJNATH_ESTUNTOOMANYATTR

#define PJNATH_ESTUNTOOMANYATTR

Too many STUN attributes.

◆ PJNATH_ETURNINTP

#define PJNATH_ETURNINTP

Invalid or unsupported TURN transport.

 


PJNATH - Open Source NAT traversal helper library supporting STUN, TURN, and ICE
Copyright (C) 2006-2009 Teluu Inc.