Hi Alberto,
You should be able to call any opensips script function from the python
code, including pv_printf() as suggested in #1893, by using the
/call_function()/ method [1]. This has been made possible from 3.1
onwards, but indirectly, by porting all opensips core functions to the
same calling interface as module functions.
[1] https://opensips.org/docs/modules/3.2.x/python.html#overview
Regards,
--
Vlad Patrascu
OpenSIPS Core Developer
http://www.opensips-solutions.com
On 17.01.2022 20:14, Alberto wrote:
Hi,
I'm using opensips 3.4 and I'm looking to set avp variables from a
python script, looking at
https://github.com/OpenSIPS/opensips/issues/1893
<https://github.com/OpenSIPS/opensips/issues/1893> seems this feature
was available from after 3.0.
Is there any documentation on how to do it?
Thanks
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users