<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    did you check the $abp(rpid) after the user authentication? If not,
    look at is_subscriber() function, it can also load the credentials.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 03/04/16 18:17, Alberto Sagredo
      wrote:<br>
    </div>
    <blockquote
cite="mid:CADqf3zCuhE_587rrnh3+T0UV0vfu6HaOxYXY12EDhEFSg9AsqA@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi!
        <div><br>
        </div>
        <div> I plan to use rpid field but when trying to get from
          database, subscriber table has rpid field filled, i get always
          NULL.
          <div><br>
          </div>
          <div>Is there any more needed than:</div>
          <div><br>
          </div>
          <div>
            <p style="margin:0px;line-height:normal"><font face="Menlo"><span
                  style="font-size:11px">modparam("auth_db",
                  "load_credentials", "rpid")</span></font></p>
            <p
              style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span
                style=""><br>
              </span></p>
            <p
              style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span
                style="">?</span></p>
            <p
              style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span
                style=""><br>
              </span></p>
            <p
              style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span
                style="">Just a check of variable </span></p>
            <p
              style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span
                style=""><br>
              </span></p>
            <p
              style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span
                style="">      xlog(" Valor de RPID es  :
                $avp(s:rpid)");  </span></p>
            <p
              style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span
                style=""><br>
              </span></p>
            <p
              style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span
                style="">Shows me NULL all times</span></p>
            <p
              style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span
                style=""><br>
              </span></p>
            <p
              style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">Thanks</p>
            <p
              style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><br>
            </p>
            <p
              style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><br>
            </p>
          </div>
        </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://www.asipto.com">http://www.asipto.com</a>
<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>
Kamailio World Conference, Berlin, May 18-20, 2016 - <a class="moz-txt-link-freetext" href="http://www.kamailioworld.com">http://www.kamailioworld.com</a></pre>
  </body>
</html>