[OpenSIPS-Users] Accouning module columns

Sergio Gutierrez saguti at gmail.com
Mon Aug 11 22:03:04 CEST 2008


Hello Chamo.

You can add those columns to table, and include the parameter db_extra for
module acc, indicating through pseudovariables the fields you want to
include in accounting.

For example:

modparam("acc", "db_extra",
"src_user=$fU;dst_user=$rU;src_ip=$si;dst_ip=$Ri")

For further information you would like to check
http://www.opensips.org/html/acc.html#id2561119

Best regards.

Sergio Gutierrez.

On Mon, Aug 11, 2008 at 2:57 PM, chamo <chamo4 at darksun.sk> wrote:

> Hello
>
> We have upgraded openser from 1.1 to 1.3 , in table "acc" are missing
> field (sip_from, sip_to , there are more missing, but theese are for me
> important)
> i there any way how to add these columns to table ?
>
> Thanks
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20080811/d824436d/attachment.htm 


More information about the Users mailing list