Asterisk - The Open Source Telephony Project  21.4.1
Data Fields
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 [AST_MAX_UNIQUEID]
 
struct ast_cdrnext
 
char peeraccount [AST_MAX_ACCOUNT_CODE]
 
int sequence
 
char src [AST_MAX_EXTENSION]
 
struct timeval start
 
char uniqueid [AST_MAX_UNIQUEID]
 
char userfield [AST_MAX_USER_FIELD]
 
struct varshead varshead
 

Detailed Description

Responsible for call detail data.

Definition at line 279 of file cdr.h.

Field Documentation

char accountcode[AST_MAX_ACCOUNT_CODE]

What account number to use

Definition at line 311 of file cdr.h.

Referenced by ast_cdr_format_var(), and cdr_object_create_public_records().

long int amaflags

What flags to use

Definition at line 309 of file cdr.h.

Referenced by ast_cdr_format_var(), and cdr_object_create_public_records().

long int billsec

Total time call is up, in seconds

Definition at line 305 of file cdr.h.

Referenced by ast_cdr_format_var(), and cdr_object_create_public_records().

char clid[AST_MAX_EXTENSION]

Caller*ID with text

Definition at line 281 of file cdr.h.

Referenced by ast_cdr_format_var(), and cdr_object_create_public_records().

char dcontext[AST_MAX_EXTENSION]

Destination context

Definition at line 287 of file cdr.h.

Referenced by ast_cdr_format_var(), and cdr_object_create_public_records().

long int disposition

What happened to the call

Definition at line 307 of file cdr.h.

Referenced by ast_cdr_format_var(), and cdr_object_create_public_records().

char dst[AST_MAX_EXTENSION]

Destination extension

Definition at line 285 of file cdr.h.

Referenced by ast_cdr_format_var(), and cdr_object_create_public_records().

char dstchannel[AST_MAX_EXTENSION]

Destination channel if appropriate

Definition at line 291 of file cdr.h.

Referenced by ast_cdr_format_var(), and cdr_object_create_public_records().

long int duration

Total time in system, in seconds

Definition at line 303 of file cdr.h.

Referenced by ast_cdr_format_var(), and cdr_object_create_public_records().

unsigned int flags

flags

Definition at line 315 of file cdr.h.

Referenced by ast_cdr_fork().

char lastapp[AST_MAX_EXTENSION]

Last application if appropriate

Definition at line 293 of file cdr.h.

Referenced by ast_cdr_format_var(), and cdr_object_create_public_records().

char lastdata[AST_MAX_EXTENSION]

Last application data

Definition at line 295 of file cdr.h.

Referenced by ast_cdr_format_var(), and cdr_object_create_public_records().

char linkedid[AST_MAX_UNIQUEID]

Linked group Identifier

Definition at line 319 of file cdr.h.

Referenced by ast_cdr_format_var(), and cdr_object_create_public_records().

char peeraccount[AST_MAX_ACCOUNT_CODE]

Account number of the last person we talked to

Definition at line 313 of file cdr.h.

Referenced by ast_cdr_format_var(), and cdr_object_create_public_records().

int sequence

Sequence field

Definition at line 323 of file cdr.h.

Referenced by ast_cdr_format_var(), and cdr_object_create_public_records().

char src[AST_MAX_EXTENSION]

Caller*ID number

Definition at line 283 of file cdr.h.

Referenced by ast_cdr_format_var(), and cdr_object_create_public_records().

char uniqueid[AST_MAX_UNIQUEID]

Unique Channel Identifier

Definition at line 317 of file cdr.h.

Referenced by ast_cdr_format_var(), and cdr_object_create_public_records().

char userfield[AST_MAX_USER_FIELD]

User field

Definition at line 321 of file cdr.h.

Referenced by ast_cdr_format_var(), and cdr_object_create_public_records().

A linked list for variables

Definition at line 326 of file cdr.h.

Referenced by ast_cdr_dup(), ast_cdr_free(), and cdr_object_create_public_records().


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