Sat Aug 6 00:40:07 2011

Asterisk developer's documentation


ast_callerid Struct Reference

Structure for all kinds of caller ID identifications. More...

#include <channel.h>


Data Fields

char * cid_ani
int cid_ani2
char * cid_dnid
char * cid_name
char * cid_num
int cid_pres
char * cid_rdnis
int cid_tns
int cid_ton


Detailed Description

Structure for all kinds of caller ID identifications.

Note:
All string fields here are malloc'ed, so they need to be freed when the structure is deleted. Also, NULL and "" must be considered equivalent.

Definition at line 185 of file channel.h.


Field Documentation

char* cid_ani

Malloc'd ANI

Definition at line 189 of file channel.h.

Referenced by __oh323_new(), ast_iax2_new(), ast_set_callerid(), begin_dial(), callerid_read(), check_bridge(), dahdi_handle_event(), dahdi_new(), features_call(), free_cid(), iax2_call(), isAnsweringMachine(), local_call(), mgcp_new(), mgcp_ss(), misdn_new(), oss_new(), ring_entry(), set_one_cid(), sip_new(), skinny_new(), skinny_newcall(), and wait_for_answer().

int cid_ani2

Callerid ANI 2 (Info digits)

Definition at line 192 of file channel.h.

Referenced by check_bridge(), dahdi_handle_event(), local_call(), pbx_retrieve_variable(), and setup_env().

char* cid_dnid

Malloc'd Dialed Number Identifier

Definition at line 186 of file channel.h.

Referenced by __oh323_new(), ast_iax2_new(), callerid_read(), callerid_write(), check_bridge(), dahdi_new(), free_cid(), gtalk_new(), handle_showchan(), handle_showchan_deprecated(), iax2_call(), local_call(), oss_call(), oss_new(), serialize_showchan(), set_one_cid(), setup_env(), and sip_new().

char* cid_name

Malloc'd Caller Name

Definition at line 188 of file channel.h.

Referenced by action_status(), agent_call(), ast_call_forward(), ast_set_callerid(), ast_setstate(), begin_dial(), blacklist_read(), build_rpid(), builtin_atxfer(), callerid_read(), check_bridge(), copy_message(), dahdi_call(), dahdi_handle_event(), dial_trunk(), features_call(), findmeexec(), forward_message(), free_cid(), handle_showchan(), handle_showchan_deprecated(), iax2_call(), initreqprep(), join_queue(), leave_voicemail(), local_call(), lookupblacklist_exec(), manager_parking_status(), manager_queues_status(), meetme_cmd(), mgcp_call(), mgcp_hangup(), oh323_call(), oss_call(), park_call_full(), park_exec(), parkandannounce_exec(), phone_call(), post_manager_event(), report_new_callerid(), ring_entry(), rpt_call(), senddialevent(), serialize_showchan(), set_one_cid(), setup_env(), skinny_answer(), skinny_call(), skinny_indicate(), sla_ring_station(), ss_thread(), and wait_for_answer().

char* cid_num

Malloc'd Caller Number

Definition at line 187 of file channel.h.

Referenced by __ast_goto_if_exists(), __ast_pbx_run(), __login_exec(), _macro_exec(), action_agents(), action_status(), agent_call(), agentmonitoroutgoing_exec(), ast_app_dtget(), ast_bridge_call(), ast_call_forward(), ast_channel_bridge(), ast_parseable_goto(), ast_set_callerid(), ast_setstate(), asyncgoto_exec(), begin_dial(), blacklist_read(), build_rpid(), builtin_atxfer(), builtin_automonitor(), callerid_read(), check_bridge(), collect_digits(), console_transfer(), console_transfer_deprecated(), copy_message(), dahdi_call(), dahdi_handle_dtmf(), dahdi_handle_event(), dial_trunk(), disa_exec(), do_immediate_setup(), features_call(), find_matching_endwhile(), findmeexec(), forward_message(), free_cid(), handle_chanlist(), handle_chanlist_deprecated(), handle_setpriority(), handle_showchan(), handle_showchan_deprecated(), iax2_call(), initreqprep(), join_queue(), leave_voicemail(), local_call(), lookupblacklist_exec(), lookupcidname_exec(), manager_parking_status(), manager_queues_status(), meetme_cmd(), mgcp_call(), mgcp_hangup(), mgcp_ss(), misdn_call(), misdn_hangup(), misdn_show_cls(), misdn_write(), oh323_call(), ospauth_exec(), osplookup_exec(), oss_call(), park_call_full(), park_exec(), parkandannounce_exec(), pbx_builtin_background(), phone_call(), post_manager_event(), print_bc_info(), privacy_exec(), process_ast_dsp(), queue_exec(), report_new_callerid(), ring_entry(), rpt_call(), senddialevent(), serialize_showchan(), set_one_cid(), setup_env(), skinny_answer(), skinny_call(), skinny_indicate(), skinny_ss(), sla_ring_station(), sms_exec(), ss_thread(), valid_exit(), wait_for_answer(), waitstream_core(), write_metadata(), and zapateller_exec().

int cid_pres

Callerid presentation/screening

Definition at line 191 of file channel.h.

Referenced by __oh323_new(), ast_iax2_new(), begin_dial(), cb_events(), check_bridge(), dahdi_call(), dahdi_new(), features_call(), gtalk_new(), iax2_call(), local_call(), oh323_call(), pbx_retrieve_variable(), privacy_exec(), report_new_callerid(), setcallerid_pres_exec(), setup_env(), sip_call(), sip_new(), and update_config().

char* cid_rdnis

Malloc'd RDNIS

Definition at line 190 of file channel.h.

Referenced by __oh323_new(), ast_iax2_new(), begin_dial(), callerid_read(), callerid_write(), check_bridge(), dahdi_call(), dahdi_new(), features_call(), free_cid(), iax2_call(), isAnsweringMachine(), local_call(), misdn_call(), oh323_call(), oss_call(), read_config(), serialize_showchan(), setup_env(), and sip_new().

int cid_tns

Callerid Transit Network Select

Definition at line 194 of file channel.h.

Referenced by ast_iax2_new(), begin_dial(), callerid_write(), check_bridge(), dahdi_read(), iax2_call(), local_call(), pbx_retrieve_variable(), and setup_env().

int cid_ton

Callerid Type of Number

Definition at line 193 of file channel.h.

Referenced by __oh323_new(), ast_iax2_new(), begin_dial(), check_bridge(), dahdi_new(), iax2_call(), local_call(), oh323_call(), pbx_retrieve_variable(), and setup_env().


The documentation for this struct was generated from the following file:
Generated on Sat Aug 6 00:40:07 2011 for Asterisk - the Open Source PBX by  doxygen 1.4.7