Asterisk Live Calls Monitor - Troubleshooting

1) License key not working:

Please make sure all below packages are installed in system. If not installed then install it using yum or apt-get command based on your linux distribution.

libapache2-mod-php

php

php-cli

php-common

php-json

php-readline

apache2

apache2-bin

apache2-data

apache2-utils

php-curl

php-xml

php-gd

php-intl

php-pear

php-imagick

php-imap

php-mcrypt

php-memcache

php-ming

php-ps

php-pspell

php-recode

php-snmp

php-xmlrpc

php-xsl

php-tidy


If your system is having httpd then no need to install apache2 packages.

Also confirm all packages version are proper. Sometimes it may happen php is of different version and other dependency packages are of different version. For eg. php version in 5.6 and php-curl is having 7.1.



2) System Information page not working OR error like "XML Parsing Error: junk after document element":

 

Please make sure below packages are installed on the system:

php

php-cli

php-common

php-readline

php-json

php-curl

Php-xml
php-pear
php-devel
httpd-devel
pcre-devel
gcc
make


Also confirm all packages version are correct. Sometimes it may happen php is of different version and other dependency packages are of different version. For eg. php version in 5.6 and php-curl is having 7.1.



3) Page is showing “not found” error or “internal server” error:


Please confirm apache settings mentioned in step 3 of installation step article and then restart your httpd or apache2 service as mentioned in step 5 of the same article.


4) Manager is not connecting:

If manager is not connecting then need to check below things.

  • On /etc/asterisk/manager.conf find [general] section at top and check if “enabled” and “webenabled” is set to Yes.

  • Check port you have used, same as port defined in /etc/asterisk/manager.conf under [general] section.

  • If there isn’t any user created in manager.conf and manager_custom.conf then create an new manager user like below sample user.


[myasterisk]

secret=mycode

deny = 0.0.0.0/0.0.0.0

permit = 192.168.1.39/255.255.255.0

read = all

write = all


Here, myasterisk is username and mycode is password. And 192.168.1.39 is the IP of Asterisk machine.



5) Showing ioncube loader errors:


First please make sure you have selected correct package of Asterisk Live Call Monitor based on your PHP version.

Then confirm if ioncube loader is installed properly as mentioned in Step 4 of installation step article.

And then restart your httpd or apache2 service as mentioned in step 5 of the same article.



6) Enabling Apache authentication for security:

By default, we do not have any login box to enter into portal but you can enable apache authentication to make your portal secure by executing below steps:



  1. If you have apache2 then use below steps:

    1. Open apache2.conf using below command

vim /etc/apache2/apache2.conf

    1. Find LiveCall section in file (you can use Esc then /(slash)LiveCall then enter to find LiveCall section in file)

    2. Now add below lines after “AllowOverride All” on LiveCall section

   AuthType Basic
   AuthName "Basic Authentication"
   AuthUserFile /etc/apache2/conf/.htpasswd

   require valid-user

So after adding above line the section will look like below:

<Directory "/var/www/html/LiveCall">

   AllowOverride All

   AuthType Basic
   AuthName "Basic Authentication"
   AuthUserFile /etc/httpd/conf/.htpasswd
   require valid-user

</Directory>

    1. Run below command to generate password for user

htpasswd -c /etc/apache2/conf/.htpasswd admin

It will ask you for password and confirm password. Please note it down, it will be your login password

    1. Now restart apache2 using one of below commands

service apache2 restart

Or

/etc/init.d/apache2 restart

 

  1. If you have httpd then use below steps:

    1. Open httpd.conf using below command

vim /etc/httpd/config/httpd.conf

    1. Find LiveCall section in file (you can use Esc then /(slash)LiveCall then enter to find LiveCall section in file)

    2. Now add below lines after “AllowOverride All” on LiveCall section

   AuthType Basic
   AuthName "Basic Authentication"
   AuthUserFile /etc/httpd/conf/.htpasswd
   require valid-user

So after adding above line the section will look like below:

<Directory "/var/www/html/LiveCall">

   AllowOverride All

   AuthType Basic
   AuthName "Basic Authentication"
   AuthUserFile /etc/httpd/conf/.htpasswd
   require valid-user

</Directory>

    1. Run below command to generate password for user

htpasswd -c /etc/httpd/conf/.htpasswd admin

It will ask you for password and confirm password. Please remember it, it will be your login password

    1. Now restart httpd using one of below commands

service httpd restart

Or

/etc/init.d/httpd restart

All done. Now your report page will ask for login before using it.

  • 338 Users Found This Useful
Was this answer helpful?

Related Articles

Asterisk Live Calls Monitor - Installation Steps

1. Download Installer package: Once you completed purchase process, you can download latest...

Upgrade existing Asterisk Live Call Monitor to v2.1

It's quite easy to upgrade your existing Asterisk Live Call Monitor tool to the all new version...

Powered by WHMCompleteSolution