[OpenSIPS-Users] access to password as variable?

Steven E. Ames sames at officescape.com
Fri Oct 16 22:13:22 CEST 2009


Good thought, but no. The password being sent in the REGISTER message is the one I need.

-----Original Message-----
From: users-bounces at lists.opensips.org
[mailto:users-bounces at lists.opensips.org]On Behalf Of Jeff Pyle
Sent: Friday, October 16, 2009 3:47 PM
To: OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] access to password as variable?


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


_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



More information about the Users mailing list