SIP_REQ_T
Operates on SIP Request.
This topic lists the expressions that are provided by this class.
BODY (uint i)
Operate as Text on the SIP request body. The length of the body is equal to the number in the argument. If there aren't enough characters in the body then the entire body is selected.
Parameters``:
i- Body length
Returns: text_t
-
CALLIDReturns the content of the "Callid" header
Returns: sip_callid_header_t
-
CONTENT_LENGTHReturns the length of the SIP request as a number.
Returns: sip_content_length_t
-
CSEQReturns the SIP Cseq number
Returns: num_t
-
CS_VSERVERReturns the CS vserver serving the current request.
Returns: vserver_t
-
FROMReturns the content of the "From" header
Returns: sip_from_header_t
-
FULL_HEADERReturns the entire request header (including the terminating \\r\\n\\r\\n)
Returns: text_t
HEADER (text_t header_name)
Returns the contents of the SIP header specified by the String argument. The header name cannot be longer than 32 characters.
Parameters (expressions not allowed):
header_name- Header Name
Returns: sip_header_t
-
IS_VALIDReturns TRUE if the SIP request is properly formed.
Returns: bool_at
-
LB_VSERVERReturns the LB vserver serving the current request.
Returns: vserver_t
-
METHODReturns the SIP method object from the request.
Returns: sip_method_t
-
TOReturns the content of the "To" header
Returns: sip_to_header_t
-
URLObtain the SIP URL object from the request. The Text object backing the SIP URL object has the Text Mode set to URLENCODED by default.
Returns: sip_url_t
-
VERSIONReturns the SIP version.
Returns: sip_version_t
-
VIAReturns the content of the "Via" header
Returns: sip_via_header_t