Hi Daniel,  

The version is 4.2 on Debian stretch.

However, I was able to get it to work using !#define DBURL.

Also I use updates using sqlops. For which I created a variable var(x) at each block {route, reply etc...} for the table name.

Appreciate your help.

Z

On Fri, Mar 15, 2019 at 1:40 AM Daniel-Constantin Mierla <miconda@gmail.com> wrote:

Hello,

what version of kamailio are you using (kamailio -v)?

Cheers,
Daniel

On 14.03.19 18:04, Z wrote:
For some reason these two modparams are always ignored. 
The table name used is always acc which is default name. 
How can I change the table name?
loadmodule "acc.so"
modparam("acc", "db_table_acc", "acc_$time(year)_$time(mon)") 
modparam("acc", "db_table_missed_calls", "acc_$time(year)_$time(mon)")
Accounting works as expected otherwise.
Appreciate any help. 
Thanks.

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference - May 6-8, 2019 -- www.kamailioworld.com
Kamailio Advanced Training - Mar 25-27, 2019, in Washington, DC, USA -- www.asipto.com