Asterisk - The Open Source Telephony Project  GIT-master-44aef04
Data Fields
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. More...
 
int presentation
 Q.931 presentation-indicator and screening-indicator encoded fields. More...
 
char * str
 Subscriber phone number (Malloced) More...
 
unsigned char valid
 TRUE if the number information is valid/present. More...
 

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

Field Documentation

◆ plan

int plan

◆ presentation

int presentation

◆ str

char* str

Subscriber phone number (Malloced)

Definition at line 292 of file channel.h.

Referenced by __analog_handle_event(), __ast_channel_alloc_ap(), __ast_request_and_dial(), action_meetmelist(), add_diversion(), add_diversion_header(), add_history_info_header(), add_identity_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_sip_modify_id_header(), ast_var_channels_table(), caller_id_handler(), caller_id_to_str(), callerid_write(), chan_pjsip_new(), change_redirecting_information(), cli_endpoint_print_body(), cli_list_subscriptions_detail(), cli_show_subscriptions_detail(), 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(), my_on_hook(), 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(), run_externnotify(), send_callerid_screen(), send_callinfo(), set_from_header(), 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(), stir_shaken_incoming_request(), stir_shaken_outgoing_request(), unistim_new(), update_connectedline(), valid_exit(), vm_allocate_dh(), and wait_for_answer().

◆ valid

unsigned char valid

TRUE if the number information is valid/present.

Definition at line 298 of file channel.h.

Referenced by __analog_handle_event(), __ast_channel_alloc_ap(), __ast_request_and_dial(), action_meetmelist(), add_diversion(), add_diversion_header(), add_history_info_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_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_sip_modify_id_header(), ast_var_channels_table(), caller_id_handler(), caller_id_incoming_request(), caller_id_to_str(), callerid_write(), chan_pjsip_new(), change_redirecting_information(), cli_endpoint_print_body(), cli_list_subscriptions_detail(), cli_show_subscriptions_detail(), copy_message(), copy_redirecting_id(), create_new_id_hdr(), 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(), my_on_hook(), 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(), run_externnotify(), send_callerid_screen(), send_callinfo(), set_from_header(), 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(), stir_shaken_outgoing_request(), unistim_new(), update_connectedline(), update_initial_connected_line(), valid_exit(), vm_allocate_dh(), and wait_for_answer().


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