Asterisk - The Open Source Telephony Project  GIT-master-93d0901
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 338 of file channel.h.

Field Documentation

◆ name

struct ast_party_name name

◆ number

Subscriber phone number.

Definition at line 328 of file channel.h.

Referenced by __analog_handle_event(), __ast_channel_alloc_ap(), action_meetmelist(), add_diversion(), add_history_info_header(), add_rpid(), analog_call(), analog_handle_dtmf(), analog_send_callerid(), ast_cel_fabricate_channel_from_event(), ast_iax2_new(), ast_json_party_id(), 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_set_callerid(), ast_var_channels_table(), caller_id_handler(), caller_id_privacy_handler(), caller_id_to_str(), callerid_write(), change_redirecting_information(), cli_list_subscriptions_detail(), cli_show_subscriptions_detail(), copy_message(), copy_redirecting_id(), dahdi_call(), dahdi_handle_event(), dahdi_new(), dial_exec_full(), dialog_info_generate_body_content(), do_forward(), generate_status(), get_pai(), get_rpid(), handle_cli_confbridge_list_item(), iax2_call(), indicate_connected_line(), initreqprep(), is_colp_update_allowed(), manager_queues_status(), meetme_show_cmd(), mgcp_new(), my_send_callerid(), onModeChanged(), ooh323_rtp_read(), originate_exec(), privacy_exec(), process_sdp(), push_callinfo(), ring_entry(), run_externnotify(), send_callerid_screen(), send_callinfo(), set_from_header(), set_redirecting_id(), setsubstate(), sip_new(), skinny_new(), skinny_newcall(), socket_process_helper(), start_automixmonitor(), start_automonitor(), state_notify_build_xml(), unistim_new(), valid_exit(), and wait_for_answer().

◆ 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 354 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(), caller_id_tag_handler(), caller_id_tag_to_str(), change_redirecting_information(), dahdi_new(), dial_exec_full(), and sip_new().


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