Re: [OpenSIPS-Devel] Error in script

2019-04-21 Thread Dan Pascu
Seems fine now. Thanks. On 20 Apr 2019, at 11:35, Liviu Chircu wrote: > Should be fixed now -- do let me know if those pesky tokens cause any more > trouble :) > > Liviu Chircu > OpenSIPS Developer > http://www.opensips-solutions.com > > On 19.04.2019 11:49, Liviu Chircu wrote: >> Indeed, this

Re: [OpenSIPS-Devel] Error in script

2019-04-20 Thread Liviu Chircu
Should be fixed now -- do let me know if those pesky tokens cause any more trouble :) Liviu Chircu OpenSIPS Developer http://www.opensips-solutions.com On 19.04.2019 11:49, Liviu Chircu wrote: Indeed, this is caused by the preprocessor extension, which adds some extra tokens which are not cons

Re: [OpenSIPS-Devel] Error in script

2019-04-19 Thread Liviu Chircu
Indeed, this is caused by the preprocessor extension, which adds some extra tokens which are not consumed because they happen to be enclosed within " ", so the STRING lexer rule takes precedence and includes them.  In short, the acc module actually receives this input: modparam("acc", "extra_f

Re: [OpenSIPS-Devel] Error in script

2019-04-19 Thread Dan Pascu
On 19 Apr 2019, at 8:38, Liviu Chircu wrote: > Can you try to skip the backslashes? Syntactically, it should work without > them. Removing them changes nothing. What fixes it is if I put everything on a single line (remove both backslashes and newlines between items). It used to work with ba

Re: [OpenSIPS-Devel] Error in script

2019-04-18 Thread Liviu Chircu
Can you try to skip the backslashes?  Syntactically, it should work without them.  If that doesn't fix it, please paste your exact global acc settings (loadmodule + modparams) or the whole o.cfg file (if possible), so I can try to reproduce. Liviu Chircu OpenSIPS Developer http://www.opensips-

[OpenSIPS-Devel] Error in script

2019-04-18 Thread Dan Pascu
I get this error reported in script: Apr 18 20:02:02 [21404] ERROR:acc:pv_parse_acc_extra_name: tag not declared in modparam section! Apr 18 20:02:02 [21404] ERROR:core:pv_parse_spec: pvar "acc_extra" has an invalid name param [username] Apr 18 20:02:02 [21404] ERROR:core:pv_parse_spec: wrong