Difference between revisions of "Registration Status"

From Kolmisoft Wiki
Jump to navigationJump to search
 
(6 intermediate revisions by 2 users not shown)
Line 8: Line 8:
*Device  <u>must try to register</u> or <u>someone should call to that device</u> in order for that device status to be visible.
*Device  <u>must try to register</u> or <u>someone should call to that device</u> in order for that device status to be visible.
*Device must register to an Asterisk server <u>where it is assigned</u>.
*Device must register to an Asterisk server <u>where it is assigned</u>.
*Qualify must be enabled.
<br><br>
<br><br>
===Example: ===
===Example: ===
Line 18: Line 19:
==Status==
==Status==


[[File:bullet_green.png]] '''OK''' - Device is registered, all is OK
[[File:bullet_green.png]] '''OK''' - Device is registered and Device is responding to Qualify requests. All is OK.


[[File:bullet_yellow.png]] '''LAGGED''' - Device is registered but connection to it is poor
[[File:bullet_yellow.png]] '''LAGGED''' - Device is registered and Device is responding to Qualify requests, but response takes longer than it suppose to. It indicates poor connection.


[[File:bullet_red.png]] '''UNREACHABLE''' - Device tried to register before, but currently it is unreachable
[[File:bullet_red.png]] '''UNREACHABLE''' - Device stopped responding to Qualify requests. MOR is still trying to send Qualify requests to Device and expecting response.


[[File:bullet_black.png]] '''UNKNOWN''' - means the device state status could not be found. This is NOT an alternative message to the previous '''UNREACHABLE''' message.<br> Please refer to [[How_Registration_works_and_fails | this]] page to see how Device gets such status.  
[[File:bullet_black.png]] '''UNKNOWN''' - Device was UNREACHABLE for more than one hour. MOR stopped trying to reach it by sending Qualify requests. Please refer to [[How_Registration_works_and_fails | this]] page to see how Device gets such status.  


[[File:bullet_white.png]] '''Unmonitored''' - Device should not register to server so its status is unmonitored, this device made calls, so server is aware of its existence
[[File:bullet_white.png]] '''Unmonitored''' - such status is shown when "Qualify" is set to "NO" in Device settings.


'''NO STATUS''' - Device never tried to register to Server and Server does not know anything about this device.
'''NO STATUS''' - Device never tried to register to Server and Server does not know anything about this device status.


<br><br>
<br><br>

Latest revision as of 09:09, 24 January 2017

About

This feature was developed to make MOR administrator's life easier. With this feature an administrator is able to track SIP device status from GUI and solve problems faster.

Technical details (requirements)

These requirements must be fulfilled in order for this functionality to work correctly:

  • Works only with SIP devices.
  • Device must try to register or someone should call to that device in order for that device status to be visible.
  • Device must register to an Asterisk server where it is assigned.
  • Qualify must be enabled.



Example:

If a device is assigned to a server A but registers to server B - status will not be shown (devices must register to the server they are assigned to).




Status

Bullet green.png OK - Device is registered and Device is responding to Qualify requests. All is OK.

Bullet yellow.png LAGGED - Device is registered and Device is responding to Qualify requests, but response takes longer than it suppose to. It indicates poor connection.

Bullet red.png UNREACHABLE - Device stopped responding to Qualify requests. MOR is still trying to send Qualify requests to Device and expecting response.

Bullet black.png UNKNOWN - Device was UNREACHABLE for more than one hour. MOR stopped trying to reach it by sending Qualify requests. Please refer to this page to see how Device gets such status.

Bullet white.png Unmonitored - such status is shown when "Qualify" is set to "NO" in Device settings.

NO STATUS - Device never tried to register to Server and Server does not know anything about this device status.



Device list



Device status.png

Device edit



Device status edit device.png

Very technical details

You will probably never need these.

These files must exist:

  • /usr/local/mor/mor_retrieve_peers
  • /etc/cron.d/mor_minute_actions



Logs

If you want to get a lot of logs put DEBUG = 1 in mor.conf

Logs for this feature can be found here:

  • /var/log/mor/ami_debug.log



See also