<p>For some registered users the kamctl ul show subscriber@domain does not find the AOR, however in a full listing it shows up, the ul.lookup rpc method has the same issue.</p>

<p>Kamailio version is 4.3.1</p>

<p>For example, here is a full listing:</p>

<pre><code>Domain:: location table=1024 records=4 max_slot=1
        AOR:: subscriber1@domain.com
                Contact:: sip:subscriber1@192.168.1.238:32989;alias=212.2.160.202~37476~1;rinstance=5e040b71a89dace0;transport=UDP Q=
                        Expires:: 45
                        Callid:: Q9tQDalSnHzw78gSlpDC6g..
                        Cseq:: 783
                        User-agent:: Z 3.7.30891 r30851
                        Received:: sip:212.2.160.202:37476
                        Path:: <sip:10.7.0.109;lr;received=sip:212.2.160.202:37476>
                        State:: CS_NEW
                        Flags:: 0
                        Cflag:: 64
                        Socket:: udp:10.7.0.175:5060
                        Methods:: 5087
                        Ruid:: uloc-55b11002-2df0-82a2
                        Reg-Id:: 0
                        Last-Keepalive:: 1437721166
                        Last-Modified:: 1437721166
        AOR:: subscriber2@domain.com
                Contact:: sip:subscriber2@172.16.0.110:5060;alias=78.143.152.30~21183~1 Q=
                        Expires:: 107
                        Callid:: 7c5fd25f-c2583f1d63761b4f099e0080f0d14465@172.16.0.110
                        Cseq:: 7
                        User-agent:: BFH_IE_Panasonic_KX-UT133X/01.278 (0080F0D14465)
                        Received:: sip:78.143.152.30:21183
                        Path:: <sip:10.7.0.109;lr;received=sip:78.143.152.30:21183>
                        State:: CS_NEW
                        Flags:: 2
                        Cflag:: 64
                        Methods:: 6815
                        Ruid:: uloc-55b10ff9-1f87-45
                        Reg-Id:: 0
                        Last-Keepalive:: 1437721228
                        Last-Modified:: 1437721228
</code></pre>

<p>if I lookup subscriber1, then kamctl ul show works:</p>

<pre><code># kamctl ul show subscriber1@domain.com
Contact:: <sip:subscriber1@192.168.1.238:32989;alias=212.2.160.202~37476~1;rinstance=5e040b71a89dace0;transport=UDP>;q=;expires=21;flags=0x0;cflags=0x40;state=0;socket=<udp:10.7.0.175:5060>;methods=0x13DF;received=<sip:212.2.160.202:37476>;user_agent=<Z 3.7.30891 r30851>;path=<<sip:10.7.0.109;lr;received=sip:212.2.160.202:37476>>;reg-id=0
</code></pre>

<p>However, if I lookup sibscriber2, then it cannot find it:</p>

<pre><code># kamctl ul show subscriber2@domain.com
404 AOR not found
</code></pre>

<p>I have masked the subscriber information, but if it is of use for you, I can send the actual data directly to you.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/kamailio/kamailio/issues/264">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36Ze8DEIaFkUteo2YWQyaiqPXE37PYks5ogdwwgaJpZM4Fe9nG.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
  <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
    <link itemprop="url" href="https://github.com/kamailio/kamailio/issues/264"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>