Main Page | Alphabetical List | Data Structures | 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 posted
char uniqueid [32]
char userfield [AST_MAX_USER_FIELD]


Detailed Description

Responsible for call detail data.

Definition at line 38 of file cdr.h.


Field Documentation

char accountcode[20]
 

What account number to use

Definition at line 70 of file cdr.h.

Referenced by ast_cdr_init().

int amaflags
 

What flags to use

Definition at line 68 of file cdr.h.

Referenced by ast_cdr_init().

struct timeval answer
 

Definition at line 58 of file cdr.h.

Referenced by ast_cdr_answer(), ast_cdr_post(), and ast_cdr_reset().

int billsec
 

Total time call is up, in seconds

Definition at line 64 of file cdr.h.

Referenced by ast_cdr_post(), and ast_cdr_reset().

char channel[AST_MAX_EXTENSION]
 

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

Referenced by ast_cdr_init(), and ast_cdr_setcid().

char dcontext[AST_MAX_EXTENSION]
 

Destination context

Definition at line 46 of file cdr.h.

Referenced by ast_cdr_init().

int disposition
 

What happened to the call

Definition at line 66 of file cdr.h.

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

char dst[AST_MAX_EXTENSION]
 

Destination extension

Definition at line 44 of file cdr.h.

Referenced by ast_cdr_init().

char dstchannel[AST_MAX_EXTENSION]
 

Destination channel if appropriate

Definition at line 50 of file cdr.h.

Referenced by ast_cdr_setdestchan().

int duration
 

Total time in system, in seconds

Definition at line 62 of file cdr.h.

Referenced by ast_cdr_post(), and ast_cdr_reset().

struct timeval end
 

Definition at line 60 of file cdr.h.

Referenced by ast_cdr_end(), ast_cdr_free(), ast_cdr_post(), and ast_cdr_reset().

char lastapp[AST_MAX_EXTENSION]
 

Last application if appropriate

Definition at line 52 of file cdr.h.

Referenced by ast_cdr_setapp().

char lastdata[AST_MAX_EXTENSION]
 

Last application data

Definition at line 54 of file cdr.h.

Referenced by ast_cdr_setapp().

int posted
 

Whether or not the record has been posted

Definition at line 72 of file cdr.h.

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

char src[AST_MAX_EXTENSION]
 

Caller*ID number

Definition at line 42 of file cdr.h.

Referenced by ast_cdr_init(), and ast_cdr_setcid().

struct timeval start
 

Definition at line 56 of file cdr.h.

Referenced by ast_cdr_end(), ast_cdr_free(), ast_cdr_post(), ast_cdr_reset(), and ast_cdr_start().

char uniqueid[32]
 

Definition at line 74 of file cdr.h.

Referenced by ast_cdr_init().

char userfield[AST_MAX_USER_FIELD]
 

Definition at line 76 of file cdr.h.


The documentation for this struct was generated from the following file:
Generated on Sat Jun 12 16:41:51 2004 for Asterisk by doxygen 1.3.7