Mon Mar 19 11:30:57 2012

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_party_name_copy(), ast_party_name_init(), ast_party_name_set(), ast_party_name_set_init(), ast_redirecting_parse_data(), sig_pri_event_party_id(), sig_pri_party_name_convert(), and sig_pri_party_name_from_ast().

int presentation

Q.931 encoded presentation-indicator encoded field.

Note:
Must tolerate the Q.931 screening-indicator field values being present.

Definition at line 227 of file channel.h.

Referenced by __ast_request_and_dial(), __oh323_new(), ast_iax2_new(), ast_party_name_copy(), ast_party_name_init(), ast_party_name_set(), ast_party_name_set_init(), ast_redirecting_parse_data(), callerpres_write(), dahdi_new(), gtalk_new(), jingle_new(), redirecting_write(), setcallerid_pres_exec(), sig_pri_event_party_id(), sig_pri_party_name_convert(), sig_pri_party_name_from_ast(), sig_pri_set_caller_id(), and sip_new().

char* str

Subscriber name (Malloced).

Definition at line 214 of file channel.h.

Referenced by __analog_handle_event(), __ast_request_and_dial(), action_coreshowchannels(), analog_call(), analog_handle_dtmf(), analog_send_callerid(), ast_cel_fabricate_channel_from_event(), ast_cel_report_event(), ast_channel_set_caller_event(), 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(), console_call(), copy_message(), dahdi_handle_event(), dial_exec_full(), do_immediate_setup(), forward_message(), handle_cli_misdn_show_channels(), handle_showchan(), iax2_call(), join_queue(), leave_voicemail(), manager_parking_status(), manager_queues_status(), mgcp_call(), mgcp_hangup(), misdn_call(), misdn_copy_redirecting_from_ast(), misdn_get_connected_line(), misdn_hangup(), my_send_callerid(), my_set_callerid(), oh323_call(), oss_call(), park_call_full(), parkandannounce_exec(), parked_call_exec(), phase_e_handler(), phone_call(), post_manager_event(), print_bc_info(), release_chan(), report_new_callerid(), ring_entry(), rpt_call(), run_externnotify(), senddialevent(), serialize_showchan(), set_one_cid(), setup_env(), sig_pri_call(), sig_pri_event_party_id(), sig_pri_party_name_convert(), sig_pri_party_name_from_ast(), sig_pri_set_caller_id(), skinny_answer(), skinny_call(), skinny_indicate(), 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_request_and_dial(), action_coreshowchannels(), analog_call(), ast_cel_fabricate_channel_from_event(), ast_cel_report_event(), ast_channel_set_caller_event(), ast_hangup(), 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(), console_call(), copy_message(), dahdi_handle_event(), dial_exec_full(), do_immediate_setup(), forward_message(), handle_cli_misdn_show_channels(), handle_showchan(), iax2_call(), join_queue(), leave_voicemail(), manager_parking_status(), manager_queues_status(), mgcp_call(), mgcp_hangup(), misdn_call(), misdn_copy_redirecting_from_ast(), misdn_get_connected_line(), misdn_hangup(), my_set_callerid(), oh323_call(), oss_call(), park_call_full(), parkandannounce_exec(), parked_call_exec(), phase_e_handler(), phone_call(), post_manager_event(), print_bc_info(), release_chan(), report_new_callerid(), ring_entry(), rpt_call(), run_externnotify(), senddialevent(), serialize_showchan(), set_one_cid(), setup_env(), sig_pri_call(), sig_pri_event_party_id(), sig_pri_party_name_convert(), sig_pri_party_name_from_ast(), sig_pri_set_caller_id(), skinny_answer(), skinny_call(), skinny_indicate(), 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 Mon Mar 19 11:30:57 2012 for Asterisk - The Open Source Telephony Project by  doxygen 1.4.7