[OpenSIPS-Users] access to password as variable?

Jeff Pyle jpyle at fidelityvoice.com
Fri Oct 16 21:46:42 CEST 2009


Steven,

Could you do a custom avp_db_query to query the subscriber table and load it
that way?  This assumes you're using cleartext passwords in your db table.
And, it is a bit of overkill but a fair bit leaner than configuring radius
for this purpose only.

The newer versions of Opensips allow you specify multiple avpops db_urls.
You could define a custom one for this if you needed to.


- Jeff



On 10/16/09 3:42 PM, "Steven E. Ames" <sames at officescape.com> wrote:

> 
> Is there a way to access the REGISTER password as a variable? I'm doing a
> little app where I need to send that password to an external script and can't
> seem to find a way to snag it... my next step is going to be to invoke
> radius_auth (because I can access the password and invoke an external script
> from freeradius) but this seems overkill instead of just sending it as a
> variable to an exec_avp. Thoughts?
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list