<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Hello Ovidiu,<br><br>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?<br><br>Thanks,<br>Marwan<br><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling"><br><pre>Hello Marwan,

You can implement the scenario that you want using b2b modules in "top
hiding" mode:
<a href="http://www.opensips.org/html/docs/modules/1.8.x/b2b_entities.html">http://www.opensips.org/html/docs/modules/1.8.x/b2b_entities.html</a>
<a href="http://www.opensips.org/html/docs/modules/1.8.x/b2b_logic.html">http://www.opensips.org/html/docs/modules/1.8.x/b2b_logic.html</a>

You will need to load first the uac_auth module and provision there
all the credentials that you want to use:
<a href="http://www.opensips.org/html/docs/modules/1.8.x/uac_auth.html">http://www.opensips.org/html/docs/modules/1.8.x/uac_auth.html</a>

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.
<a href="http://www.voipembedded.com">http://www.voipembedded.com</a></pre><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr">
</div>
</div>
                                               </div></div>                                               </div></div>                                               </div></body>
</html>