Sat Apr 26 2014 22:03:23

Asterisk developer's documentation


ast_cdr Struct Reference

Responsible for call detail data. More...

#include <cdr.h>

Collaboration diagram for ast_cdr:

Data Fields

char accountcode [AST_MAX_ACCOUNT_CODE]
long int amaflags
struct 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
struct timeval end
unsigned int flags
char lastapp [AST_MAX_EXTENSION]
char lastdata [AST_MAX_EXTENSION]
char linkedid [32]
struct ast_cdrnext
char peeraccount [AST_MAX_ACCOUNT_CODE]
int sequence
char src [AST_MAX_EXTENSION]
struct timeval start
char uniqueid [150]
char userfield [AST_MAX_USER_FIELD]
struct varshead varshead

Detailed Description

Responsible for call detail data.

Definition at line 83 of file cdr.h.


Field Documentation

unsigned int flags

flags

Definition at line 119 of file cdr.h.

char linkedid[32]

Definition at line 124 of file cdr.h.

Referenced by ast_cdr_getvar(), ast_cdr_init(), ast_cdr_update(), and try_calling().

Account number of the last person we talked to

Definition at line 117 of file cdr.h.

Referenced by ast_cdr_getvar(), ast_cdr_init(), ast_cdr_merge(), ast_cdr_setpeeraccount(), and ast_cdr_update().

int sequence

Sequence field

Definition at line 128 of file cdr.h.

Referenced by ast_cdr_getvar(), and cdr_seq_inc().

char uniqueid[150]

Unique Channel Identifier 150 = 127 (max systemname) + "-" + 10 (epoch timestamp) + "." + 10 (monotonically incrementing integer) + NULL

Definition at line 122 of file cdr.h.

Referenced by ast_bridge_call(), ast_cdr_getvar(), ast_cdr_init(), build_csv_record(), build_radius_record(), execute_cb(), manager_log(), sqlite_log(), and try_calling().


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