Device Registration Status is not visible in the system

From Kolmisoft Wiki
Revision as of 13:28, 17 July 2012 by Mindaugas (talk | contribs)
Jump to navigationJump to search

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