acc.h File Reference

Acc:: Core accounting. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define A_CALLID   "call_id"
#define A_CALLID_LEN   (sizeof(A_CALLID)-1)
#define A_CODE   "code"
#define A_CODE_LEN   (sizeof(A_CODE)-1)
#define A_EQ_CHR   '='
#define A_FROMTAG   "from_tag"
#define A_FROMTAG_LEN   (sizeof(A_FROMTAG)-1)
#define A_METHOD   "method"
#define A_METHOD_LEN   (sizeof(A_METHOD)-1)
#define A_SEPARATOR_CHR   ';'
#define A_STATUS   "reason"
#define A_STATUS_LEN   (sizeof(A_STATUS)-1)
#define A_TOTAG   "to_tag"
#define A_TOTAG_LEN   (sizeof(A_TOTAG)-1)
#define ACC   "ACC: "
#define ACC_ACKED   ACC"request acknowledged: "
#define ACC_ACKED_LEN   (sizeof(ACC_ACKED)-1)
#define ACC_ANSWERED   ACC"transaction answered: "
#define ACC_ANSWERED_LEN   (sizeof(ACC_ANSWERED)-1)
#define ACC_CORE_LEN   6
#define ACC_MISSED   ACC"call missed: "
#define ACC_MISSED_LEN   (sizeof(ACC_MISSED)-1)
#define ACC_REQUEST   ACC"request accounted: "
#define ACC_REQUEST_LEN   (sizeof(ACC_REQUEST)-1)
#define MAX_SYSLOG_SIZE   65536

Functions

void acc_log_init (void)
int acc_log_request (struct sip_msg *req)


Detailed Description

Acc:: Core accounting.

Definition in file acc.h.


Define Documentation

#define A_CALLID   "call_id"

Definition at line 64 of file acc.h.

#define A_CALLID_LEN   (sizeof(A_CALLID)-1)

Definition at line 65 of file acc.h.

#define A_CODE   "code"

Definition at line 66 of file acc.h.

#define A_CODE_LEN   (sizeof(A_CODE)-1)

Definition at line 67 of file acc.h.

#define A_EQ_CHR   '='

Definition at line 72 of file acc.h.

Referenced by acc_log_request().

#define A_FROMTAG   "from_tag"

Definition at line 60 of file acc.h.

#define A_FROMTAG_LEN   (sizeof(A_FROMTAG)-1)

Definition at line 61 of file acc.h.

#define A_METHOD   "method"

Definition at line 58 of file acc.h.

#define A_METHOD_LEN   (sizeof(A_METHOD)-1)

Definition at line 59 of file acc.h.

#define A_SEPARATOR_CHR   ';'

Definition at line 71 of file acc.h.

Referenced by acc_log_request().

#define A_STATUS   "reason"

Definition at line 68 of file acc.h.

#define A_STATUS_LEN   (sizeof(A_STATUS)-1)

Definition at line 69 of file acc.h.

#define A_TOTAG   "to_tag"

Definition at line 62 of file acc.h.

#define A_TOTAG_LEN   (sizeof(A_TOTAG)-1)

Definition at line 63 of file acc.h.

#define ACC   "ACC: "

Definition at line 47 of file acc.h.

#define ACC_ACKED   ACC"request acknowledged: "

Definition at line 54 of file acc.h.

Referenced by acc_onack().

#define ACC_ACKED_LEN   (sizeof(ACC_ACKED)-1)

Definition at line 55 of file acc.h.

Referenced by acc_onack().

#define ACC_ANSWERED   ACC"transaction answered: "

Definition at line 52 of file acc.h.

Referenced by acc_onreply().

#define ACC_ANSWERED_LEN   (sizeof(ACC_ANSWERED)-1)

Definition at line 53 of file acc.h.

Referenced by acc_onreply().

#define ACC_CORE_LEN   6

Definition at line 44 of file acc.h.

Referenced by core2strar().

#define ACC_MISSED   ACC"call missed: "

Definition at line 50 of file acc.h.

Referenced by on_missed().

#define ACC_MISSED_LEN   (sizeof(ACC_MISSED)-1)

Definition at line 51 of file acc.h.

Referenced by on_missed().

#define ACC_REQUEST   ACC"request accounted: "

Definition at line 48 of file acc.h.

Referenced by w_acc_log_request().

#define ACC_REQUEST_LEN   (sizeof(ACC_REQUEST)-1)

Definition at line 49 of file acc.h.

Referenced by w_acc_log_request().

#define MAX_SYSLOG_SIZE   65536

Definition at line 74 of file acc.h.

Referenced by acc_log_request().


Function Documentation

void acc_log_init ( void   ) 

Definition at line 193 of file acc.c.

References CALLID, FROMTAG, acc_extra::name, acc_extra::next, SET_LOG_ATTR, and TOTAG.

Referenced by mod_init().

int acc_log_request ( struct sip_msg req  ) 


Generated on Thu May 17 12:00:34 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6