Wed Jan 8 2020 09:50:23

Asterisk developer's documentation


ast_cdr Struct Reference

Responsible for call detail data. More...

#include <cdr.h>

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 82 of file cdr.h.

Field Documentation

long int billsec
long int duration
unsigned int flags

flags

Definition at line 118 of file cdr.h.

char linkedid[32]

Definition at line 123 of file cdr.h.

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

char peeraccount[AST_MAX_ACCOUNT_CODE]

Account number of the last person we talked to

Definition at line 116 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 127 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 121 of file cdr.h.

Referenced by ast_bridge_call(), ast_cdr_getvar(), ast_cdr_init(), ast_do_masquerade(), 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: