List of useful commands (cheat list) for SIP Proxy.
Permalink: https://confluence.wildix.com/x/hQeIAQ
Shows registered users:
kamctl ul show
Shows short info list:
kamctl ul show –brief
Checks how many users are registered at the moment:
kamctl ul show –brief | wc -l
Kamctl ul show has json formatted output; the output using this command is more suitable for human reading:
kamcmd ul.dump
SIP Proxy uptime:
kamcmd core.uptime
Shared memory status:
kamcmd core.shmmem
Private memory status:
kamcmd pkg.stats
Show DNS cache:
kamcmd dns.view
Enables verbose logs without restart:
kamcmd cfg.seti core debug 2
Disables verbose logs without restart:
kamcmd cfg.seti core debug 1
Monitors SIP Proxy status:
kamctl monitor
Checks SIP Proxy processes:
kamctl ps
Shows a list of current websocket connections:
kamcmd ws.dump
How to show SIP Proxy registrations and other useful commands
kamcmd ul.dump #list of all registrations examples with search filters: kamcmd ul.dump | grep "User-Agent: Wildix" -A15 kamcmd ul.dump | grep -i 'aor: 2402' -A 25 kamcmd ul.dump brief # show list of AoRs, useful to see how many accounts are registered, replacement for kamctl ul show --brief kamcmd ul.lookup location 326@lo # all registrations from one extension (specify instead of 326 target extension) other commands: kamcmd core.uptime # kamailio uptime kamcmd cfg.seti core debug 2 # enable verbose logs without restart kamcmd cfg.seti core debug 1 # disable verbose logs without restart for some deep debug: kamcmd core.shmmem m # shared memory status kamcmd pkg.stats # private memory status kamcmd dns.view # show dns cache