[OpenSIPS-Users] too many parameters for command <python_exec>
Elaine Huang
u8k.mel at gmail.com
Fri Dec 4 09:30:17 EST 2020
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
<python_exec>
my config code:
python_exec("my_f", param1, param2, param3)
It can start if I change it to:
python_exec("my_f", param1)
Any idea why?
OpenSIPS version: 3.1
Kind Regards,
Elaine
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20201204/f1628459/attachment.html>
More information about the Users
mailing list