Difference between revisions of "Device Registration Status is not visible in the system"

From Kolmisoft Wiki
Jump to navigationJump to search
Line 1: Line 1:
Upgrade GUI and DB (very important - script has changes to work only with newest DB).
Delete file: /var/log/mor/ami_debug.log
Delete file: /var/log/mor/ami_debug.log


Run file: /usr/local/mor/mor_retrieve_peers  
Run file: /usr/local/mor/mor_retrieve_peers  
Check errors after mor_retrieve_peers script is executed.
It is possible that wrong DB is set in configuration file: /var/lib/asterisk/agi-bin/mor.conf


Check /var/log/mor/ami_debug.log
Check /var/log/mor/ami_debug.log


If it exists and has info about updated devices all is ok. If not - check errors after mor_retrieve_peers script is executed.
If it exists and has info about updated devices all is ok.  


If no errors, go to /etc/cron.d/mor_minute_actions
If no errors, go to /etc/cron.d/mor_minute_actions

Revision as of 13:28, 17 July 2012

Upgrade GUI and DB (very important - script has changes to work only with newest DB).

Delete file: /var/log/mor/ami_debug.log

Run file: /usr/local/mor/mor_retrieve_peers

Check errors after mor_retrieve_peers script is executed.

It is possible that wrong DB is set in configuration file: /var/lib/asterisk/agi-bin/mor.conf

Check /var/log/mor/ami_debug.log

If it exists and has info about updated devices all is ok.

If no errors, go to /etc/cron.d/mor_minute_actions

It should contain such lines:

# update peer information from Asterisk to DB
* * * * * root /usr/local/mor/mor_retrieve_peers

Create such file, add lines if they do not exist.



See also