<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hello.<div class=""><br class=""></div><div class="">I need to retrieve parameters from DB and use vp_db_load for it.</div><div class=""> </div><div class="">$avp(customuser_uri) = "sip:" + $avp(identity);</div><div class="">if (avp_db_load("$avp(customuser_uri)/uri", "$avp(usr_attrs)/$customuser_attrs»))</div><div class=""><br class=""></div><div class="">I’ve put uri parameter explicitly, but OpenSIPS still retrieve username from DB only.</div><div class=""><br class=""></div><div class="">Maybe, I don’t quite understand this part of doc:</div><div class=""><br class=""></div><div class="">"<em class="">pvar = any pseudo variable defined in OpenSIPS. If
                                        the pvar is $ru (request uri), $fu (from uri), $tu (to uri)
                                        or $ou (original uri), then the implicit flag is 'uri'.
                                        Otherwise, the implicit flag is 'uuid’.</em><i class="">»</i></div><div class=""><em class=""><br class=""></em></div><div class=""><em class="">but I suppose that explicit parameter should do a desired request for any pvar.</em></div><div class=""><br class=""></div><div class=""><div apple-content-edited="true" class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><div class="">Best regards,</div><div class="">Alexander Mustafin</div><div class=""><a href="mailto:mustafin.aleksandr@gmail.com" class="">mustafin.aleksandr@gmail.com</a></div><div class=""><br class=""></div></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br class=""></div></body></html>