Wed Oct 28 15:49:27 2009

Asterisk developer's documentation


ast_cdr Struct Reference

#include <cdr.h>

Collaboration diagram for ast_cdr:

Collaboration graph
[legend]

Data Fields

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

Detailed Description

Responsible for call detail data

Definition at line 54 of file cdr.h.


Field Documentation

char accountcode[AST_MAX_ACCOUNT_CODE]

long int amaflags

struct timeval answer [read]

long int billsec

Total time call is up, in seconds

Definition at line 80 of file cdr.h.

Referenced by ast_cdr_getvar(), ast_cdr_reset(), build_csv_record(), csv_log(), manager_log(), odbc_log(), pgsql_log(), post_cdr(), sqlite_log(), and tds_log().

char channel[AST_MAX_EXTENSION]

char clid[AST_MAX_EXTENSION]

char dcontext[AST_MAX_EXTENSION]

Destination context

Definition at line 62 of file cdr.h.

Referenced by ast_cdr_getvar(), ast_cdr_init(), ast_cdr_update(), build_csv_record(), manager_log(), odbc_log(), pgsql_log(), sqlite_log(), and tds_log().

long int disposition

char dst[AST_MAX_EXTENSION]

Destination extension

Definition at line 60 of file cdr.h.

Referenced by ast_cdr_getvar(), ast_cdr_init(), ast_cdr_update(), build_csv_record(), csv_log(), manager_log(), odbc_log(), pgsql_log(), sqlite_log(), and tds_log().

char dstchannel[AST_MAX_EXTENSION]

Destination channel if appropriate

Definition at line 66 of file cdr.h.

Referenced by ast_cdr_getvar(), ast_cdr_setdestchan(), build_csv_record(), manager_log(), odbc_log(), pgsql_log(), sqlite_log(), and tds_log().

long int duration

Total time in system, in seconds

Definition at line 78 of file cdr.h.

Referenced by ast_cdr_getvar(), ast_cdr_reset(), build_csv_record(), csv_log(), manager_log(), odbc_log(), pgsql_log(), post_cdr(), sqlite_log(), and tds_log().

struct timeval end [read]

unsigned int flags

flags

Definition at line 88 of file cdr.h.

char lastapp[AST_MAX_EXTENSION]

Last application if appropriate

Definition at line 68 of file cdr.h.

Referenced by ast_cdr_getvar(), ast_cdr_setapp(), build_csv_record(), manager_log(), odbc_log(), pgsql_log(), sqlite_log(), and tds_log().

char lastdata[AST_MAX_EXTENSION]

Last application data

Definition at line 70 of file cdr.h.

Referenced by ast_cdr_getvar(), ast_cdr_setapp(), build_csv_record(), manager_log(), odbc_log(), pgsql_log(), sqlite_log(), and tds_log().

struct ast_cdr* next [read]

char src[AST_MAX_EXTENSION]

struct timeval start [read]

char uniqueid[32]

char userfield[AST_MAX_USER_FIELD]

struct varshead varshead [read]


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

Generated on Wed Oct 28 15:49:27 2009 for Asterisk - the Open Source PBX by  doxygen 1.5.6