Skip navigation.
Home

How Can I Install AstPP?

Hello.

I hava problem to install AstPP.

I have downloaded AstPP to using 'svn co https://astpp.svn.sourceforge.net/svnroot/astpp/trunk astpp' -> delevelopment 2250 copy

And I try to install.

I will use FreeSwitch not Asterisk.

the manual on this site -> http://www.astpp.org/?q=node/147
the manual on file -> \Documentation\astpp-manual.html

Which is corrent manual?

The Install Operation is differ from another.

And Some Install Process is omited. like make clontab, Permission and etc.

and, where is astpp-install.cgi?

astpp-enh-config.conf`s file size is 0 bytes?

maybe I should copy 'astpp-manual.html:Enhanced Configuration' to it manually?

Anyway, I have installed AstPP. But I not sure it was corrently installed.

http://SERVER_ADDRESS/cgi-bin/astpp-admin/astpp-admin.cgi is displayed.

but, it print 'Asterisk CDR Database Unavailable!'

and where is username and password?

I Searched your post 'http://www.astpp.org/?q=node/236'

And login AstPP with default password that I changed.

But Not is display without MENU.

with this message.

Asterisk CDR Database Unavailable!Realtime Database Unavailable!
Not Available!

I run it with console.

# ./astpp-admin.cgi
"my" variable $results masks earlier declaration in same scope at ./astpp-admin.cgi line 4009.
Using a hash as a reference is deprecated at ./astpp-admin.cgi line 4021.
Using a hash as a reference is deprecated at ./astpp-admin.cgi line 4024.
Using a hash as a reference is deprecated at ./astpp-admin.cgi line 4026.
Using a hash as a reference is deprecated at ./astpp-admin.cgi line 4027.
Using a hash as a reference is deprecated at ./astpp-admin.cgi line 4028.
Using a hash as a reference is deprecated at ./astpp-admin.cgi line 4029.
Using a hash as a reference is deprecated at ./astpp-admin.cgi line 4030.
Using a hash as a reference is deprecated at ./astpp-admin.cgi line 4031.
Using a hash as a reference is deprecated at ./astpp-admin.cgi line 4032.
Using a hash as a reference is deprecated at ./astpp-admin.cgi line 4033.
Using a hash as a reference is deprecated at ./astpp-admin.cgi line 4034.
Using a hash as a reference is deprecated at ./astpp-admin.cgi line 4035.
Using a hash as a reference is deprecated at ./astpp-admin.cgi line 4036.
Using a hash as a reference is deprecated at ./astpp-admin.cgi line 4037.
Using a hash as a reference is deprecated at ./astpp-admin.cgi line 4038.
Using a hash as a reference is deprecated at ./astpp-admin.cgi line 4039.
Using a hash as a reference is deprecated at ./astpp-admin.cgi line 4040.
Using a hash as a reference is deprecated at ./astpp-admin.cgi line 4041.
Using a hash as a reference is deprecated at ./astpp-admin.cgi line 4042.
Using a hash as a reference is deprecated at ./astpp-admin.cgi line 4043.
"my" variable $sql masks earlier declaration in same scope at ./astpp-admin.cgi line 8231.
Name "main::AGI" used only once: possible typo at ./astpp-admin.cgi line 69.
Name "main::resellers" used only once: possible typo at ./astpp-admin.cgi line 9053.
"our" variable $shucks masks earlier declaration in same scope at /usr/local/astpp/astpp-common.pl line 4154.
Interface language is set to: en
Interface language is set to: en
Connected to ASTPP Database!
DBI:mysql:database=asteriskcdrdb;host=localhostDBI connect('database=asteriskcdrdb;host=localhost','root',...) failed: Access denied for user 'root'@'localhost' (using password: YES) at /usr/local/astpp/astpp-common.pl line 1003
CDR DATABASE IS DOWN
DBI:mysql:database=realtime;host=127.0.0.1DBI connect('database=realtime;host=127.0.0.1','root',...) failed: Access denied for user 'root'@'localhost' (using password: NO) at /usr/local/astpp/astpp-common.pl line 1040
Asterisk Realtime DATABASE IS DOWN!
Use of uninitialized value in concatenation (.) or string at ./astpp-admin.cgi line 11620.
astpp-admin.cgi,user=
Use of uninitialized value $count in numeric ne (!=) at ./astpp-admin.cgi line 276.
ASTPP-AUTHCODE: 1234
ASTPP-USER-COUNT: 0
Content-Type: text/html; charset=ISO-8859-1

I found something wrong with DATABASE.

where Can I set it up?

# vi /var/lib/astpp/astpp-config.conf
; ASTPP Database Connection Information
dbuser = root
dbhost = 127.0.0.1
dbpass = 1234
dbname = astpp

# Database type: ASTPP was designed for a MySQL database initially. Valid options are:
# MySQL. Pgsql is coming but is not ready yet.
astpp_dbengine = MySQL

# Do we want the startup of ASTPP debugged?
debug = 1

Not this file? If it corrent, how can I add some information?

please comfirm this problem.

Installation Problems

Sorry about the delay on this.  We've been having some problems with spammers and I missed this.  Did you create the cdr database?  I would suggest installing phpmyadmin and adjusting the cdr database settings.  The settings are stored in the system table.

I am getting the same

I am getting the same problem and cdr base is created and loaded, it seems that i cant connect and thats why is going down, but i have same problem.

Re: I am getting the same

Can you confirm that the database is called asteriskcdrdb?  Is the interface coming up, just with that warning?