<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
see avpops or sqlops for how to load values from database and access
them in config file via variables.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 19/08/14 22:53, Yuriy Gorlichenko
wrote:<br>
</div>
<blockquote
cite="mid:CABSP_Vcej2KnAQyyVzHrKrvF3V5DaFQV-7JePJLcL4Nb9MRJLg@mail.gmail.com"
type="cite">
<div dir="ltr">Hello. I suceesfully authenticate some accounts of
providers from UAc using DB.<br>
<br>
When I try to Call to any provider it responds me 407 or 401
reply.<br>
<br>
To Send to It new INVITE with auth Creditans I use UAC_AUTH()
with configured modparams:<br>
<br>
<div>modparam("uac","credential","username:domain:password")</div>
<div>modparam("uac","auth_realm_avp","$avp(i:10)")</div>
<div>modparam("uac","auth_username_avp","$avp(i:11)")</div>
<div>modparam("uac","auth_password_avp","$avp(i:12)") <br>
<br>
I think that avp`s used to get varibles from DB, but at test
it is not write.<br>
<br>
So my question- how to get this varibles from DB (uacreg
table)<br>
<br>
Thanks</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Next Kamailio Advanced Trainings 2014 - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
Sep 22-25, Berlin, Germany ::: Oct 15-17, San Francisco, USA</pre>
</body>
</html>