Mon Jun 27 16:51:23 2011

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

Q.931 Type-Of-Number and Numbering-Plan encoded fields.

Definition at line 243 of file channel.h.

Referenced by __oh323_new(), ast_iax2_new(), ast_party_number_copy(), ast_party_number_init(), ast_party_number_set(), ast_party_number_set_init(), ast_redirecting_parse_data(), ast_str_retrieve_variable(), ast_var_channels_table(), cb_events(), dahdi_new(), iax2_call(), misdn_call(), misdn_copy_redirecting_from_ast(), misdn_copy_redirecting_to_ast(), misdn_get_connected_line(), misdn_update_caller_id(), my_set_callerid(), oh323_call(), party_number_build_data(), party_number_read(), party_number_write(), setup_env(), sig_pri_party_number_convert(), sig_pri_party_number_from_ast(), and sig_pri_set_caller_id().

int presentation

Q.931 presentation-indicator and screening-indicator encoded fields.

Definition at line 245 of file channel.h.

Referenced by __ast_request_and_dial(), __oh323_new(), ast_iax2_new(), ast_party_number_copy(), ast_party_number_init(), ast_party_number_set(), ast_party_number_set_init(), ast_redirecting_parse_data(), callerpres_write(), cb_events(), dahdi_new(), gtalk_new(), jingle_new(), misdn_copy_redirecting_from_ast(), misdn_copy_redirecting_to_ast(), misdn_facility_ie_handler(), misdn_get_connected_line(), misdn_update_caller_id(), party_number_build_data(), party_number_read(), party_number_write(), redirecting_write(), setcallerid_pres_exec(), sig_pri_call(), sig_pri_party_number_convert(), sig_pri_party_number_from_ast(), sig_pri_set_caller_id(), sip_new(), and update_config().

char* str

Subscriber phone number (Malloced).

Definition at line 241 of file channel.h.

Referenced by __analog_handle_event(), __analog_ss_thread(), __ast_pbx_run(), __ast_request_and_dial(), __oh323_new(), _macro_exec(), acf_isexten_exec(), action_agents(), action_coreshowchannels(), 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_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(), 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(), handle_cli_misdn_show_channels(), handle_gosub(), 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(), mgcp_call(), mgcp_hangup(), mgcp_new(), mgcp_ss(), misdn_call(), misdn_copy_redirecting_from_ast(), misdn_copy_redirecting_to_ast(), misdn_get_connected_line(), misdn_hangup(), misdn_new(), misdn_update_caller_id(), misdn_write(), my_handle_dtmf(), my_send_callerid(), my_set_callerid(), oh323_call(), ospauth_exec(), osplookup_exec(), oss_call(), oss_new(), park_call_full(), park_exec_full(), parkandannounce_exec(), party_number_build_data(), party_number_read(), party_number_write(), pbx_builtin_background(), pbx_parseable_goto(), phase_e_handler(), phone_call(), post_manager_event(), print_bc_info(), privacy_exec(), queue_exec(), readexten_exec(), release_chan(), report_new_callerid(), ring_entry(), rpt_call(), rpt_exec(), run_externnotify(), senddialevent(), serialize_showchan(), set_one_cid(), setup_env(), setup_privacy_args(), sig_pri_call(), sig_pri_party_number_convert(), sig_pri_party_number_from_ast(), sig_pri_set_caller_id(), sip_new(), skinny_answer(), skinny_call(), skinny_indicate(), skinny_new(), skinny_newcall(), skinny_ss(), sms_exec(), state_notify_build_xml(), unistim_call(), unistim_new(), update_connectedline(), usbradio_new(), valid_exit(), 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_pbx_run(), __ast_request_and_dial(), __oh323_new(), _macro_exec(), acf_isexten_exec(), action_agents(), action_coreshowchannels(), 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_hangup(), ast_iax2_new(), 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(), 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(), handle_cli_misdn_show_channels(), handle_gosub(), 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(), mgcp_call(), mgcp_hangup(), mgcp_new(), mgcp_ss(), misdn_call(), misdn_copy_redirecting_from_ast(), misdn_copy_redirecting_to_ast(), misdn_get_connected_line(), misdn_hangup(), misdn_new(), misdn_update_caller_id(), misdn_write(), my_handle_dtmf(), my_set_callerid(), oh323_call(), ospauth_exec(), osplookup_exec(), oss_call(), oss_new(), park_call_full(), park_exec_full(), parkandannounce_exec(), party_number_build_data(), party_number_read(), party_number_write(), pbx_builtin_background(), pbx_parseable_goto(), phase_e_handler(), phone_call(), post_manager_event(), print_bc_info(), privacy_exec(), queue_exec(), readexten_exec(), release_chan(), report_new_callerid(), ring_entry(), rpt_call(), rpt_exec(), run_externnotify(), senddialevent(), serialize_showchan(), set_one_cid(), setup_env(), setup_privacy_args(), sig_pri_call(), sig_pri_party_number_convert(), sig_pri_party_number_from_ast(), sig_pri_set_caller_id(), sip_new(), skinny_answer(), skinny_call(), skinny_indicate(), skinny_new(), skinny_newcall(), skinny_ss(), sms_exec(), state_notify_build_xml(), unistim_call(), unistim_new(), update_connectedline(), usbradio_new(), valid_exit(), waitstream_core(), write_metadata(), and zapateller_exec().


The documentation for this struct was generated from the following file:
Generated on Mon Jun 27 16:51:23 2011 for Asterisk - The Open Source Telephony Project by  doxygen 1.4.7