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]


Detailed Description

Responsible for call detail data.

Definition at line 35 of file cdr.h.


Field Documentation

char accountcode[20]
 

What account number to use

Definition at line 67 of file cdr.h.

Referenced by ast_cdr_init().

int amaflags
 

What flags to use

Definition at line 65 of file cdr.h.

Referenced by ast_cdr_init().

struct timeval answer
 

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

Referenced by ast_cdr_post(), and ast_cdr_reset().

char channel[AST_MAX_EXTENSION]
 

Definition at line 45 of file cdr.h.

Referenced by ast_cdr_answer(), ast_cdr_busy(), ast_cdr_end(), 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 37 of file cdr.h.

Referenced by ast_cdr_init(), and ast_cdr_setcid().

char dcontext[AST_MAX_EXTENSION]
 

Destination context

Definition at line 43 of file cdr.h.

Referenced by ast_cdr_init().

int disposition
 

What happened to the call

Definition at line 63 of file cdr.h.

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

char dst[AST_MAX_EXTENSION]
 

Destination extension

Definition at line 41 of file cdr.h.

Referenced by ast_cdr_init().

char dstchannel[AST_MAX_EXTENSION]
 

Destination channel if appropriate

Definition at line 47 of file cdr.h.

Referenced by ast_cdr_setdestchan().

int duration
 

Total time in system, in seconds

Definition at line 59 of file cdr.h.

Referenced by ast_cdr_post(), and ast_cdr_reset().

struct timeval end
 

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

Referenced by ast_cdr_setapp().

char lastdata[AST_MAX_EXTENSION]
 

Last application data

Definition at line 51 of file cdr.h.

Referenced by ast_cdr_setapp().

int posted
 

Whether or not the record has been posted

Definition at line 69 of file cdr.h.

Referenced by ast_cdr_answer(), ast_cdr_busy(), ast_cdr_end(), 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 39 of file cdr.h.

Referenced by ast_cdr_init(), and ast_cdr_setcid().

struct timeval start
 

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

Referenced by ast_cdr_init().


The documentation for this struct was generated from the following file:
Generated on Fri Oct 31 07:05:18 2003 for Asterisk by doxygen 1.3.4