Sat Jul 26 06:14:36 2008

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


Field Documentation

char* cid_ani

Malloc'd ANI

Definition at line 195 of file channel.h.

Referenced by __oh323_new(), ast_iax2_new(), ast_set_callerid(), begin_dial(), callerid_read(), 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(), wait_for_answer(), zt_handle_event(), and zt_new().

int cid_ani2

Callerid ANI 2 (Info digits)

Definition at line 198 of file channel.h.

Referenced by pbx_retrieve_variable(), setup_env(), and zt_handle_event().

char* cid_dnid

Malloc'd Dialed Number Identifier

Definition at line 192 of file channel.h.

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

char* cid_name

Malloc'd Caller Name

Definition at line 194 of file channel.h.

Referenced by action_status(), agent_call(), ast_set_callerid(), ast_setstate_and_callerid(), begin_dial(), blacklist_read(), build_rpid(), builtin_atxfer(), callerid_read(), copy_message(), 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_exec(), parkandannounce_exec(), phone_call(), post_manager_event(), ring_entry(), rpt_call(), senddialevent(), serialize_showchan(), set_one_cid(), setup_env(), skinny_answer(), skinny_call(), skinny_indicate(), ss_thread(), wait_for_answer(), zt_call(), and zt_handle_event().

char* cid_num

Malloc'd Caller Number

Definition at line 193 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_channel_bridge(), ast_parseable_goto(), ast_set_callerid(), ast_setstate_and_callerid(), asyncgoto_exec(), begin_dial(), blacklist_read(), build_rpid(), builtin_atxfer(), builtin_automonitor(), builtin_blindtransfer(), callerid_read(), collect_digits(), console_transfer(), console_transfer_deprecated(), copy_message(), 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_exec(), parkandannounce_exec(), phone_call(), post_manager_event(), print_bc_info(), privacy_exec(), process_ast_dsp(), queue_exec(), release_chan(), ring_entry(), rpt_call(), senddialevent(), serialize_showchan(), set_one_cid(), setup_env(), skinny_answer(), skinny_call(), skinny_indicate(), skinny_ss(), sms_exec(), ss_thread(), valid_exit(), wait_for_answer(), waitstream_core(), write_metadata(), zapateller_exec(), zt_call(), zt_handle_dtmfup(), and zt_handle_event().

int cid_pres

Callerid presentation/screening

Definition at line 197 of file channel.h.

Referenced by __oh323_new(), ast_iax2_new(), ast_set_callerid(), begin_dial(), cb_events(), features_call(), gtalk_new(), iax2_call(), local_call(), oh323_call(), pbx_retrieve_variable(), privacy_exec(), setcallerid_pres_exec(), setup_env(), sip_call(), sip_new(), update_config(), zt_call(), and zt_new().

char* cid_rdnis

Malloc'd RDNIS

Definition at line 196 of file channel.h.

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

int cid_tns

Callerid Transit Network Select

Definition at line 200 of file channel.h.

Referenced by ast_iax2_new(), begin_dial(), iax2_call(), pbx_retrieve_variable(), and setup_env().

int cid_ton

Callerid Type of Number

Definition at line 199 of file channel.h.

Referenced by __oh323_new(), ast_iax2_new(), begin_dial(), iax2_call(), oh323_call(), pbx_retrieve_variable(), setup_env(), and zt_new().


The documentation for this struct was generated from the following file:
Generated on Sat Jul 26 06:14:36 2008 for Asterisk - the Open Source PBX by  doxygen 1.5.1