Device Registration Status is not visible in the system

From Kolmisoft Wiki
Revision as of 14:07, 17 July 2012 by Mindaugas (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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

You need to run

/usr/src/mor/upgrade/12.126/fix.sh


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

If it has such a problem:

Received an error from asterisk: received an invalid/unknown response from server

That means that you did not upgraded your MOR installation. You need to run /usr/src/mor/upgrade/12.126/fix.sh script (for MOR12).


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