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.

Kamailio version is 4.3.1

For example, here is a full listing:

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

if I lookup subscriber1, then kamctl ul show works:

# 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

However, if I lookup sibscriber2, then it cannot find it:

# kamctl ul show subscriber2@domain.com
404 AOR not found

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


Reply to this email directly or view it on GitHub.