Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Tue Oct 16, 2018 4:55 pm
VoIP Billing solution


All times are UTC




Post new topic Reply to topic  [ 22 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: freepbx setup
PostPosted: Tue Mar 17, 2009 11:24 am 
Offline

Joined: Mon May 14, 2007 5:41 am
Posts: 12
changed php.ini as instruction above, still got blank page at freepbx setup.
i did yum --enablerepo=centosplus update
to upgrade mysql and php to 5
now I got two problems
1) freepbx setup page blank
2) asterisk -r
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)
the file actually exist:
srwxr-xr-x 1 asterisk asterisk 0 Mar 17 06:23 asterisk.ctl
-rw-r--r-- 1 asterisk asterisk 5 Mar 17 06:23 asterisk.pid

I did google for couple of hours still couldn't resolve either issue.
I guess for my problem 2) is because i did a yum remove zaptel...
I don't use any TDM card in my server tho.

Thank you


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 17, 2009 2:17 pm 
Offline

Joined: Sat Sep 30, 2006 11:22 am
Posts: 167
Location: South East Florida
Hey shuiduo

I will offer what little help I can to try and help you but the issues are not A2Billing so, I don't know how much help you will get here.

first you say the ctl and pid file exist in that directory!!!
Second I'm sure you need Zaptel and libpri even if you do not use cards.
Third make sure the services are starting at boot time.

Some times it's easy to fortett a small detail. Try this old link and go over your upgrade, mainly "Create user and set permissions" and in the last page "Amportal controls" and "Ensure services are starting at boot time". Here's the link, hope it helps you.

http://www.aussievoip.com/wiki/freePBX-Centos


Top
 Profile  
 
 Post subject: problem fixed, Thank you
PostPosted: Wed Mar 18, 2009 9:36 pm 
Offline

Joined: Mon May 14, 2007 5:41 am
Posts: 12
Hi Ladca,Thank you.. like you said, it seems something small, it took me a lot of time tho.
both problems are fixed. Both problems are non-a2b related:).

6763 chkconfig --list httpd
6764 chkconfig httpd on
6765 chkconfig --list httpd
6766 chkconfig --list mysqld
6767 chkconfig mysqld on
6768 cd /usr/sbin
6769 ls amportal
6770 ls amportal -al
6771 more /etc/rc.local
6772 amportal restart
6773 service asterisk stop
6774 amportal start
6775 service asterisk status
6776 service asterisk stop
6777 service asterisk status
and I reboot here
then, the CLI is working

For the blank page issue, it's trixbox, I did couple of things.
1) changed php.ini ( still blank after this)
max_execution_time = 90 ; Maximum execution time of each script, in seconds
max_input_time = 90 ; Maximum amount of time each script may spend parsing request data
memory_limit = 128M ; Maximum amount of memory a script may consume (8MB)
2)added include_path = ".:/usr/share/pear" ( still blank after this )
3)touch /var/www/html/main/js/navDrop.js ( still blank after this )
4) finnally, everything was okay after:

I found:
missing db.php
did:
6852 locate DB.php
6853 updatedb
6854 locate DB.php
6855 pear install DB


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 18, 2009 11:44 pm 
Offline

Joined: Sat Sep 30, 2006 11:22 am
Posts: 167
Location: South East Florida
Glad to hear you got it working.


Top
 Profile  
 
 Post subject: Re: A2Billing Upgrade
PostPosted: Wed Jun 17, 2009 9:46 pm 
Offline

Joined: Wed Mar 15, 2006 11:58 pm
Posts: 325
Why no upgrade script?
Just wondering...


Top
 Profile  
 
 Post subject: Re: A2Billing Upgrade
PostPosted: Sat May 22, 2010 8:14 pm 
Offline

Joined: Sat May 22, 2010 6:56 pm
Posts: 6
Location: Belfast UK
Hi every one in a2billing land :mrgreen2:
Im a newbe so for give if i sound dum in the way i am saying thing to do with a2billing as i am new to this all,
Now where do I star hmm first I let you know 1 or two thing to help you be for you reply to me (if) any one can help me that is?? i am running Elastix 1.6-12 on a hosted vps running centos 64 bit and all is working well, now in say that heres where I need the help.

when I installed Elastix 1.6-12 it came with a2billing 1.3 some thing and so I went to Elastix forum dose any one know how to do an upgread in a2billing and some one sent me this link http://lists.elastix.org/pipermail/deve ... 00685.html and it work but I updated the link with 1.7.1.

now after all was install i was so happy after spending 3 days at it as im not a coder and heat using putty im more a GUI user my self.

every time I try to add a user or up daite the sip.conf i keep getting this lot of messages...
for a new user it says Your new Card hasn't been inserted
and when i Reload Asterisk add sip.conf with the account it reloads but in Elastix it dose not add them

If you can help me fourm you make me a very happy man

PS if I need to use putty to fix this please tell me as if i am a blond bimbo as im not that great with using coding and putty

it driving man and :furious:

I baging please help me %-)


Top
 Profile  
 
 Post subject: Re: A2Billing Upgrade
PostPosted: Sun May 23, 2010 7:31 am 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Hi

It sounds like something got mucked up in the database upgrade, which is difficult to identify where.

You need to start by enabling the quick profiler in /common/lib/admin.defines.php

This will give you a list of the MySQL commands that are being executed.

You can then execute these commands at the MySQL CLI, and see where the errors are.

You should then be able to work out what is missing.

Joe


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 22 posts ]  Go to page Previous  1, 2
Voice Broadcast System


All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group