<html style="direction: ltr;">
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
    <style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
  </head>
  <body style="direction: ltr;"
    bidimailui-detected-decoding-type="latin-charset" bgcolor="#FFFFFF"
    text="#000000">
    Thank you Daniel,<br>
    I'm aware of that, well, almost...<br>
    I was looking for a way to create a temporary subscriber and thought
    kamctl ul add<br>
    would be the solution.<br>
    How can one create a temporary subscriber, (a temporary user for
    authentication purposes with username and password) without having
    to write to the DB?<br>
    <br>
    Kobie<br>
    <br>
    <div class="moz-cite-prefix">On 02/15/2016 12:36 PM,
      Daniel-Constantin Mierla wrote:<br>
    </div>
    <blockquote cite="mid:56C1AA38.1030706@gmail.com" type="cite">
      <meta content="text/html; charset=windows-1252"
        http-equiv="Content-Type">
      Hello,<br>
      <br>
      the 'kamctl add ...' adds a subscriber profile (a permanent user
      for authentication purposes with username and password).<br>
      <br>
      The 'kamctl ul ...' is doing user location management, so it adds
      a contact for a user.<br>
      <br>
      The two commands are doing different operations, as they are
      designed for different purposes.<br>
      <br>
      Cheers,<br>
      Daniel<br>
      <br>
      <div class="moz-cite-prefix">On 15/02/16 10:03, kssyrr wrote:<br>
      </div>
      <blockquote cite="mid:56C19457.9040005@gmail.com" type="cite">
        <meta content="text/html; charset=windows-1252"
          http-equiv="Content-Type">
        <style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
        <br>
         Hello,<br>
        <blockquote cite="mid:56BD1DFD.9050003@gmail.com" type="cite"> <br>
          When I load a page with SIPml-api and run some php with
          'kamctl add $username' command, the sip user is created by the
          SIPml-api. (user created permanently inside the DB)<br>
          When I load the same page with 'kamctl <b>ul</b> add
          <username> <uri> <expires> <path> '
          command, the sip user is Not created by the SIPml-api, but
          rather, it is being created by Kamailio mi (user created
          temporarily in the usrloc table - memory).<br>
          Any idea why? What is the difference between kamctl add &
          kamctl <b>ul</b> add with regard to SIPml-api?<br>
          <br>
          <br>
          kamctl ul show:<br>
          1. created with kamctl add (created actually by SIPml)<br>
          <br>
          AOR:: buyer_1455193937827<br>
                  Contact:: <a moz-do-not-send="true"
            class="moz-txt-link-abbreviated"
href="mailto:sips:buyer_1455193937827@df7jal23ls0d.invalid;rtcweb-breaker=no;transport=wss">sips:buyer_1455193937827@df7jal23ls0d.invalid;rtcweb-breaker=no;transport=wss</a>
          Q=<br>
                      Expires:: 32048<br>
                      Callid:: 906095b6-2c0b-d32a-a53b-3849c9283373<br>
                      Cseq:: 32534<br>
                      User-agent:: n/a<br>
                      Path:: <a moz-do-not-send="true"
            class="moz-txt-link-rfc2396E"
            href="mailto:sip:+5m6nQWEplAJygbAYyAyE8W8eJ1U490=@192.99.32.50;lr;ob"><sip:+5m6nQWEplAJygbAYyAyE8W8eJ1U490=@192.99.32.50;lr;ob></a><br>
                      State:: CS_NEW<br>
                      Flags:: 0<br>
                      Cflag:: 0<br>
                      Socket:: udp:192.99.32.50:5060<br>
                      Methods:: 4294967295<br>
                      Ruid:: uloc-56bb4c0c-14d5-c2<br>
                      Reg-Id:: 0<br>
                      Last-Keepalive:: 1455193940<br>
                      Last-Modified:: 1455193940<br>
          <br>
          2. created with kamctl ul add (and ignored by SIPml client)<br>
          <br>
          AOR:: buyer_1455198121667<br>
                  Contact:: <a moz-do-not-send="true"
            class="moz-txt-link-abbreviated"
            href="mailto:sips:buyer_1455198121667@commodisee.com">sips:buyer_1455198121667@commodisee.com</a>
          Q=1<br>
                      Expires:: 893<br>
                      Callid:: <a moz-do-not-send="true"
            class="moz-txt-link-abbreviated"
            href="mailto:3OaR3wW1zSn5qHzPFLB@kamailio.mi">3OaR3wW1zSn5qHzPFLB@kamailio.mi</a><br>
                      Cseq:: 34<br>
                      User-agent:: SIP Router MI Server<br>
                      Path:: <a moz-do-not-send="true"
            class="moz-txt-link-rfc2396E"
            href="mailto:sip:buyer_1455198121667=@192.99.32.50;lr;ob"><sip:buyer_1455198121667=@192.99.32.50;lr;ob></a><br>
                      State:: CS_NEW<br>
                      Flags:: 0<br>
                      Cflag:: 0<br>
                      Methods:: 4294967295<br>
                      Ruid:: ulcx-56bb4c0c-14e9-22<br>
                      Reg-Id:: 0<br>
                      Last-Keepalive:: 0<br>
                      Last-Modified:: 0<br>
          <br>
        </blockquote>
        <br>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" 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 moz-do-not-send="true" class="moz-txt-link-freetext" href="http://twitter.com/#%21/miconda">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Book: SIP Routing With Kamailio - <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://miconda.eu">http://miconda.eu</a></pre>
      <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>
  </body>
</html>