I’m assuming you did this part? Obviously don’t use amp111 but yeah. Are you sure it says API and not AMI?
For the realtime page to work, you must supply valid Asterisk Manager Interface (AMI) credentials to Asternic setup.
Look at your /etc/asterisk/manager.conf file and search for a valid user and secret, it will look something similar to this:
In the above case, the user is ‘admin’ and the secret is ‘amp111’.
From Asternic CCStats PRO version 2.3.0 and upwards, you can setup those credentails going to Setup/AMI Servers menu.
For older Asternic versions, edit the config file located in
// Manager details (for realtime tab)
$MANAGER_HOST = "127.0.0.1";
$MANAGER_USER = "admin";
$MANAGER_SECRET = "amp111";
Without those credentials being set, the realtime view won’t display any agents or queue activity, while reports will run normally.
It is also very important that the manager user has the originate (or all) permission in the write line if you want to use the realtime actions for spy, coach and steal calls. Without it, those actions will misserably fail without notice.