[Serusers] Accounting Script
ricvil at epm.net.co
Wed Mar 26 02:09:28 CET 2003
I am writing a Perl script for this. If it doesn't work ok then I will contact Andy.
----- Original Message -----
From: Greg Fausak
To: 'Ricardo Villa' ; serusers at lists.iptel.org
Cc: sip at august.net
Sent: Tuesday, March 25, 2003 7:21 PM
Subject: RE: [Serusers] Accounting Script
My partner (Andy Fullford) wrote our code that does this.
We turned on SER accounting, deliver via SYSLOG, and have a script that
scrapes all of that up and creates accounting records.
In addition, we apply the syslog accounting output from our
gateway routers to verify the INVITE/BYE sequences. Finally,
we populate a database with the results. We were going to
use radius, but it didn't quite work right for us. I think what we have
cobbled together works really well. We don't have any 'hanging' calls
anymore....and even if we did we would catch them with the gateway
We did not think the SER user base would be interested. We use a postgres database and
this doesn't seem to be mainstream. However, if there is interest for this
sort of thing perhaps we could donate it?
Anyway, you could respond to sip at august.net and ask Andy if he can
hack you out a piece of it to do what you want.
From: serusers-admin at iptel.org [mailto:serusers-admin at lists.iptel.org] On Behalf Of Ricardo Villa
Sent: Tuesday, March 25, 2003 3:53 PM
To: serusers at lists.iptel.org
Subject: [Serusers] Accounting Script
Has anybody developed some sort of crude accounting script for SER that would match all BYEs with their respective INVITEs in the syslog file and say how many seconds each call lasted?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the sr-users