Thu Feb 5 16:26:29 2009

Asterisk developer's documentation


ast_cdr Struct Reference

#include <cdr.h>


Data Fields

char accountcode [AST_MAX_ACCOUNT_CODE]
long int amaflags
timeval answer
long int billsec
char channel [AST_MAX_EXTENSION]
char clid [AST_MAX_EXTENSION]
char dcontext [AST_MAX_EXTENSION]
long int disposition
char dst [AST_MAX_EXTENSION]
char dstchannel [AST_MAX_EXTENSION]
long int duration
timeval end
unsigned int flags
char lastapp [AST_MAX_EXTENSION]
char lastdata [AST_MAX_EXTENSION]
ast_cdrnext
char src [AST_MAX_EXTENSION]
timeval start
char uniqueid [32]
char userfield [AST_MAX_USER_FIELD]
varshead varshead


Detailed Description

Responsible for call detail data

Definition at line 61 of file cdr.h.


Field Documentation

char accountcode[AST_MAX_ACCOUNT_CODE]

What account number to use

Definition at line 93 of file cdr.h.

Referenced by ast_bridge_call(), ast_cdr_getvar(), ast_cdr_merge(), ast_cdr_setaccount(), build_csv_record(), build_query(), build_radius_record(), csv_log(), manager_log(), pgsql_log(), sqlite_log(), and tds_log().

long int amaflags

What flags to use

Definition at line 91 of file cdr.h.

Referenced by ast_bridge_call(), ast_cdr_getvar(), ast_cdr_merge(), ast_cdr_setamaflags(), build_csv_record(), build_query(), build_radius_record(), csv_log(), manager_log(), pgsql_log(), sqlite_log(), and tds_log().

struct timeval answer

Definition at line 81 of file cdr.h.

Referenced by ast_bridge_call(), ast_cdr_getvar(), ast_cdr_merge(), ast_cdr_reset(), ast_cdr_specialized_reset(), build_csv_record(), build_radius_record(), end_bridge_callback(), manager_log(), ospfinished_exec(), sqlite_log(), tds_log(), and wait_for_answer().

long int billsec

Total time call is up, in seconds

Definition at line 87 of file cdr.h.

Referenced by ast_cdr_getvar(), ast_cdr_merge(), ast_cdr_reset(), ast_cdr_specialized_reset(), build_csv_record(), build_query(), build_radius_record(), csv_log(), manager_log(), pgsql_log(), sqlite_log(), and tds_log().

char channel[AST_MAX_EXTENSION]

Definition at line 71 of file cdr.h.

Referenced by __login_exec(), agentmonitoroutgoing_exec(), ast_bridge_call(), ast_cdr_free(), ast_cdr_getvar(), ast_cdr_init(), ast_cdr_merge(), ast_cdr_noanswer(), ast_cdr_start(), build_csv_record(), build_query(), build_radius_record(), check_post(), csv_log(), manager_log(), pgsql_log(), post_cdr(), sqlite_log(), and tds_log().

char clid[AST_MAX_EXTENSION]

Caller*ID with text

Definition at line 63 of file cdr.h.

Referenced by ast_cdr_getvar(), ast_cdr_merge(), build_csv_record(), build_query(), build_radius_record(), manager_log(), pgsql_log(), set_one_cid(), sqlite_log(), and tds_log().

char dcontext[AST_MAX_EXTENSION]

Destination context

Definition at line 69 of file cdr.h.

Referenced by ast_bridge_call(), ast_cdr_getvar(), ast_cdr_merge(), build_csv_record(), build_query(), build_radius_record(), manager_log(), pgsql_log(), sqlite_log(), and tds_log().

long int disposition

What happened to the call

Definition at line 89 of file cdr.h.

Referenced by ast_bridge_call(), ast_cdr_failed(), ast_cdr_getvar(), ast_cdr_merge(), ast_cdr_noanswer(), ast_cdr_reset(), ast_cdr_specialized_reset(), ast_hangup(), build_csv_record(), build_query(), build_radius_record(), csv_log(), manager_log(), pgsql_log(), post_cdr(), sqlite_log(), tds_log(), and wait_for_answer().

char dst[AST_MAX_EXTENSION]

Destination extension

Definition at line 67 of file cdr.h.

Referenced by ast_bridge_call(), ast_cdr_getvar(), ast_cdr_merge(), build_csv_record(), build_query(), build_radius_record(), csv_log(), manager_log(), pgsql_log(), sqlite_log(), and tds_log().

char dstchannel[AST_MAX_EXTENSION]

Destination channel if appropriate

Definition at line 73 of file cdr.h.

