Anyone with a working example please ?

Thanks

 


From: users-bounces@lists.openser.org [mailto:users-bounces@lists.openser.org] On Behalf Of Ali Jawad
Sent: Tuesday, June 17, 2008 10:15 AM
To: users@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, and is
believed to be clean.