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

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


                                                                                
                                          
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to