Hi,
I'm curious, since python_exec only accepts one extra parameter, how do you
guys pass multiple variables to a python function?
I personally do this:
$json(args) := "{}";
$json(args/param0) = "sdifuhsidfg";
$json(args/param1) = "asfagfgf";
$json(args/param2) = "asfergerghdf";
python_exec("python_my_fn", $json(args));
and then I restore the json object in the python function and use my
variables..
Thanks
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users