Thu Apr 16 06:48:51 2015

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


Field Documentation

int plan

char* str

Subscriber phone number (Malloced).

Definition at line 241 of file channel.h.

Referenced by __analog_handle_event(), __analog_ss_thread(), __ast_channel_alloc_ap(), __ast_goto_if_exists(), __ast_pbx_run(), __ast_request_and_dial(), __oh323_new(), _macro_exec(), acf_isexten_exec(), action_agents(), action_coreshowchannels(), action_meetmelist(), action_status(), agentmonitoroutgoing_exec(), analog_call(), analog_handle_dtmf(), analog_send_callerid(), analog_ss_thread(), ast_app_dtget(), ast_bridge_call(), ast_cel_fabricate_channel_from_event(), ast_cel_report_event(), ast_channel_bridge(), ast_channel_set_caller_event(), ast_connected_line_parse_data(), ast_hangup(), 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_setstate(), ast_var_channels_table(), background_detect_exec(), blacklist_read(), builtin_automixmonitor(), builtin_automonitor(), callerid_read(), callerid_write(), cc_generic_agent_init(), change_redirecting_information(), collect_digits(), conf_run(), console_call(), console_transfer(), copy_message(), dahdi_call(), dahdi_handle_dtmf(), dahdi_handle_event(), dahdi_new(), dial_exec_full(), disa_exec(), do_forward(), do_immediate_setup(), find_matching_endwhile(), findmeexec(), forward_message(), gosub_exec(), gosub_run(), handle_cli_misdn_show_channels(), handle_gosub(), handle_request_invite(), handle_request_update(), handle_response_invite(), handle_setpriority(), handle_showchan(), iax2_call(), isAnsweringMachine(), isexten_function_read(), jingle_new(), join_queue(), leave_voicemail(), local_call(), manager_bridge_event(), manager_parking_status(), manager_queues_status(), meetme_show_cmd(), mgcp_call(), mgcp_hangup(), mgcp_new(), mgcp_ss(), minivm_greet_exec(), minivm_notify_exec(), misdn_call(), misdn_copy_redirecting_from_ast(), misdn_copy_redirecting_to_ast(), misdn_get_connected_line(), misdn_hangup(), misdn_new(), misdn_queue_connected_line_update(), misdn_update_caller_id(), misdn_write(), my_handle_dtmf(), my_send_callerid(), oh323_call(), ospauth_exec(), osplookup_exec(), oss_call(), oss_new(), park_call_full(), parkandannounce_exec(), parked_call_exec(), party_id_read(), party_id_write(), party_number_build_data(), party_number_read(), party_number_write(), pbx_builtin_background(), pbx_builtin_waitexten(), pbx_parseable_goto(), phase_e_handler(), phone_call(), post_manager_event(), print_bc_info(), privacy_exec(), process_ast_dsp(), queue_exec(), readexten_exec(), release_chan(), report_new_callerid(), ring_entry(), run_externnotify(), senddialevent(), serialize_showchan(), set_one_cid(), setup_env(), setup_privacy_args(), sip_call(), sip_new(), sip_read(), skinny_answer(), skinny_call(), skinny_indicate(), skinny_new(), skinny_newcall(), skinny_ss(), sms_exec(), socket_process(), state_notify_build_xml(), try_calling(), unistim_call(), unistim_new(), update_connectedline(), valid_exit(), vm_authenticate(), wait_for_answer(), waitstream_core(), write_metadata(), and zapateller_exec().

unsigned char valid

TRUE if the number information is valid/present.

Definition at line 247 of file channel.h.

Referenced by __analog_handle_event(), __analog_ss_thread(), __ast_channel_alloc_ap(), __ast_goto_if_exists(), __ast_pbx_run(), __ast_request_and_dial(), __oh323_new(), _macro_exec(), acf_isexten_exec(), action_agents(), action_coreshowchannels(), action_meetmelist(), action_status(), agentmonitoroutgoing_exec(), analog_call(), analog_ss_thread(), ast_app_dtget(), ast_bridge_call(), ast_cel_fabricate_channel_from_event(), ast_cel_report_event(), ast_channel_bridge(), ast_channel_set_caller_event(), ast_connected_line_parse_data(), ast_hangup(), 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_setstate(), ast_var_channels_table(), background_detect_exec(), blacklist_read(), builtin_automixmonitor(), builtin_automonitor(), callerid_read(), callerid_write(), cc_generic_agent_init(), change_redirecting_information(), check_bridge(), collect_digits(), conf_run(), console_call(), console_transfer(), copy_message(), dahdi_call(), dahdi_handle_dtmf(), dahdi_handle_event(), dahdi_new(), dial_exec_full(), disa_exec(), do_forward(), do_immediate_setup(), find_matching_endwhile(), findmeexec(), forward_message(), gosub_exec(), gosub_run(), handle_cli_misdn_show_channels(), handle_gosub(), handle_request_invite(), handle_request_update(), handle_response_invite(), handle_setpriority(), handle_showchan(), iax2_call(), isAnsweringMachine(), isexten_function_read(), jingle_new(), join_queue(), leave_voicemail(), local_call(), manager_bridge_event(), manager_parking_status(), manager_queues_status(), meetme_show_cmd(), mgcp_call(), mgcp_hangup(), mgcp_new(), mgcp_ss(), minivm_greet_exec(), minivm_notify_exec(), misdn_call(), misdn_copy_redirecting_from_ast(), misdn_copy_redirecting_to_ast(), misdn_get_connected_line(), misdn_hangup(), misdn_new(), misdn_queue_connected_line_update(), misdn_update_caller_id(), misdn_write(), my_handle_dtmf(), oh323_call(), ospauth_exec(), osplookup_exec(), oss_call(), oss_new(), park_call_full(), parkandannounce_exec(), parked_call_exec(), party_id_read(), party_number_build_data(), party_number_read(), party_number_write(), pbx_builtin_background(), pbx_builtin_waitexten(), pbx_parseable_goto(), phase_e_handler(), phone_call(), post_manager_event(), print_bc_info(), privacy_exec(), process_ast_dsp(), queue_exec(), readexten_exec(), release_chan(), report_new_callerid(), ring_entry(), run_externnotify(), senddialevent(), serialize_showchan(), set_one_cid(), setup_env(), setup_privacy_args(), sip_call(), sip_new(), sip_read(), skinny_answer(), skinny_call(), skinny_indicate(), skinny_new(), skinny_newcall(), skinny_ss(), sms_exec(), socket_process(), state_notify_build_xml(), try_calling(), unistim_call(), unistim_new(), update_connectedline(), valid_exit(), vm_authenticate(), wait_for_answer(), waitstream_core(), write_metadata(), and zapateller_exec().


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

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