Thank you very much :) I'll try it this week end.

Thanks again
@+
Sadok

Le mer 11/05/2005 à 20:40, Alejandro J. Ramírez a écrit :
 

A very very dirty Perl script that gets the billing job done…..

 

This is my access-log format

 

access-log-format = "%t %l [SMSC:%i] [SVC:%n] [ACT:%A] [BINF:%B] [from:%p] [to:%P] [flags:%m:%c:%M:%C:%d] [msg:%L:%b] [udh:%U:%u! ] [MSGIX:%I] [CODING:%C] [CDR:%B]"

 

I run it as a daemon at startup… has worked just fine.

 

You need File::Tail ok!!  Oh, and I KNOW the regexs there can be done much much better…. L

 

 

Alejandro Ramírez

 

-----Mensaje original-----
De: Mohamed Sadok MOUHA [mailto:[EMAIL PROTECTED]
Enviado el: Martes, 03 de Mayo de 2005 12:47 a.m.
Para: [EMAIL PROTECTED]
CC: kannel
Asunto: Re: Statistics Sent / Received

 

Hi Alejandro,

Thank you. I think that's the only solution available right now.
Do you have a sample of the perl script?

Thanks again
-
Mohamed

Le lun 02/05/2005 à 18:18, Alejandro Ramirez a écrit :

Im using the access log file... it works just fine. Im working a on a simple perl script using File::Tail which allows me to do billing to an SQL Server (using freetds..) in real time. Just try to set the access.log file to a more standard format (CSV compatible works well..).
 
It is really on my wish the CDR feature for Kannel!!
 
 
Good Luck!
 
Alejandro
 
---------- Original Message ----------------------------------
From: Mohamed Sadok MOUHA <[EMAIL PROTECTED]>
Date:  02 May 2005 10:35:25 +0100
 
>Hi to all,
>
>I need to establish statistics for sent / received SMS messages for
>billing purposes. Any recommendation please? Right now I'm analyzing
>Kannel access log file, any tool to make this easier?
>
>Thanks,
>
>Sadok
>
>
-- 
------------------------------------
        
        Mohamed Sadok MOUHA
 
------------------------------------
 
Progress Engineering
 
Tel : +216 71 856 360
 
Fax : +216 71 856 820
 
WWW : http://www.progress.com.tn
 
------------------------------------
 
Progress Engineering Dynamise LE WEB


-- 
------------------------------------
	
	Mohamed Sadok MOUHA

------------------------------------

Progress Engineering

Tel : +216 71 856 360

Fax : +216 71 856 820

WWW : http://www.progress.com.tn

------------------------------------

Progress Engineering Dynamise LE WEB

Reply via email to