Page tree

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated using 4PSA automated script


Applies to VoipNow 3 and higher!

VoipNow uses Kamailio for the extension registration process. However, you can also use the sip show peers Asterisk command to check your IP, as well as the port of your extensions. If an extension is listed, then it is either registered or set up with a static IP port.  This article describes how you can check the extensions registered in the system.

Before you start, make sure that the following requirements are met:

  • You have a VoipNow 3 or higher.
  • You have access and basic knowledge for using a SSH client (e.g. Putty).

Step-by-step guide


Please note that the Asterisk sip show registry command will not provide any information on registered extensions!

Kamailio stores the information about the registered extensions in Hubring. To find out the extensions currently registered, please do as follows:

STEP 1: Using your favorite SSH console (e.g.: Putty), connect to Hubring:

Code Block
 hr-cli -dp `cat /etc/voipnow/main.conf | grep DIS | awk -F':' '{print $3}'` -n 10 -h `cat /etc/voipnow/disdbase.conf | grep DIS | awk -F':' '{print $4}'`

STEP 2: Once you are connected to the Hubring server (you will get the Hubring prompt: hubring <HubringHost>:11211[10]>,), you can use the following commands to see the registered extensions:

Code Block
keys rtl:sipses:ext:*:*

This command will print the Hubring key for all the registered extensions. You will see something like this:

Code Block
hubring[10]> keys rtl:sipses:ext:*:*
1) "rtl:sipses:ext:0003*001:r1RZH9CI/E+lda1Bu+cYRXqexgE="
2) "rtl:sipses:ext:0003*008:eGH3b5ygmnh3Y+xcAlNSQ7p6fWE="
3) "rtl:sipses:ext:0003*004:GmadgY7HmzHJQxjxHKTmbWT0XiU="
4) "rtl:sipses:ext:0003*001:bjLE1jDmQ5bwsb+6wMTl6xjBCrU="

If you like to see find out all the SIP session information for a certain extension you can run.

Code Block
hubring[10]> hgetall rtl:sipses:ext:0003*001:r1RZH9CI/E+lda1Bu+cYRXqexgE=
 1) "u"
 2) "0003*001"
 3) "contact"
 4) "sip:0003*001@;transport=TLS"
 5) "expires"
 6) "2017-05-03 14:44:47"
 7) "q"
 8) "-1.00     "
 9) "callid"
10) "41e6455a3882f898047e5c91409848e2@"
11) "cseq"
12) "461"
13) "flags"
14) "0"
15) "cflags"
16) "64"
17) "ua"
18) "AsteriskVanillaPBX"
19) "rec"
20) "sip:;transport=TLS"
21) "ph"
22) ""
23) "sk"
24) "tls:"
25) "mh"
26) ""
27) "lm"
28) "2017-05-03 14:42:47"
29) "exp"
30) ""
31) "rch"
32) "yes"
33) "sipnod"
34) "9e665384cb"
35) "ruid"
36) "uloc-5909934b-1c70-1"
37) "inst"
38) ""
39) "rid"
40) "0"
41) "devid"
42) ""

The registered extensions can be checked from the VoipNow interface as well. Depending on your account, you have access to the following information:

  • The system administrator can view all the extensions in the system and their registration status from the Extensions Management page. The State column displays the current status of the phone terminal connected to the extension.
  • The service providers can check the registration status for the Phone terminal extensions defined for all their client accounts on the Extensions Management page.
  • The organizations can check the registration status for all their Phone terminal extensions on their home page.

Content by Label
cqllabel in ("registered","extension","hubring","asterisk","kamailio") and space = currentSpace()
labelskb-how-to-article voipnow registered

Except where otherwise noted, content in this space is licensed under a Creative Commons Attribution 4.0 International.