Thu Apr 16 06:48:51 2015

Asterisk developer's documentation


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.
int presentation
 Q.931 encoded presentation-indicator encoded field.
char * str
 Subscriber name (Malloced).
unsigned char valid
 TRUE if the name information is valid/present.


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 212 of file channel.h.


Field Documentation

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 222 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(), party_name_build_data(), party_name_read(), and party_name_write().

char* str

Subscriber name (Malloced).

Definition at line 214 of file channel.h.

Referenced by __analog_handle_event(), __ast_channel_alloc_ap(), __ast_request_and_dial(), action_coreshowchannels(), action_meetmelist(), action_status(), analog_call(), analog_handle_dtmf(), analog_send_callerid(), ast_cel_fabricate_channel_from_event(), ast_cel_report_event(), ast_channel_set_caller_event(), ast_connected_line_parse_data(), ast_hangup(), 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_setstate(), ast_var_channels_table(), blacklist_read(), cc_generic_agent_init(), change_redirecting_information(), conf_run(), console_call(), copy_message(), dahdi_handle_event(), dial_exec_full(), do_immediate_setup(), forward_message(), handle_cli_misdn_show_channels(), handle_request_invite(), handle_request_update(), handle_response_invite(), handle_showchan(), iax2_call(), join_queue(), leave_voicemail(), manager_parking_status(), manager_queues_status(), meetme_show_cmd(), mgcp_call(), mgcp_hangup(), minivm_notify_exec(), misdn_call(), misdn_copy_redirecting_from_ast(), misdn_get_connected_line(), misdn_hangup(), my_send_callerid(), oh323_call(), oss_call(), park_call_full(), parkandannounce_exec(), parked_call_exec(), party_id_read(), party_id_write(), party_name_build_data(), party_name_read(), party_name_write(), phase_e_handler(), phone_call(), post_manager_event(), print_bc_info(), release_chan(), report_new_callerid(), ring_entry(), run_externnotify(), senddialevent(), serialize_showchan(), set_one_cid(), setup_env(), sip_call(), skinny_answer(), skinny_call(), skinny_indicate(), socket_process(), state_notify_build_xml(), unistim_call(), unistim_new(), update_connectedline(), and write_metadata().

unsigned char valid

TRUE if the name information is valid/present.

Definition at line 229 of file channel.h.

Referenced by __analog_handle_event(), __ast_channel_alloc_ap(), __ast_request_and_dial(), action_coreshowchannels(), action_meetmelist(), action_status(), analog_call(), ast_cel_fabricate_channel_from_event(), ast_cel_report_event(), ast_channel_set_caller_event(), ast_connected_line_parse_data(), ast_hangup(), 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_setstate(), ast_var_channels_table(), blacklist_read(), cc_generic_agent_init(), change_redirecting_information(), check_bridge(), conf_run(), console_call(), copy_message(), dahdi_handle_event(), dial_exec_full(), do_immediate_setup(), forward_message(), handle_cli_misdn_show_channels(), handle_request_invite(), handle_request_update(), handle_response_invite(), handle_showchan(), iax2_call(), join_queue(), leave_voicemail(), manager_parking_status(), manager_queues_status(), meetme_show_cmd(), mgcp_call(), mgcp_hangup(), minivm_notify_exec(), misdn_call(), misdn_copy_redirecting_from_ast(), misdn_get_connected_line(), misdn_hangup(), oh323_call(), oss_call(), park_call_full(), parkandannounce_exec(), parked_call_exec(), party_id_read(), party_name_build_data(), party_name_read(), party_name_write(), phase_e_handler(), phone_call(), post_manager_event(), print_bc_info(), release_chan(), report_new_callerid(), ring_entry(), run_externnotify(), senddialevent(), serialize_showchan(), set_one_cid(), setup_env(), sip_call(), skinny_answer(), skinny_call(), skinny_indicate(), socket_process(), state_notify_build_xml(), unistim_call(), unistim_new(), update_connectedline(), and write_metadata().


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

Generated on Thu Apr 16 06:48:51 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6