Main Page | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

ast_cdr Struct Reference

Responsible for call detail data. More...

#include <cdr.h>


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]
timeval start
timeval answer
timeval end
int duration
int billsec
int disposition
int amaflags
char accountcode [20]
int flags
char uniqueid [32]
char userfield [AST_MAX_USER_FIELD]
ast_cdrnext


Detailed Description

Responsible for call detail data.

Definition at line 42 of file cdr.h.


Field Documentation

char accountcode[20]
 

What account number to use

Definition at line 74 of file cdr.h.

Referenced by ast_cdr_setaccount(), and ast_cdr_update().

int amaflags
 

What flags to use

Definition at line 72 of file cdr.h.

Referenced by ast_cdr_init(), and ast_cdr_setamaflags().

struct timeval answer
 

Definition at line 62 of file cdr.h.

Referenced by ast_cdr_post().

int billsec
 

Total time call is up, in seconds

Definition at line 68 of file cdr.h.

Referenced by ast_cdr_post().

char channel[AST_MAX_EXTENSION]
 

Definition at line 52 of file cdr.h.

Referenced by ast_cdr_answer(), ast_cdr_busy(), ast_cdr_end(), ast_cdr_failed(), ast_cdr_free(), ast_cdr_init(), ast_cdr_post(), ast_cdr_setapp(), ast_cdr_setdestchan(), and ast_cdr_start().

char clid[AST_MAX_EXTENSION]
 

Caller*ID with text

Definition at line 44 of file cdr.h.

Referenced by ast_cdr_update().

char dcontext[AST_MAX_EXTENSION]
 

Destination context

Definition at line 50 of file cdr.h.

Referenced by ast_cdr_update().

int disposition
 

What happened to the call

Definition at line 70 of file cdr.h.

Referenced by ast_cdr_answer(), ast_cdr_busy(), ast_cdr_failed(), and ast_cdr_init().

char dst[AST_MAX_EXTENSION]
 

Destination extension

Definition at line 48 of file cdr.h.

Referenced by ast_cdr_update().

char dstchannel[AST_MAX_EXTENSION]
 

Destination channel if appropriate

Definition at line 54 of file cdr.h.

int duration
 

Total time in system, in seconds

Definition at line 66 of file cdr.h.

Referenced by ast_cdr_post().

struct timeval end
 

Definition at line 64 of file cdr.h.

Referenced by ast_cdr_post().

int flags
 

flags

Definition at line 76 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 ast_cdr* next
 

Definition at line 81 of file cdr.h.

Referenced by ast_cdr_answer(), ast_cdr_append(), ast_cdr_appenduserfield(), ast_cdr_busy(), ast_cdr_disposition(), ast_cdr_end(), ast_cdr_failed(), ast_cdr_free(), ast_cdr_init(), ast_cdr_setaccount(), ast_cdr_setapp(), ast_cdr_setcid(), ast_cdr_setdestchan(), ast_cdr_setuserfield(), ast_cdr_start(), and ast_cdr_update().

char src[AST_MAX_EXTENSION]
 

Caller*ID number

Definition at line 46 of file cdr.h.

Referenced by ast_cdr_update().

struct timeval start
 

Definition at line 60 of file cdr.h.

Referenced by ast_cdr_post().

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.

Referenced by ast_cdr_appenduserfield(), and ast_cdr_setuserfield().


The documentation for this struct was generated from the following file:
Generated on Wed Mar 16 20:08:39 2005 for Asterisk by  doxygen 1.4.0