Anyone with a working example please ?

Thanks

 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ali Jawad
Sent: Tuesday, June 17, 2008 10:15 AM
To: [email protected]
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:[EMAIL PROTECTED]/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. 
_______________________________________________
Users mailing list
[email protected]
http://lists.openser.org/cgi-bin/mailman/listinfo/users

Reply via email to