Hi,
I am using ASTPP with FreeSWITCH on CentOS 6.4 | FreeSWITCH 1.2.10 | MySQL 5.5.32 | PHP 5.4.16 and it is working well with some functions but also some functions are not working properly which are describe below.
Please advice how can i fix those mentions issues.
Best Regards,
Aktron Tech UK Ltd
http://aktrontech.com## ASTPP Issues ###########################################################################################
1. Invoice Configuration NOT ALLOW to Modify Values
2. Invoice List are EMPTY - there is no invoice generating automatic
3. Trunkstats showing EMPTY - there is no Values in it
4. CDRReport Export for provider - NULL , reports are exporting but there is no DATA
cd /usr/local/astpp
-rwxrwxrwx 1 root root 2872 Jun 15 14:01
astpp-callingcards-daily.pl-rwxrwxrwx 1 root root 62719 Jun 15 14:01
astpp-common.pl-rwxrwxrwx 1 root root 1608 Jun 15 14:01
astpp-currency-update.pl-rwxrwxrwx 1 root root 6965 Jun 15 14:01
astpp-generate-invoices.pl-rwxrwxrwx 1 root root 2020 Jun 15 14:01
astpp-low-balance.pl-rwxrwxrwx 1 root root 8507 Jun 15 14:01
astpp-update-balance.pl./
astpp-callingcards-daily.plInterface language is set to: en
Odd number of elements in hash assignment at /usr/local/share/perl5/ASTPP.pm line 79.
./
astpp-generate-invoices.plInterface language is set to: en
Odd number of elements in hash assignment at /usr/local/share/perl5/ASTPP.pm line 79.
./
astpp-low-balance.plInterface language is set to: en
Odd number of elements in hash assignment at /usr/local/share/perl5/ASTPP.pm line 79.
./
astpp-update-balance.plInterface language is set to: en
Can't call method "set_astpp_db" on an undefined value at /usr/local/astpp/
astpp-common.pl line 1423.
cd /var/www/cgi-bin/astpp
-rwxrwxrwx 1 root root 1990 Jun 15 14:01 astpp-cdr-xml.cgi
-rwxrwxrwx 1 root root 2040 Jun 15 14:01
astpp-configuration-xml.pl-rwxrwxrwx 1 root root 17766 Jun 15 14:01
astpp-dialplan-xml.pl-rwxrwxrwx 1 root root 1087 Jun 15 14:01
astpp-directory-xml.pl-rwxrwxrwx 1 root root 1145 Jun 15 14:01 astpp-fs-xml.cgi
# When i run this link in browser i am getting error "Internal Server Error"
http://{PUBLIC-IP}/cgi-bin/astpp/astpp-cdr-xml.cgi
http://{PUBLIC-IP}/cgi-bin/astpp-fs-xml.cgi
cd /var/www/html
drwxrwxrwx 5 root root 4096 Jun 15 14:02 astpp
cd /var/www/html/astpp
drwxrwxrwx 16 root root 4096 Jun 15 14:02 application
drwxrwxrwx 6 root root 4096 Jun 15 14:02 assets
-rwxrwxrwx 1 root root 4161 Jun 15 14:02 htaccess
-rwxrwxrwx 1 root root 6356 Jun 15 14:02 index.php
-rwxrwxrwx 1 root root 2496 Jun 15 14:02 license.txt
drwxrwxrwx 8 root root 4096 Jun 15 14:02 system
cat /etc/httpd/conf.d/astpp.conf
Listen 8081
NameVirtualHost *:8081
<VirtualHost *:8081>
servername
telco.itspafrica.com ServerAlias localhost
DocumentRoot /var/www/html/astpp
DirectoryIndex index.php index.html index.shtml index.htm default.htm Default.aspx Default.asp
index.pl <IfModule mod_suphp.c>
AddType application/x-httpd-php .php
RemoveHandler .php
<FilesMatch "\.php$" >
SetHandler x-httpd-php
</FilesMatch>
<Location />
suPHP_AddHandler x-httpd-php
</Location>
</IfModule>
CustomLog /var/log/httpd/astpp_access_log combined
ErrorLog /var/log/httpd/astpp_error_log
Alias /astpp/ "/var/www/html/astpp/"
<Directory "/var/www/html/astpp/">
AllowOverride All
</Directory>
Options +Includes +FollowSymlinks
<Location /stats>
Options +Indexes
</Location>
</VirtualHost>
cat /etc/httpd/conf.d/perl.conf
LoadModule perl_module modules/mod_perl.so
#PerlSwitches -w
#PerlSwitches -T
#
#Alias /perl /var/www/perl
#<Directory /var/www/perl>
# SetHandler perl-script
# PerlResponseHandler ModPerl::Registry
# PerlOptions +ParseHeaders
# Options +ExecCGI
#</Directory>
#
#<Location /perl-status>
# SetHandler perl-script
# PerlResponseHandler Apache2::Status
# Order deny,allow
# Deny from all
# Allow from .
example.com#</Location>