Wed Apr 6 11:30:12 2011

Asterisk developer's documentation


ast_party_caller Struct Reference

Caller Party information. More...

#include <channel.h>


Data Fields

ast_party_id ani
 Automatic Number Identification (ANI).
int ani2
 Automatic Number Identification 2 (Info Digits).
ast_party_id id
 Caller party ID.


Detailed Description

Caller Party information.

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.

SIP and IAX2 has UTF8 encoded Unicode Caller ID names. In some cases, we also have an alternative (RPID) E.164 number that can be used as Caller ID on numeric E.164 phone networks (DAHDI or SIP/IAX2 to PSTN gateway).

Todo:
Implement settings for transliteration between UTF8 Caller ID names in to ASCII Caller ID's (DAHDI). Östen Åsklund might be transliterated into Osten Asklund or Oesten Aasklund depending upon language and person... We need automatic routines for incoming calls and static settings for our own accounts.

Definition at line 368 of file channel.h.


Field Documentation

struct ast_party_id ani

Automatic Number Identification (ANI).

Note:
The name subcomponent is only likely to be used by SIP.

The subaddress subcomponent is not likely to be used.

Definition at line 377 of file channel.h.

Referenced by __analog_handle_event(), __oh323_new(), ast_cel_fabricate_channel_from_event(), ast_cel_report_event(), ast_connected_line_copy_from_caller(), ast_connected_line_copy_to_caller(), ast_iax2_new(), ast_party_caller_copy(), ast_party_caller_free(), ast_party_caller_init(), ast_party_caller_set(), ast_party_caller_set_init(), ast_party_connected_line_collect_caller(), ast_set_callerid(), ast_var_channels_table(), callerid_read(), callerid_write(), check_bridge(), dahdi_handle_event(), dahdi_new(), dial_exec_full(), isAnsweringMachine(), jingle_new(), mgcp_new(), mgcp_ss(), misdn_new(), misdn_update_caller_id(), my_set_callerid(), oss_new(), ring_entry(), set_one_cid(), sig_pri_handle_subcmds(), sig_pri_set_caller_id(), sig_ss7_set_caller_id(), sip_new(), skinny_new(), skinny_newcall(), and usbradio_new().

int ani2

Automatic Number Identification 2 (Info Digits).

Definition at line 380 of file channel.h.

Referenced by __analog_handle_event(), ast_connected_line_copy_from_caller(), ast_connected_line_copy_to_caller(), ast_party_caller_copy(), ast_party_caller_init(), ast_party_caller_set(), ast_party_caller_set_init(), ast_party_connected_line_collect_caller(), ast_str_retrieve_variable(), ast_var_channels_table(), callerid_read(), callerid_write(), dahdi_handle_event(), dahdi_new(), my_set_callerid(), setup_env(), sig_pri_set_caller_id(), and sig_ss7_set_caller_id().

struct ast_party_id id

Caller party ID.

Definition at line 370 of file channel.h.

Referenced by __analog_handle_event(), __analog_ss_thread(), __ast_pbx_run(), __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_connected_line_copy_from_caller(), ast_connected_line_copy_to_caller(), ast_hangup(), ast_iax2_new(), ast_party_caller_copy(), ast_party_caller_free(), ast_party_caller_init(), ast_party_caller_set(), ast_party_caller_set_init(), ast_party_connected_line_collect_caller(), ast_set_callerid(), ast_setstate(), ast_str_retrieve_variable(), ast_var_channels_table(), background_detect_exec(), blacklist_read(), builtin_automixmonitor(), builtin_automonitor(), callerid_read(), callerid_write(), callerpres_read(), callerpres_write(), cb_events(), cc_generic_agent_init(), 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(), gtalk_new(), handle_cli_misdn_show_channels(), handle_gosub(), handle_setpriority(), handle_showchan(), isexten_function_read(), jingle_new(), join_queue(), leave_voicemail(), local_call(), manager_bridge_event(), manager_parking_status(), manager_queues_status(), mgcp_hangup(), mgcp_ss(), misdn_call(), misdn_hangup(), misdn_update_caller_id(), misdn_write(), my_handle_dtmf(), my_send_callerid(), my_set_callerid(), ospauth_exec(), osplookup_exec(), oss_call(), park_call_full(), park_exec_full(), parkandannounce_exec(), pbx_builtin_background(), pbx_parseable_goto(), phase_e_handler(), post_manager_event(), pri_ss_thread(), 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(), setcallerid_pres_exec(), setup_env(), setup_privacy_args(), sig_pri_call(), sig_pri_handle_subcmds(), sig_pri_set_caller_id(), sig_ss7_set_caller_id(), sip_call(), sip_new(), skinny_indicate(), skinny_ss(), sms_exec(), state_notify_build_xml(), unistim_new(), update_connectedline(), valid_exit(), waitstream_core(), write_metadata(), and zapateller_exec().


The documentation for this struct was generated from the following file:
Generated on Wed Apr 6 11:30:12 2011 for Asterisk - The Open Source Telephony Project by  doxygen 1.4.7