[Users] extra accounting problem

jayesh nambiar jayesh_1017 at yahoo.com
Fri Oct 14 14:45:11 CEST 2005


hi all,
I want to account src_ips in my acc table. While using openser0.9.5 I used the following modparam syntax:
modparam("acc", "db_extra", "src= avp/i:10") 
and when doing setflag(1), I wrote avp_write() syntax to write src_ip in i:10.
 
But now I am using openser 0.10.x and it gives me an error saying the following:
 
Oct 14 12:35:43 localhost /usr/local/sbin/openser[19916]: ACC - initializing
Oct 14 12:35:43 localhost /usr/local/sbin/openser[19916]: xl_parse_item: error - bad parameters
Oct 14 12:35:43 localhost /usr/local/sbin/openser[19916]: ERROR:acc:parse_acc_extra: parse failed in <src= avp/i:10> around position 5
Oct 14 12:35:43 localhost /usr/local/sbin/openser[19916]: acc:parse_acc_extra: error
Oct 14 12:35:43 localhost /usr/local/sbin/openser[19916]: ERROR:acc:mod_init: failed to parse db_extra param
Oct 14 12:35:43 localhost /usr/local/sbin/openser[19916]: init_mod(): Error while initializing module acc

Could someone pls let me know, if the syntax for adding extra column in acc table has changed. I have a column named "src" in the acc table.
 
thank you.
jayesh

		
---------------------------------
 Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20051014/db510c84/attachment.htm 


More information about the Users mailing list