Re: [OpenSIPS-Users] too many parameters for command

2020-12-04 Thread Vlad Patrascu
Hi Elaine, Unfortunately the documentation is actually misleading and the function accepts only one extra argument for passing to python. Regards, -- Vlad Patrascu OpenSIPS Developer http://www.opensips-solutions.com On 04.12.2020 11:30, Elaine Huang wrote: Hi, I wrote a python function

[OpenSIPS-Users] too many parameters for command

2020-12-04 Thread Elaine Huang
Hi, I wrote a python function that takes 3 parameters (excluding msg): class MyClass: … my_f(self, msg, param1, param2, param3): … … While the python module readme suggests it can accept extra args (more than 1), opensips fail to start with error: too many parameters for command

Re: [OpenSIPS-Users] problem with drouting 3.1 and opensips-cp 3.0

2020-12-04 Thread johan
the problem  was that the DB was not up to date. Lesson : use opensips-cli to install db. On 1/12/2020 19:38, johan wrote: > Hi, when I do reload of dialplan, the web interface returns success. > > When I do relaod of dynarmic routing gateway f.e., then nothing is > returned. > > > when I look

Re: [OpenSIPS-Users] lua_exec in timer route - OpenSIPS 3.1

2020-12-04 Thread Mark Allen
Interestingly - TIMER already seems to use some form of dummy message to avoid problems. If I add the line... timer_route[checkNodeCache, 5] { xlog("TIMER_ROUTE"); xlog("Message info: $fU, $tU, $td, $rm"); ...what is logged is... Message info: , , , DUMMY ...so LUA will