Dialogic Dialogic Global Call IP IP Phone User Manual


 
560 Dialogic
®
Global Call API Library Reference — November 2007
Dialogic Corporation
REQUEST_ERROR — SIP request retry info
REQUEST_ERROR
SIP request retry info
typedef struct
{
unsigned short version;
unsigned int error;
char method[IP_SIP_METHODSIZE]
}REQUEST_ERROR, *REQUEST_ERRORP;
Description
The REQUEST_ERROR structure is used to contain information about the conditions that exist
when the transmission of a SIP request fails.
Field Descriptions
The fields of the REQUEST_ERROR data structure are described as follows:
version
identifies the version of the data structure implementation. This field is reserved for library use
and should not be modified by applications.
error
an enumeration that identifies the error condition that caused the transmission of the SIP
request to fail. Possible values include:
IP_SIP_REQUEST_503_RCVD – connection failed due to 503 Service Unavailable or
other fatal error cause
IP_SIP_REQUEST_FAILED – connection failed due to general or unclassified error
IP_SIP_REQUEST_NETWORK_ERROR – connection failed due to network error or
local failure
IP_SIP_REQUEST_RETRY_FAILED – failure in request retry logic; retry not attempted
IP_SIP_REQUEST_TIMEOUT – connection failed due to connection timeout
method
an array that contains all or part of the failed method’s name