Thu Apr 28 2011 17:16:24

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]
struct ast_cdrnext
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 69 of file cdr.h.


Field Documentation

char clid[AST_MAX_EXTENSION]
unsigned int flags

flags

Definition at line 103 of file cdr.h.

char lastapp[AST_MAX_EXTENSION]
char src[AST_MAX_EXTENSION]
char uniqueid[150]

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

Definition at line 106 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: