Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


...


Html
<div class="fb-like" data-href="https://confluence.wildix.com/x/hQeIAQ" data-layout="button_count" data-action="recommend" data-size="large" data-show-faces="true" data-share="true"></div>
Info

List of useful commands (cheat list) for SIP Proxy.

Permalink: https://confluencewildix.wildixatlassian.comnet/wiki/x/hQeIAQYhzOAQ



Excerpt

Shows

...

the list of AoRs, useful to see how many accounts are registered:


  • Code Block

...

  • kamcmd ul.dump 

...

  • brief


Shows all registration from one extension (put an extension number instead of EXT)


  • Code Block

...

  • kamcmd ul.lookup 

...

  • location 

...

  • EXT@lo


Shows the list of all registrations


  • Code Block

...

  • kamcmd ul

...

Kamctl ul show has json formatted output; the output using this command is more suitable for human reading:

...

  • .dump
    
    examples with search filters:
    kamcmd ul.dump | grep "User-Agent: Wildix" -A15
    kamcmd ul.dump | grep -i 'aor: 2402' -A 25


SIP Proxy uptime:


  • Code Block
    kamcmd core.uptime


Shared memory status:


  • Code Block
    kamcmd core.shmmem m 


Private memory status:


  • Code Block
    kamcmd pkg.stats


Show DNS cache:


  • Code Block
    kamcmd dns.view


Enables verbose logs without restart:


  • Code Block
    kamcmd cfg.seti core debug 2


Disables verbose logs without restart:


  • Code Block
    kamcmd cfg.seti core debug 1

...

Monitors SIP Proxy status:

...

  •  

...

Checks SIP Proxy processes:

Code Block
kamctl ps

Shows a list of current websocket connections:


  • Code Block
    kamcmd ws.dump

How to show SIP Proxy registrations and other useful commands

...

Code Block
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

...




...

Macrosuite divider macro
dividerTypetext
dividerWidth70
emoji{"id":"smile","name":"Smiling Face with Open Mouth and Smiling Eyes","short_names":["smile"],"colons":":smile:","emoticons":["C:","c:",":D",":-D"],"unified":"1f604","skin":null,"native":"😄"}
textColor#000000
dividerWeight2
labelPositionmiddle
textAlignmentcenter
iconColor#0052CC
fontSizemedium
textNot finding the help you need? Join the Facebook group to ask a question!
emojiEnabledfalse
dividerColor#DFE1E6
dividerIconbootstrap/CloudsFill

Button macro
buttonTextFacebook
isButtonShadowOntrue
emoji{"id":"smile","name":"Smiling Face with Open Mouth and Smiling Eyes","short_names":["smile"],"colons":":smile:","emoticons":["C:","c:",":D",":-D"],"unified":"1f604","skin":null,"native":"😄"}
buttonBorderColor#4267b2ff
buttonColor#4267b2ff
buttonNewTabfalse
buttonFontColor#ffffff
buttonSizemedium
buttonIconColor#ffffff
buttonWidthDetection46
buttonHoverColor#ffffff
buttonIconfont-awesome/FacebookSquare
buttonTypeicon_left
buttonLink{"link":"https://www.facebook.com/groups/wildixtechwizards","source":"direct"}
buttonNewLink
buttonRadius3
buttonShadow0
id228
emojiEnabledfalse
buttonWidth20