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
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
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
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