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


Field Documentation

int plan

char* str

Subscriber phone number (Malloced).

Definition at line 274 of file channel.h.

Referenced by __analog_handle_event(), __ast_channel_alloc_ap(), __ast_request_and_dial(), action_confbridgelist_item(), action_meetmelist(), add_diversion(), add_diversion_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_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(), caller_id_handler(), caller_id_to_str(), callerid_write(), chan_pjsip_cng_tone_detected(), chan_pjsip_new(), change_redirecting_information(), cli_endpoint_print_body(), copy_message(), create_new_id_hdr(), dahdi_call(), dahdi_handle_event(), dahdi_new(), dial_exec_full(), do_forward(), generate_status(), handle_cli_confbridge_list_item(), handle_request_invite(), handle_request_update(), handle_response_invite(), iax2_call(), indicate_connected_line(), initreqprep(), json_party_number(), launch_monitor_thread(), 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(), modify_id_header(), my_send_callerid(), onModeChanged(), ooh323_rtp_read(), oss_new(), party_id_read(), party_id_write(), party_number_build_data(), party_number_read(), party_number_write(), pbx_outgoing_attempt(), phone_new(), process_sdp(), push_callinfo(), send_callerid_screen(), send_callinfo(), set_id_from_hdr(), set_redirecting_id(), setsubstate(), should_queue_connected_line_update(), sip_call(), sip_new(), sip_subscription_to_ami(), skinny_new(), skinny_newcall(), socket_process_helper(), start_automixmonitor(), start_automonitor(), unistim_new(), update_connectedline(), valid_exit(), and wait_for_answer().

unsigned char valid

TRUE if the number 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_confbridgelist_item(), action_meetmelist(), add_diversion(), add_diversion_header(), add_id_headers(), add_rpid(), analog_call(), ari_channels_handle_originate_with_id(), ast_cel_fabricate_channel_from_event(), ast_connected_line_parse_data(), ast_iax2_new(), ast_json_party_id(), 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(), caller_id_handler(), caller_id_incoming_request(), caller_id_to_str(), callerid_write(), chan_pjsip_cng_tone_detected(), chan_pjsip_new(), change_redirecting_information(), cli_endpoint_print_body(), copy_message(), copy_redirecting_id(), dahdi_call(), dahdi_handle_event(), dahdi_new(), dial_exec_full(), diversion_incoming_response(), do_forward(), generate_status(), handle_cli_confbridge_list_item(), handle_request_invite(), handle_request_update(), handle_response_invite(), iax2_call(), indicate_connected_line(), initreqprep(), is_colp_update_allowed(), json_party_number(), launch_monitor_thread(), 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(), modify_id_header(), onModeChanged(), ooh323_rtp_read(), oss_new(), party_id_read(), party_number_build_data(), party_number_read(), party_number_write(), pbx_outgoing_attempt(), phone_new(), privacy_exec(), process_sdp(), push_callinfo(), ring_entry(), send_callerid_screen(), send_callinfo(), set_id_from_from(), set_id_from_pai(), set_id_from_rpid(), set_redirecting_id(), setsubstate(), should_queue_connected_line_update(), sip_call(), sip_new(), sip_subscription_to_ami(), skinny_new(), skinny_newcall(), socket_process_helper(), start_automixmonitor(), start_automonitor(), unistim_new(), update_connectedline(), update_initial_connected_line(), valid_exit(), and wait_for_answer().


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

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