Re: [OpenSIPS-Users] Set AVP variables from Python script ?

2019-11-27 Thread Vlad Patrascu
Hi Alexandro, Unfortunately, you cannot do this in Python, but as you've noticed you can use Lua or Perl. Starting from OpenSIPS 3.1 though, it will be possible to call OpenSIPS core script functions from Python, so 'pv_printf()' would facilitate writing AVPs from Python. Regards, Vlad

[OpenSIPS-Users] Set AVP variables from Python script ?

2019-11-26 Thread Alexandro Conde
Hi all, Is there a way to set a AVP variable from a Python script ? I need to authenticate the endpoints with the username & password stored and managed on other system DB, I already have an API that can return the user information, so it will be great  to create a Python script that consume