[OpenSIPS-Users] B2B/Proxy Authentication

Marwan El-Sadek marwan_sadek at hotmail.com
Wed May 23 16:15:02 CEST 2012


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


 		 	   		   		 	   		   		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120523/64a9e9e2/attachment-0001.htm>


More information about the Users mailing list