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 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_init().

int amaflags
 

What flags to use Definition at line 72 of file cdr.h.

Referenced by ast_cdr_init().

struct timeval answer
 

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

Referenced by ast_cdr_post(), and ast_cdr_reset().

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_init(), and ast_cdr_setcid().

char dcontext[AST_MAX_EXTENSION]
 

Destination context Definition at line 50 of file cdr.h.

Referenced by ast_cdr_init().

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(), ast_cdr_init(), and ast_cdr_reset().

char dst[AST_MAX_EXTENSION]
 

Destination extension Definition at line 48 of file cdr.h.

Referenced by ast_cdr_init().

char dstchannel[AST_MAX_EXTENSION]
 

Destination channel if appropriate Definition at line 54 of file cdr.h.

Referenced by ast_cdr_setdestchan().

int duration
 

Total time in system, in seconds Definition at line 66 of file cdr.h.

Referenced by ast_cdr_post(), and ast_cdr_reset().

struct timeval end
 

Definition at line 64 of file cdr.h.

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

int flags
 

flags Definition at line 76 of file cdr.h.

Referenced by ast_cdr_reset().

char lastapp[AST_MAX_EXTENSION]
 

Last application if appropriate Definition at line 56 of file cdr.h.

Referenced by ast_cdr_setapp().

char lastdata[AST_MAX_EXTENSION]
 

Last application data Definition at line 58 of file cdr.h.

Referenced by ast_cdr_setapp().

struct ast_cdr* next
 

Definition at line 81 of file cdr.h.

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

char src[AST_MAX_EXTENSION]
 

Caller*ID number Definition at line 46 of file cdr.h.

Referenced by ast_cdr_init(), and ast_cdr_setcid().

struct timeval start
 

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

Referenced by ast_cdr_init().

char userfield[AST_MAX_USER_FIELD]
 

Definition at line 80 of file cdr.h.


The documentation for this struct was generated from the following file:
Generated on Tue Aug 17 16:13:57 2004 for Asterisk by doxygen 1.3.8