ast_cdr Struct Reference

Responsible for call detail data. More...

#include <cdr.h>

Collaboration diagram for ast_cdr:

Collaboration graph
[legend]

Data Fields

char clid [AST_MAX_EXTENSION]
char src [AST_MAX_EXTENSION]
char dst [AST_MAX_EXTENSION]
char dcontext [AST_MAX_EXTENSION]
char channel [AST_MAX_EXTENSION]
char dstchannel [AST_MAX_EXTENSION]
char lastapp [AST_MAX_EXTENSION]
char lastdata [AST_MAX_EXTENSION]
struct timeval start
struct timeval answer
struct timeval end
int duration
int billsec
int disposition
int amaflags
char accountcode [20]
int flags
char uniqueid [32]
char userfield [AST_MAX_USER_FIELD]
struct ast_cdrnext

Detailed Description

Responsible for call detail data.

Definition at line 42 of file cdr.h.


Field Documentation

char clid[AST_MAX_EXTENSION]

Caller*ID with text

Definition at line 44 of file cdr.h.

char src[AST_MAX_EXTENSION]

Caller*ID number

Definition at line 46 of file cdr.h.

char dst[AST_MAX_EXTENSION]

Destination extension

Definition at line 48 of file cdr.h.

char dcontext[AST_MAX_EXTENSION]

Destination context

Definition at line 50 of file cdr.h.

char channel[AST_MAX_EXTENSION]

Definition at line 52 of file cdr.h.

char dstchannel[AST_MAX_EXTENSION]

Destination channel if appropriate

Definition at line 54 of file cdr.h.

char lastapp[AST_MAX_EXTENSION]

Last application if appropriate

Definition at line 56 of file cdr.h.

char lastdata[AST_MAX_EXTENSION]

Last application data

Definition at line 58 of file cdr.h.

struct timeval start [read]

Definition at line 60 of file cdr.h.

struct timeval answer [read]

Definition at line 62 of file cdr.h.

struct timeval end [read]

Definition at line 64 of file cdr.h.

int duration

Total time in system, in seconds

Definition at line 66 of file cdr.h.

int billsec

Total time call is up, in seconds

Definition at line 68 of file cdr.h.

What happened to the call

Definition at line 70 of file cdr.h.

int amaflags

What flags to use

Definition at line 72 of file cdr.h.

char accountcode[20]

What account number to use

Definition at line 74 of file cdr.h.

int flags

flags

Definition at line 76 of file cdr.h.

char uniqueid[32]

Definition at line 78 of file cdr.h.

char userfield[AST_MAX_USER_FIELD]

Definition at line 80 of file cdr.h.

struct ast_cdr* next [read]

Definition at line 81 of file cdr.h.


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

Generated on Wed Oct 28 17:01:04 2009 for Asterisk by  doxygen 1.5.6