Asterisk - The Open Source Telephony Project GIT-master-3dae2cf
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]
 
char peertenantid [AST_MAX_TENANT_ID]
 
int sequence
 
char src [AST_MAX_EXTENSION]
 
struct timeval start
 
char tenantid [AST_MAX_TENANT_ID]
 
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

◆ accountcode

char accountcode[AST_MAX_ACCOUNT_CODE]

◆ amaflags

long int amaflags

◆ answer

struct timeval answer

◆ billsec

long int billsec

◆ channel

char channel[AST_MAX_EXTENSION]

◆ 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 303 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 315 of file cdr.h.

◆ lastapp

char lastapp[AST_MAX_EXTENSION]

Last application if appropriate

Definition at line 293 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 313 of file cdr.h.

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

◆ peertenantid

char peertenantid[AST_MAX_TENANT_ID]

Channel tenant Identifier of the last person we talked to

Definition at line 323 of file cdr.h.

Referenced by ast_cdr_format_var(), and cdr_object_create_public_records().

◆ sequence

int sequence

Sequence field

Definition at line 327 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

◆ tenantid

char tenantid[AST_MAX_TENANT_ID]

Channel tenant Identifier

Definition at line 321 of file cdr.h.

Referenced by ast_cdr_format_var(), and cdr_object_create_public_records().

◆ uniqueid

char uniqueid[AST_MAX_UNIQUEID]

◆ userfield

char userfield[AST_MAX_USER_FIELD]

◆ varshead

A linked list for variables

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