[OpenSIPS-Users] B2B/Proxy Authentication

Ovidiu Sas osas at voipembedded.com
Wed May 23 16:22:20 CEST 2012


At this point in time you cannot use a database for storing credentials.

Regards,
Ovidiu Sas

-- 
VoIP Embedded, Inc.
http://www.voipembedded.com

On Wed, May 23, 2012 at 10:15 AM, Marwan El-Sadek
<marwan_sadek at hotmail.com> wrote:
> Hello Ovidiu,
>
> Ok, I will look into these modules. Should I provision all the users within
> the script? I'll be having the same password for all users, but usernames
> are dynamically and regulary provisioned, it's not be practical to do it
> this way. Can I store/retrieve user credentials dynamically from a database
> for example?
>
> Thanks,
> Marwan
>
> ________________________________
>
> Hello Marwan,
>
> You can implement the scenario that you want using b2b modules in "top
> hiding" mode:
> http://www.opensips.org/html/docs/modules/1.8.x/b2b_entities.html
> http://www.opensips.org/html/docs/modules/1.8.x/b2b_logic.html
>
> You will need to load first the uac_auth module and provision there
> all the credentials that you want to use:
> http://www.opensips.org/html/docs/modules/1.8.x/uac_auth.html
>
> There are some restrictions:
>  - if you need to add new credentials, you will need to restart the server
>  - authentication in this mode will work for REGISTER and INVITE only
> (in dialog requests will not be authenticated AFAIR).
>
> Regards,
> Ovidiu Sas



More information about the Users mailing list