Thu Oct 11 06:50:11 2012

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.

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.
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).

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

Field Documentation

char* cid_ani

int cid_ani2

char* cid_dnid

char* cid_name

char* cid_num

Malloc'd Caller Number

Definition at line 203 of file channel.h.

Referenced by __ast_channel_alloc_ap(), __ast_goto_if_exists(), __ast_pbx_run(), _macro_exec(), acf_isexten_exec(), action_agents(), action_coreshowchannels(), action_meetmelist(), action_status(), agent_call(), agentmonitoroutgoing_exec(), ast_app_dtget(), ast_bridge_call(), ast_call_forward(), ast_channel_bridge(), ast_hangup(), ast_set_callerid(), ast_setstate(), ast_var_channels_table(), background_detect_exec(), begin_dial_channel(), blacklist_read(), build_rpid(), builtin_atxfer(), builtin_automixmonitor(), builtin_automonitor(), callerid_read(), check_bridge(), collect_digits(), conf_run(), console_call(), console_transfer(), copy_message(), dahdi_call(), dahdi_handle_dtmf(), dahdi_handle_event(), dial_exec_full(), dial_trunk(), disa_exec(), do_forward(), do_immediate_setup(), find_matching_endwhile(), findmeexec(), forward_message(), free_cid(), gosub_exec(), handle_chanlist(), handle_cli_misdn_show_channels(), handle_gosub(), handle_setpriority(), handle_showchan(), iax2_call(), initreqprep(), isexten_function_read(), join_queue(), leave_voicemail(), local_call(), manager_bridge_event(), manager_parking_status(), manager_queues_status(), meetme_show_cmd(), mgcp_call(), mgcp_hangup(), mgcp_ss(), minivm_greet_exec(), minivm_notify_exec(), misdn_call(), misdn_hangup(), misdn_write(), oh323_call(), ospauth_exec(), osplookup_exec(), oss_call(), park_call_full(), park_exec_full(), parkandannounce_exec(), 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(), process_sdp(), 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(), sip_read(), skinny_answer(), skinny_call(), skinny_indicate(), skinny_ss(), sla_ring_station(), sms_exec(), ss_thread(), transmit_state_notify(), unistim_call(), unistim_new(), usbradio_new(), valid_exit(), vm_authenticate(), wait_for_answer(), waitstream_core(), write_metadata(), and zapateller_exec().

int cid_pres

char* cid_rdnis

int cid_tns

int cid_ton

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

Generated on Thu Oct 11 06:50:11 2012 for Asterisk - the Open Source PBX by  doxygen 1.5.6