Referenced by ast_bridge_call(), ast_cdr_getvar(), ast_cdr_merge(), ast_cdr_setdestchan(), build_csv_record(), build_query(), build_radius_record(), manager_log(), pgsql_log(), post_cdr(), sqlite_log(), and tds_log().

long int duration

Total time in system, in seconds

Definition at line 85 of file cdr.h.

Referenced by ast_cdr_getvar(), ast_cdr_merge(), ast_cdr_reset(), ast_cdr_specialized_reset(), build_csv_record(), build_query(), build_radius_record(), csv_log(), manager_log(), pgsql_log(), sqlite_log(), and tds_log().

struct timeval end

Definition at line 83 of file cdr.h.

Referenced by ast_cdr_free(), ast_cdr_getvar(), ast_cdr_merge(), ast_cdr_reset(), ast_cdr_specialized_reset(), build_csv_record(), build_radius_record(), manager_log(), post_cdr(), sqlite_log(), and tds_log().

unsigned int flags

flags

Definition at line 95 of file cdr.h.

Referenced by cdr_read().

char lastapp[AST_MAX_EXTENSION]

Last application if appropriate

Definition at line 75 of file cdr.h.

Referenced by ast_bridge_call(), ast_cdr_getvar(), ast_cdr_merge(), build_csv_record(), build_query(), build_radius_record(), manager_log(), pgsql_log(), sqlite_log(), and tds_log().

char lastdata[AST_MAX_EXTENSION]

Last application data

Definition at line 77 of file cdr.h.

Referenced by ast_bridge_call(), ast_cdr_getvar(), ast_cdr_merge(), build_csv_record(), build_query(), build_radius_record(), manager_log(), pgsql_log(), sqlite_log(), and tds_log().

struct ast_cdr* next

Definition at line 104 of file cdr.h.

Referenced by ast_bridge_call(), ast_cdr_answer(), ast_cdr_append(), ast_cdr_appenduserfield(), ast_cdr_busy(), ast_cdr_discard(), ast_cdr_disposition(), ast_cdr_end(), ast_cdr_failed(), ast_cdr_fork(), ast_cdr_free(), ast_cdr_free_vars(), ast_cdr_getvar_internal(), ast_cdr_init(), ast_cdr_merge(), ast_cdr_noanswer(), ast_cdr_reset(), ast_cdr_serialize_variables(), ast_cdr_setaccount(), ast_cdr_setamaflags(), ast_cdr_setapp(), ast_cdr_setcid(), ast_cdr_setdestchan(), ast_cdr_setuserfield(), ast_cdr_setvar(), ast_cdr_start(), ast_cdr_update(), cdr_read(), cdr_write(), pick_unlocked_cdr(), and post_cdr().

char src[AST_MAX_EXTENSION]

Caller*ID number

Definition at line 65 of file cdr.h.

Referenced by ast_cdr_getvar(), ast_cdr_merge(), build_csv_record(), build_query(), build_radius_record(), csv_log(), manager_log(), pgsql_log(), set_one_cid(), sqlite_log(), and tds_log().

struct timeval start

Definition at line 79 of file cdr.h.

Referenced by action_status(), ast_bridge_call(), ast_cdr_free(), ast_cdr_getvar(), ast_cdr_merge(), ast_cdr_reset(), ast_cdr_specialized_reset(), ast_cdr_start(), build_csv_record(), build_query(), build_radius_record(), end_bridge_callback(), handle_chanlist(), handle_chanlist_deprecated(), handle_showchan(), handle_showchan_deprecated(), manager_log(), ospfinished_exec(), pgsql_log(), post_cdr(), serialize_showchan(), sqlite_log(), and tds_log().

char uniqueid[32]

Definition at line 97 of file cdr.h.

Referenced by ast_bridge_call(), ast_cdr_getvar(), build_csv_record(), build_query(), build_radius_record(), manager_log(), pgsql_log(), sqlite_log(), tds_log(), and try_calling().

char userfield[AST_MAX_USER_FIELD]

Definition at line 99 of file cdr.h.

Referenced by ast_bridge_call(), ast_cdr_appenduserfield(), ast_cdr_getvar(), ast_cdr_merge(), ast_cdr_setuserfield(), build_csv_record(), build_query(), build_radius_record(), manager_log(), pgsql_log(), sqlite_log(), and tds_log().

struct varshead varshead

Definition at line 102 of file cdr.h.

Referenced by ast_cdr_copy_vars(), ast_cdr_free_vars(), ast_cdr_getvar_internal(), ast_cdr_serialize_variables(), and cdr_merge_vars().


The documentation for this struct was generated from the following file:
Generated on Thu Feb 5 16:26:29 2009 for Asterisk - the Open Source PBX by  doxygen 1.4.7