[SR-Users] could not make ul_rm_contact work

Aqs Younas aqsyounas at gmail.com
Wed Feb 1 01:12:25 CET 2017


Greetings list,

I am trying to remove a specific contact from memory but always resulted in
vain.

root at debian:/usr/local/kamailio/sbin# ./kamctl ul show
Domain:: location table=1024 records=1 max_slot=1
        AOR:: 1040 at 192.168.0.101
                Contact::
sip:1040 at 192.168.0.102:36619;rinstance=1dfaed088d873a18;transport=tcp
Q=
                        Expires:: 2416
                        Callid:: _3595KDc1PinhUGFpSf4Dg..
                        Cseq:: 2
                        User-agent:: Z 3.9.32144 r32121
                        State:: CS_SYNC
                        Flags:: 0
                        Cflag:: 0
                        Socket:: tcp:192.168.0.101:5060
                        Methods:: 5087
                        Ruid:: uloc-58911db0-f45-1
                        Reg-Id:: 0
                        Last-Keepalive:: 1485905402
                        Last-Modified:: 1485905402
.
/kamctl fifo ul_rm_contact location 1040 at 191.168.0.101
sip:1040 at 192.168.0.102:36619;rinstance=1dfaed088d873a18;transport=tcp
404 AOR not found

Tried another command

root at debian:/usr/local/kamailio/sbin# ./kamctl fifo ul_rm location
1040 at 192.168.0.101
root at debian:/usr/local/kamailio/sbin# ./kamctl ul show
Domain:: location table=1024 records=1 max_slot=1
        AOR:: 1040 at 192.168.0.101
                Contact::
sip:1040 at 192.168.0.102:36619;rinstance=1dfaed088d873a18;transport=tcp
Q=
                        Expires:: deleted
                        Callid:: _3595KDc1PinhUGFpSf4Dg..
                        Cseq:: 2
                        User-agent:: Z 3.9.32144 r32121
                        State:: CS_SYNC
                        Flags:: 0
                        Cflag:: 0
                        Socket:: tcp:192.168.0.101:5060
                        Methods:: 5087
                        Ruid:: uloc-58911db0-f45-1
                        Reg-Id:: 0
                        Last-Keepalive:: 1485905402
                        Last-Modified:: 1485905402

And this. .

/kamctl ul rm 1040 at 192.168.0.1 sip:1040 at 192.168.0.102:36619
;rinstance=1dfaed088d873a18;transport=tcp
404 AOR not found

Can someone help me know to remove a contact from memory?
Any pointer is much appreciated.

Best Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20170201/b42a18cd/attachment.html>


More information about the sr-users mailing list