[Serdev] acc data

Daniel-Constantin Mierla daniel at iptel.org
Mon Aug 9 09:45:34 UTC 2004


On 8/9/2004 10:57 AM, Martin Koenig wrote:

> Hello,
>
> is there a possibility to implement custom logging fields in accouting?

if you want to use acc module, you have to patch it. It is little bit 
complicate, at least for accounting in MySQL, the acc table has to be 
extended with new columns, or with one container column where to store a 
list of attribute=value fields for extra accounting information.

FYI: xlog is a module able to log (to syslog) more fields, but that 
information might not be that good for accounting or billing. As far as 
I know, logging custom SIP headers with xlog are on to-do list of 
module's maintainer, but there is no ETA.

Daniel

>
> How difficult would it be to implement for example the src_ip field, 
> or a custom SIP header field?
>
> Greetings,
> Martin
>
> _______________________________________________
> Serdev mailing list
> serdev at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serdev
>




More information about the Serdev mailing list