acc_mod.h

Go to the documentation of this file.
00001 /*
00002  * $Id: acc_mod.h 4518 2008-07-28 15:39:28Z henningw $
00003  *
00004  * Accounting module
00005  *
00006  * Copyright (C) 2001-2003 FhG Fokus
00007  * Copyright (C) 2006 Voice Sistem SRL
00008  *
00009  * This file is part of Kamailio, a free SIP server.
00010  *
00011  * Kamailio is free software; you can redistribute it and/or modify
00012  * it under the terms of the GNU General Public License as published by
00013  * the Free Software Foundation; either version 2 of the License, or
00014  * (at your option) any later version
00015  *
00016  * Kamailio is distributed in the hope that it will be useful,
00017  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00018  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00019  * GNU General Public License for more details.
00020  *
00021  * You should have received a copy of the GNU General Public License
00022  * along with this program; if not, write to the Free Software
00023  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00024  *
00025  * History:
00026  * ---------
00027  * 2003-04-04  grand acc cleanup (jiri)
00028  * 2003-11-04  multidomain support for mysql introduced (jiri)
00029  * 2004-06-06  removed db_url, db_handle (andrei)
00030  * 2005-06-28  multi leg call support added (bogdan)
00031  * 2006-09-19  final stage of a masive re-structuring and cleanup (bogdan)
00032  */
00033 
00034 /*! \file
00035  * \ingroup acc
00036  * \brief Acc::  Core module
00037  *
00038  * - \ref acc_mod.c
00039  * - Module: \ref acc
00040  */
00041 
00042 #ifndef _ACC_MOD_H
00043 #define _ACC_MOD_H
00044 
00045 /* module parameter declaration */
00046 extern int report_cancels;
00047 extern int report_ack;
00048 extern int early_media;
00049 extern int failed_transaction_flag;
00050 extern int detect_direction;
00051 
00052 extern int log_level;
00053 extern int log_flag;
00054 extern int log_missed_flag;
00055 
00056 
00057 #ifdef RAD_ACC
00058 extern int radius_flag;
00059 extern int radius_missed_flag;
00060 extern void *rh;
00061 #endif
00062 
00063 #ifdef DIAM_ACC
00064 #include "diam_tcp.h"
00065 extern rd_buf_t *rb;
00066 extern int diameter_flag;
00067 extern int diameter_missed_flag;
00068 #endif
00069 
00070 #ifdef SQL_ACC
00071 extern int db_flag;
00072 extern int db_missed_flag;
00073 
00074 extern str db_table_acc;
00075 extern str db_table_mc;
00076 
00077 extern str acc_method_col;
00078 extern str acc_fromuri_col;
00079 extern str acc_fromtag_col;
00080 extern str acc_touri_col;
00081 extern str acc_totag_col;
00082 extern str acc_callid_col;
00083 extern str acc_cseqno_col;
00084 extern str acc_sipcode_col;
00085 extern str acc_sipreason_col;
00086 extern str acc_time_col;
00087 #endif /* SQL_ACC */
00088 
00089 
00090 #endif

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