Sat Apr 26 2014 22:03:24

Asterisk developer's documentation


ast_party_number Struct Reference

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

#include <channel.h>

Data Fields

int plan
 Q.931 Type-Of-Number and Numbering-Plan encoded fields.
int presentation
 Q.931 presentation-indicator and screening-indicator encoded fields.
char * str
 Subscriber phone number (Malloced)
unsigned char valid
 TRUE if the number information is valid/present.

Detailed Description

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


Field Documentation

char* str

Subscriber phone number (Malloced)

Definition at line 245 of file channel.h.

Referenced by __analog_handle_event(), __ast_channel_alloc_ap(), __ast_request_and_dial(), __oh323_new(), action_agents(), action_confbridgelist_item(), action_meetmelist(), add_diversion(), add_rpid(), analog_call(), analog_handle_dtmf(), analog_send_callerid(), ast_cel_fabricate_channel_from_event(), ast_connected_line_parse_data(), ast_iax2_new(), ast_party_number_copy(), ast_party_number_free(), ast_party_number_init(), ast_party_number_set(), ast_party_number_set_init(), ast_redirecting_parse_data(), ast_set_callerid(), ast_var_channels_table(), callerid_write(), change_redirecting_information(), conf_run(), copy_message(), dahdi_call(), dahdi_handle_event(), dahdi_new(), dial_exec_full(), do_forward(), handle_cli_confbridge_list_item(), handle_request_invite(), handle_request_update(), handle_response_invite(), handle_showchan(), iax2_call(), initreqprep(), jingle_new(), join_queue(), launch_monitor_thread(), manager_parking_status(), manager_queues_status(), meetme_show_cmd(), mgcp_new(), misdn_call(), misdn_copy_redirecting_from_ast(), misdn_copy_redirecting_to_ast(), misdn_get_connected_line(), misdn_new(), misdn_queue_connected_line_update(), misdn_update_caller_id(), my_send_callerid(), my_set_callerid(), oh323_call(), oss_new(), parkandannounce_exec(), parked_call_exec(), party_id_read(), party_id_write(), party_number_build_data(), party_number_read(), party_number_write(), phase_e_handler(), phone_new(), post_manager_event(), process_sdp(), ring_entry(), send_callerid_screen(), sig_pri_call(), sig_pri_event_party_id(), sig_pri_handle_subcmds(), sig_pri_party_number_convert(), sig_pri_party_number_from_ast(), sig_pri_set_caller_id(), sig_ss7_call(), sig_ss7_set_caller_id(), sip_call(), sip_new(), skinny_new(), skinny_newcall(), socket_process_helper(), unistim_new(), update_connectedline(), valid_exit(), and wait_for_answer().

unsigned char valid

TRUE if the number information is valid/present.

Definition at line 251 of file channel.h.

Referenced by __analog_handle_event(), __ast_channel_alloc_ap(), __ast_request_and_dial(), __oh323_new(), action_agents(), action_confbridgelist_item(), action_meetmelist(), add_diversion(), add_rpid(), analog_call(), ast_cel_fabricate_channel_from_event(), ast_connected_line_parse_data(), ast_iax2_new(), ast_party_id_presentation(), ast_party_number_copy(), ast_party_number_init(), ast_party_number_set(), ast_party_number_set_init(), ast_redirecting_parse_data(), ast_set_callerid(), ast_var_channels_table(), callerid_write(), change_redirecting_information(), check_bridge(), conf_run(), copy_message(), dahdi_call(), dahdi_handle_event(), dahdi_new(), dial_exec_full(), do_forward(), handle_cli_confbridge_list_item(), handle_request_invite(), handle_request_update(), handle_response_invite(), handle_showchan(), iax2_call(), initreqprep(), jingle_new(), join_queue(), launch_monitor_thread(), manager_parking_status(), manager_queues_status(), meetme_show_cmd(), mgcp_new(), misdn_call(), misdn_copy_redirecting_from_ast(), misdn_copy_redirecting_to_ast(), misdn_get_connected_line(), misdn_new(), misdn_queue_connected_line_update(), misdn_update_caller_id(), my_set_callerid(), oh323_call(), oss_new(), parkandannounce_exec(), parked_call_exec(), party_id_read(), party_number_build_data(), party_number_read(), party_number_write(), phase_e_handler(), phone_new(), post_manager_event(), privacy_exec(), process_sdp(), ring_entry(), send_callerid_screen(), sig_pri_call(), sig_pri_event_party_id(), sig_pri_party_number_convert(), sig_pri_party_number_from_ast(), sig_pri_set_caller_id(), sig_ss7_call(), sig_ss7_set_caller_id(), sip_call(), sip_new(), skinny_new(), skinny_newcall(), socket_process_helper(), unistim_new(), update_connectedline(), valid_exit(), and wait_for_answer().


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