[OpenSER-Users] Acc Modules + Extra paramters

Ali Jawad ali.jawad at splendor.net
Tue Jun 17 09:15:28 CEST 2008


Hi All

Does anyone have a working example of 

 

modparam("acc", "diameter_extra",
"7846=$hdr(Content-type);7847=$avp(s:email)")

 

In my setup I do have

 

modparam("acc", "db_url",
"mysql://openser:123456@87.236.144.12/openser")

modparam("acc", "acc_from_tag_column", "from_tag")

modparam("acc", "acc_to_tag_column", "to_tag")

modparam("acc", "db_flag", 2)

#modparam("acc", "db_extra", "ct=$hdr(Content-type);
email=$avp(s:email)")

 

I am getting the from and to data in the MySQL acc table. However I do
need to save the URI and RURI as well. I tried with the example above
but it stopped the logging to the database. 

 

Can anyone please direct me into the correct direction ?

 

Thanks.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20080617/2bf4f3eb/attachment.htm 


More information about the Users mailing list