[SR-Users] ul.rm_contact usage

Володимир Іванець volodyaivanets at gmail.com
Tue Aug 6 16:03:55 CEST 2019


Hello,

I'm trying to use *ul.rm_contact* RPC command to unregister spesific
Contact but can not figure out "contact" parameter. I tried different
combinations but received "error: 404 - Contact not found" message every
time. Could please someone tell how this command should be called for one
of registered Contacts?

Thank you!

*# kamcmd ul.dump*
*{*
*        Domains: {*
*                Domain: {*
*                        Domain: location*
*                        Size: 1024*
*                        AoRs: {*
*                                Info: {*
*                                        AoR: 200-test*
*                                        HashID: 406934013*
*                                        Contacts: {*
*                                                Contact: {*
*                                                        Address:
sip:200-test at 1.1.1.1:52181;transport=TCP;rinstance=5d1a0b6b677f269d*
*                                                        Expires: 114*
*                                                        Q: -1.000000*
*                                                        Call-ID:
YmNlMmJlNDMwMGY5NGFkYzkzOTU2NDFhNzc5NWE3Mzc.*
*                                                        CSeq: 4*
*                                                        User-Agent:
3CXPhone 6.0.26523.0*
*                                                        Received:
sip:1.1.1.1:52181;transport=tcp*
*                                                        Path: [not set]*
*                                                        State: CS_NEW*
*                                                        Flags: 0*
*                                                        CFlags: 65536*
*                                                        Socket:
tcp:172.16.30.205:5060 <http://172.16.30.205:5060>*
*                                                        Methods: 5119*
*                                                        Ruid:
uloc-5d4983fb-40b5-4*
*                                                        Instance: [not
set]*
*                                                        Reg-Id: 0*
*                                                        Server-Id: 0*
*                                                        Tcpconn-Id: 3*
*                                                        Keepalive: 0*
*                                                        Last-Keepalive:
1565099252*
*                                                        Last-Modified:
1565099252*
*                                                }*
*                                                Contact: {*
*                                                        Address:
sip:200-test at 1.1.1.1:58166;rinstance=5996b96740d52a3a*
*                                                        Expires: 118*
*                                                        Q: -1.000000*
*                                                        Call-ID:
97566MWMxYmVhMmE1OGUyOTlkMzVmYTYzZmE2ZDE5YWJkYTc*
*                                                        CSeq: 4*
*                                                        User-Agent: X-Lite
release 5.5.0 stamp 97566*
*                                                        Received:
sip:1.1.1.1:58166 <http://1.1.1.1:58166>*
*                                                        Path: [not set]*
*                                                        State: CS_NEW*
*                                                        Flags: 0*
*                                                        CFlags: 65536*
*                                                        Socket:
udp:172.16.30.205:5060 <http://172.16.30.205:5060>*
*                                                        Methods: 5087*
*                                                        Ruid:
uloc-5d4983fb-4093-2*
*                                                        Instance: [not
set]*
*                                                        Reg-Id: 0*
*                                                        Server-Id: 0*
*                                                        Tcpconn-Id: -1*
*                                                        Keepalive: 0*
*                                                        Last-Keepalive:
1565099256*
*                                                        Last-Modified:
1565099256*
*                                                }*
*                                        }*
*                                }*
*                        }*
*                        Stats: {*
*                                Records: 1*
*                                Max-Slots: 1*
*                        }*
*                }*
*        }*
*}*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190806/376eb7bb/attachment.html>


More information about the sr-users mailing list