Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
ast_cdr Struct Reference

Responsible for call detail data. More...

#include <cdr.h>

Collaboration diagram for ast_cdr:
Collaboration graph
[legend]

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

Field Documentation

◆ accountcode

char accountcode[AST_MAX_ACCOUNT_CODE]

◆ amaflags

long int amaflags

◆ answer

struct timeval answer

◆ billsec

long int billsec

◆ channel

◆ clid

char clid[AST_MAX_EXTENSION]

◆ dcontext

char dcontext[AST_MAX_EXTENSION]

◆ disposition

long int disposition

◆ dst

char dst[AST_MAX_EXTENSION]

◆ dstchannel

char dstchannel[AST_MAX_EXTENSION]

◆ duration

long int duration

Total time in system, in seconds

Definition at line 300 of file cdr.h.

Referenced by ast_cdr_format_var(), beanstalk_put(), build_csv_record(), build_radius_record(), cdr_object_create_public_records(), execute_cb(), and manager_log().

◆ end

struct timeval end

◆ flags

unsigned int flags

flags

Definition at line 312 of file cdr.h.

◆ lastapp

char lastapp[AST_MAX_EXTENSION]

Last application if appropriate

Definition at line 290 of file cdr.h.

Referenced by ast_cdr_format_var(), beanstalk_put(), build_csv_record(), build_radius_record(), cdr_object_create_public_records(), execute_cb(), and manager_log().

◆ lastdata

char lastdata[AST_MAX_EXTENSION]

◆ linkedid

char linkedid[AST_MAX_UNIQUEID]

◆ next

struct ast_cdr* next

◆ peeraccount

char peeraccount[AST_MAX_ACCOUNT_CODE]

Account number of the last person we talked to

Definition at line 310 of file cdr.h.

Referenced by ast_cdr_format_var(), build_csv_record(), cdr_object_create_public_records(), and execute_cb().

◆ sequence

int sequence

Sequence field

Definition at line 320 of file cdr.h.

Referenced by ast_cdr_format_var(), build_csv_record(), cdr_object_create_public_records(), and execute_cb().

◆ src

char src[AST_MAX_EXTENSION]

◆ start

struct timeval start

◆ uniqueid

char uniqueid[AST_MAX_UNIQUEID]

◆ userfield

char userfield[AST_MAX_USER_FIELD]

◆ varshead

A linked list for variables

Definition at line 323 of file cdr.h.

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


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