Sun Oct 16 2011 08:43:13

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.

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_party_name_init(), ast_party_name_copy(), ast_party_name_set_init(), ast_party_name_set(), party_name_build_data(), ast_connected_line_parse_data(), ast_redirecting_parse_data(), party_name_read(), party_name_write(), sig_pri_party_name_from_ast(), and sig_pri_party_name_convert().

char* str

Subscriber name (Malloced)

Definition at line 214 of file channel.h.

Referenced by ast_var_channels_table(), write_metadata(), senddialevent(), dial_exec_full(), serialize_showchan(), phase_e_handler(), findmeexec(), meetme_show_cmd(), conf_run(), action_meetmelist(), run_externnotify(), leave_voicemail(), minivm_notify_exec(), parkandannounce_exec(), join_queue(), ring_entry(), manager_queues_status(), rpt_call(), copy_message(), forward_message(), cc_generic_agent_init(), set_one_cid(), ast_cel_fabricate_channel_from_event(), ast_cel_report_event(), console_call(), my_send_callerid(), my_set_callerid(), dahdi_handle_event(), oh323_call(), iax2_call(), socket_process(), mgcp_call(), mgcp_hangup(), print_bc_info(), handle_cli_misdn_show_channels(), misdn_get_connected_line(), misdn_copy_redirecting_from_ast(), misdn_call(), misdn_hangup(), release_chan(), do_immediate_setup(), oss_call(), phone_call(), sip_call(), state_notify_build_xml(), change_redirecting_information(), handle_response_invite(), handle_request_update(), handle_request_invite(), update_connectedline(), skinny_call(), skinny_answer(), skinny_indicate(), unistim_call(), unistim_new(), __ast_channel_alloc_ap(), ast_party_name_init(), ast_party_name_copy(), ast_party_name_set_init(), ast_party_name_set(), ast_party_name_free(), ast_hangup(), __ast_request_and_dial(), report_new_callerid(), ast_set_callerid(), ast_channel_set_caller_event(), ast_setstate(), party_name_build_data(), ast_connected_line_parse_data(), ast_redirecting_parse_data(), handle_showchan(), park_call_full(), post_manager_event(), parked_call_exec(), manager_parking_status(), blacklist_read(), party_name_read(), party_id_read(), party_name_write(), party_id_write(), action_status(), action_coreshowchannels(), setup_env(), analog_send_callerid(), analog_call(), analog_handle_dtmf(), __analog_handle_event(), sig_pri_set_caller_id(), sig_pri_party_name_from_ast(), sig_pri_party_name_convert(), sig_pri_handle_subcmds(), sig_pri_call(), and sig_ss7_set_caller_id().

unsigned char valid

TRUE if the name information is valid/present.

Definition at line 229 of file channel.h.

Referenced by ast_var_channels_table(), write_metadata(), senddialevent(), dial_exec_full(), serialize_showchan(), phase_e_handler(), findmeexec(), meetme_show_cmd(), conf_run(), action_meetmelist(), run_externnotify(), leave_voicemail(), minivm_notify_exec(), parkandannounce_exec(), join_queue(), ring_entry(), manager_queues_status(), rpt_call(), copy_message(), forward_message(), cc_generic_agent_init(), set_one_cid(), ast_cel_fabricate_channel_from_event(), ast_cel_report_event(), console_call(), my_set_callerid(), dahdi_handle_event(), oh323_call(), iax2_call(), socket_process(), check_bridge(), mgcp_call(), mgcp_hangup(), print_bc_info(), handle_cli_misdn_show_channels(), misdn_get_connected_line(), misdn_copy_redirecting_from_ast(), misdn_call(), misdn_hangup(), release_chan(), do_immediate_setup(), oss_call(), phone_call(), sip_call(), state_notify_build_xml(), change_redirecting_information(), handle_response_invite(), handle_request_update(), handle_request_invite(), update_connectedline(), skinny_call(), skinny_answer(), skinny_indicate(), unistim_call(), unistim_new(), __ast_channel_alloc_ap(), ast_party_name_init(), ast_party_name_copy(), ast_party_name_set_init(), ast_party_name_set(), ast_party_id_presentation(), ast_hangup(), __ast_request_and_dial(), report_new_callerid(), ast_set_callerid(), ast_channel_set_caller_event(), ast_setstate(), party_name_build_data(), ast_connected_line_parse_data(), ast_redirecting_parse_data(), handle_showchan(), park_call_full(), post_manager_event(), parked_call_exec(), manager_parking_status(), blacklist_read(), party_name_read(), party_id_read(), party_name_write(), action_status(), action_coreshowchannels(), setup_env(), analog_call(), __analog_handle_event(), sig_pri_set_caller_id(), sig_pri_party_name_from_ast(), sig_pri_party_name_convert(), sig_pri_call(), and sig_ss7_set_caller_id().


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