Asterisk - The Open Source Telephony Project GIT-master-f36a736
Data Fields
ast_party_id Struct Reference

Information needed to identify an endpoint in a call. More...

#include <channel.h>

Collaboration diagram for ast_party_id:
Collaboration graph
[legend]

Data Fields

struct ast_party_name name
 Subscriber name. More...
 
struct ast_party_number number
 Subscriber phone number. More...
 
struct ast_party_subaddress subaddress
 Subscriber subaddress. More...
 
char * tag
 User-set "tag". More...
 

Detailed Description

Information needed to identify an endpoint in a call.

Since
1.8
Note
All string fields here are malloc'ed, so they need to be freed when the structure is deleted.
NULL and "" must be considered equivalent.

Definition at line 340 of file channel.h.

Field Documentation

◆ name

struct ast_party_name name

◆ number

◆ subaddress

struct ast_party_subaddress subaddress

◆ tag

char* tag

User-set "tag".

A user-settable field used to help associate some extrinsic information about the channel or user of the channel to the party ID. This information is normally not transmitted over the wire and so is only useful within an Asterisk environment.

Definition at line 356 of file channel.h.

Referenced by ast_party_id_copy(), ast_party_id_free(), ast_party_id_init(), ast_party_id_set(), ast_party_id_set_init(), ast_redirecting_parse_data(), ast_sip_endpoint_alloc(), ast_sip_set_id_from_invite(), caller_id_tag_handler(), caller_id_tag_to_str(), dahdi_new(), and dial_exec_full().


The documentation for this struct was generated from the following file: