Asterisk - The Open Source Telephony Project GIT-master-a63eec2
Loading...
Searching...
No Matches
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 281 of file cdr.h.

Field Documentation

◆ accountcode

char accountcode[AST_MAX_ACCOUNT_CODE]

What account number to use

Definition at line 313 of file cdr.h.

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

◆ amaflags

long int amaflags

What flags to use

Definition at line 311 of file cdr.h.

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

◆ answer

struct timeval answer

◆ billsec

long int billsec

Total time call is up, in seconds

Definition at line 307 of file cdr.h.

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

◆ channel

◆ clid

◆ dcontext

Destination context

Definition at line 289 of file cdr.h.

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

◆ disposition

long int disposition

What happened to the call

Definition at line 309 of file cdr.h.

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

◆ dst

Destination extension

Definition at line 287 of file cdr.h.

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

◆ dstchannel

char dstchannel[AST_MAX_EXTENSION]

Destination channel if appropriate

Definition at line 293 of file cdr.h.

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

◆ duration

long int duration

Total time in system, in seconds

Definition at line 305 of file cdr.h.

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

◆ end

◆ flags

unsigned int flags

flags

Definition at line 317 of file cdr.h.

◆ lastapp

Last application if appropriate

Definition at line 295 of file cdr.h.

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

◆ lastdata

Last application data

Definition at line 297 of file cdr.h.

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

◆ linkedid

Linked group Identifier

Definition at line 321 of file cdr.h.

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

◆ next

struct ast_cdr* next

◆ peeraccount

char peeraccount[AST_MAX_ACCOUNT_CODE]

Account number of the last person we talked to

Definition at line 315 of file cdr.h.

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

◆ peertenantid

char peertenantid[AST_MAX_TENANT_ID]

Channel tenant Identifier of the last person we talked to

Definition at line 325 of file cdr.h.

Referenced by ast_cdr_format_var().

◆ sequence

int sequence

Sequence field

Definition at line 329 of file cdr.h.

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

◆ src

Caller*ID number

Definition at line 285 of file cdr.h.

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

◆ start

struct timeval start

◆ tenantid

Channel tenant Identifier

Definition at line 323 of file cdr.h.

Referenced by ast_cdr_format_var().

◆ uniqueid

Unique Channel Identifier

Definition at line 319 of file cdr.h.

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

◆ userfield

User field

Definition at line 327 of file cdr.h.

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

◆ varshead

A linked list for variables

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