[OpenSER-Users] Acc Modules + Extra paramters

Ali Jawad ali.jawad at splendor.net
Tue Jun 17 14:58:07 CEST 2008


Anyone with a working example please ?

Thanks

 

________________________________

From: users-bounces at lists.openser.org
[mailto:users-bounces at lists.openser.org] On Behalf Of Ali Jawad
Sent: Tuesday, June 17, 2008 10:15 AM
To: users at lists.openser.org
Subject: [OpenSER-Users] Acc Modules + Extra paramters

 

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.


-- 
This message has been scanned for viruses and 
dangerous content by MailScanner <http://www.mailscanner.info/> , and is

believed to be clean. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20080617/d91989ac/attachment.htm 


More information about the Users mailing list