Remote-Party-ID = "Remote-Party-ID" HCOLON rpid *(COMMA rpid) rpid = [display-name] LAQUOT addr-spec RAQUOT *(SEMI rpi-token) rpi-token = rpi-screen / rpi-pty-type / rpi-id-type / rpi-privacy / other-rpi-token rpi-screen = "screen" EQUAL ("no" / "yes") rpi-pty-type = "party" EQUAL ("calling" / "called" / token) rpi-id-type = "id-type" EQUAL ("subscriber" / "user" / "term" / token) rpi-privacy = "privacy" EQUAL ( rpi-priv-element / (LDQUOT rpi-priv-element *(COMMA rpi-priv-element) RDQUOT) ) rpi-priv-element = ("full" / "name" / "uri" / "off" / token) ["-" ( "network" / token )] other-rpi-token = ["-"] token [EQUAL (token / quoted-string)]
|
|
Access a SIP Remote-Party-ID header structure sip_remote_party_id_t from sip_t.
|
|
|
Initializer for structure sip_remote_party_id_t. A static sip_remote_party_id_t structure for Remote-Party-ID header must be initialized with the SIP_REMOTE_PARTY_ID_INIT() macro. For instance,
|
|
|
Tag list item for pointer to a Remote-Party-ID header structure sip_remote_party_id_t. The SIPTAG_REMOTE_PARTY_ID() macro is used to include a tag item with a pointer to a sip_remote_party_id_t structure in a tag list.
|
|
|
Tag list item for string with Remote-Party-ID header value. The SIPTAG_REMOTE_PARTY_ID_STR() macro is used to include a tag item with a string containing value of a sip_remote_party_id_t header in a tag list.
The corresponding tag taking reference parameter is SIPTAG_REMOTE_PARTY_ID_STR_REF().
|
|
|
The structure sip_remote_party_id_t contains representation of SIP Remote-Party-ID header. The sip_remote_party_id_t is defined as follows: typedef struct sip_remote_party_id_s { sip_common_t rpid_common[1]; // Common fragment info sip_remote_party_id_t *rpid_next; // Link to next char const *rpid_display; // Display name url_t rpid_url[1]; // URL sip_param_t const *rpid_params; // Parameters // Shortcuts to screen, party, id-type and privacy parameters char const *rpid_screen, *rpid_party, *rpid_id_type, *rpid_privacy; } sip_remote_party_id_t; |
|
|
Test if header object is instance of sip_remote_party_id_t. Check if the header class is an instance of Remote-Party-ID header object and return true (nonzero), otherwise return false (zero).
|
|
||||||||||||
|
Copy a list of Remote-Party-ID header header structures sip_remote_party_id_t.
The function sip_remote_party_id_copy() copies a header structure hdr. If the header structure hdr contains a reference (
|
|
||||||||||||
|
Duplicate a list of Remote-Party-ID header header structures sip_remote_party_id_t.
Duplicate a header structure hdr. If the header structure hdr contains a reference (
|
|
||||||||||||||||
|
Make a Remote-Party-ID header from formatting result. Make a new sip_remote_party_id_t object using formatting result as its value. The function first prints the arguments according to the format fmt specified. Then it allocates a new header structure, and parses the formatting result to the structure sip_remote_party_id_t.
|
|
|
Initialize a structure sip_remote_party_id_t. An sip_remote_party_id_t structure for Remote-Party-ID header can be initialized with the sip_remote_party_id_init() function/macro. For instance,
|
|
||||||||||||
|
Make a Remote-Party-ID header structure sip_remote_party_id_t. The function sip_remote_party_id_make() makes a new sip_remote_party_id_t header structure. It allocates a new header structure, and decodes the string s as the value of the structure.
|
|
|
Header class for Remote-Party-ID header. The header class sip_remote_party_id_class defines how a SIP Remote-Party-ID header is parsed and printed. It also contains methods used by SIP parser and other functions to manipulate the sip_remote_party_id_t header structure.
|