<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi all,</p>
<p>Is there a way to set a AVP variable from a Python script ?</p>
<p>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 the API and return the
username & password on a AVP variable to do the Authorization
using the pv_www_authorize command.</p>
<p>I prefer to program that on Python but if it's not possible it
can be on LUA or Perl Right? (AVP_set & OpenSIPS::AVP)<br>
</p>
<p>Thanks in Advance !<br>
</p>
<div class="moz-signature">-- <br>
<table cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="vertical-align:top;width:1px;"> <img alt=""
src="cid:part1.C6FC68E3.3A8C0756@perfectpitchtech.com"
style="max-width:60px;max-height:60px;margin-right:10px;">
</td>
<td>
<div><strong>Alexandro Conde Mtz.</strong></div>
<div>Voip Specialist & Developer</div>
</td>
</tr>
<tr>
<td colspan="2">
<div style="font-size:0.9em;border-top:1px dashed
rgb(246,145,29);min-width:250px;max-width:400px;margin-top:10px;padding-top:4px;">
<div> <a
style="color:rgb(246,145,29);margin-right:8px;"
href="mailto:aconde@perfectpitchtech.com">aconde@perfectpitchtech.com</a>
<a href="https://www.facebook.com/perfectpitchtech"
title="Facebook"
style="margin-right:8px;color:rgb(246,145,29);"> <img
src="cid:part3.2BDA6145.8CA9740B@perfectpitchtech.com" alt="Facebook"
width="13" height="13"> </a> <a
href="https://twitter.com/PerfectPitchTM"
title="Twitter"
style="margin-right:8px;color:rgb(246,145,29);"> <img
src="cid:part5.699E6B5F.8DB5EEB5@perfectpitchtech.com" alt="Twitter"
width="13" height="13"> </a> </div>
<div> <a
style="color:rgb(246,145,29);margin-right:8px;"
href="https://perfectpitchtech.com/">https://perfectpitchtech.com/</a>
</div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>