Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
ast_party_name Struct Reference

Information needed to specify a name in a call. More...

#include <channel.h>

Data Fields

int char_set
 Character set the name is using. More...
 
int presentation
 Q.931 encoded presentation-indicator encoded field. More...
 
char * str
 Subscriber name (Malloced) More...
 
unsigned char valid
 TRUE if the name information is valid/present. More...
 

Detailed Description

Information needed to specify a name 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 263 of file channel.h.

Field Documentation

◆ char_set

int char_set

Character set the name is using.

See also
enum AST_PARTY_CHAR_SET
Note
Set to AST_PARTY_CHAR_SET_ISO8859_1 if unsure what to use.
Todo:
Start using the party name character set value. Not currently used.

Definition at line 273 of file channel.h.

Referenced by ast_connected_line_parse_data(), ast_party_name_copy(), ast_party_name_init(), ast_party_name_set(), ast_party_name_set_init(), ast_redirecting_parse_data(), json_party_name(), party_name_build_data(), party_name_read(), and party_name_write().

◆ presentation

int presentation

◆ str

char* str

Subscriber name (Malloced)

Definition at line 265 of file channel.h.

Referenced by __analog_handle_event(), __ast_channel_alloc_ap(), __ast_request_and_dial(), action_meetmelist(), add_diversion(), add_diversion_header(), add_history_info_header(), add_rpid(), analog_call(), analog_handle_dtmf(), analog_send_callerid(), ari_channels_handle_originate_with_id(), ast_cel_fabricate_channel_from_event(), ast_connected_line_parse_data(), ast_party_name_copy(), ast_party_name_free(), ast_party_name_init(), ast_party_name_set(), ast_party_name_set_init(), ast_redirecting_parse_data(), ast_set_callerid(), ast_sip_modify_id_header(), AST_TEST_DEFINE(), ast_var_channels_table(), caller_id_handler(), caller_id_to_str(), chan_pjsip_new(), change_redirecting_information(), cli_list_subscriptions_detail(), cli_show_subscriptions_detail(), copy_message(), create_new_id_hdr(), dahdi_handle_event(), dial_exec_full(), generate_status(), handle_request_invite(), handle_request_update(), handle_response_invite(), iax2_call(), incoming_in_dialog_request(), indicate_connected_line(), initreqprep(), json_party_name(), launch_monitor_thread(), manager_queues_status(), meetme_show_cmd(), misdn_call(), misdn_copy_redirecting_from_ast(), misdn_get_connected_line(), my_on_hook(), my_send_callerid(), onAlerting(), onCallEstablished(), onProgress(), ooh323_call(), originate_exec(), party_id_read(), party_id_write(), party_name_build_data(), party_name_read(), party_name_write(), pbx_outgoing_attempt(), push_callinfo(), run_externnotify(), send_callerid_screen(), send_callinfo(), set_id_from_hdr(), set_redirecting_id(), should_queue_connected_line_update(), sip_call(), sip_subscription_to_ami(), socket_process_helper(), unistim_new(), update_connectedline(), and vm_allocate_dh().

◆ valid

unsigned char valid

TRUE if the name information is valid/present.

Definition at line 280 of file channel.h.

Referenced by __analog_handle_event(), __ast_channel_alloc_ap(), __ast_request_and_dial(), action_meetmelist(), add_diversion(), add_rpid(), analog_call(), ari_channels_handle_originate_with_id(), ast_cel_fabricate_channel_from_event(), ast_connected_line_parse_data(), ast_party_id_presentation(), ast_party_name_copy(), ast_party_name_init(), ast_party_name_set(), ast_party_name_set_init(), ast_redirecting_parse_data(), ast_set_callerid(), ast_sip_modify_id_header(), ast_var_channels_table(), caller_id_handler(), caller_id_to_str(), chan_pjsip_new(), change_redirecting_information(), cli_list_subscriptions_detail(), cli_show_subscriptions_detail(), copy_message(), copy_redirecting_id(), create_new_id_hdr(), dahdi_handle_event(), dial_exec_full(), generate_status(), handle_request_invite(), handle_request_update(), handle_response_invite(), iax2_call(), incoming_in_dialog_request(), indicate_connected_line(), initreqprep(), json_party_name(), launch_monitor_thread(), manager_queues_status(), meetme_show_cmd(), misdn_call(), misdn_copy_redirecting_from_ast(), misdn_get_connected_line(), my_on_hook(), onAlerting(), onCallEstablished(), onProgress(), ooh323_call(), party_id_read(), party_name_build_data(), party_name_read(), party_name_write(), pbx_outgoing_attempt(), push_callinfo(), run_externnotify(), send_callerid_screen(), send_callinfo(), set_redirecting_id(), should_queue_connected_line_update(), sip_call(), sip_subscription_to_ami(), socket_process_helper(), unistim_new(), update_connectedline(), update_initial_connected_line(), and vm_allocate_dh().


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