Category

asterisk

Common Problems and Solutions for Ubuntu+Asterisk+FreePBX Installation

By | asterisk | 2 Comments

1.Some dependencies error   (1).configure: error: no acceptable C compiler found in $PATH Solution:apt-get install gcc   (2).configure: error: C++ preprocessor “/lib/cpp” fails sanity check Solution:apt-get install g++ or apt-get install build-essential (3). configure: *** XML documentation will not be available because the ‘libxml2’ development package is missing. configure: *** Please run the ‘configure’ script with the ‘–disable-xmldoc’ parameter option configure: *** or install the ‘libxml2’ development package. Solution:install libxml2-dev doesn’t help,run ./configure '--disable-xmldoc' (4). configure: error: *** termcap support not found (on modern systems, this typically means the ncurses development package is missing) Solution:apt-get install ncurses-dev (5). [FATAL] PEAR must be install (reauires DB.php). Include path: .:/usr/share/pear:/usr/local/src/PEAR Solution:pear install db   2.Unknown SQL engine Problem:After installing the FreePBX,admin page show the following message:   FATAL ERROR Unknown SQL engine: [] Trace Back /var/www/html/admin/common/db_connect.php:57 die_freepbx() [0]: Unknown SQL engine: [] /var/www/html/admin/bootstrap.php:75 require_once() [0]: /var/www/html/admin/common/db_connect.php /var/www/html/admin/config.php:61 require()

[0]: /var/www/html/admin/bootstrap.php

  Solution: vi /etc/apache2/httpd.conf default it’s a empty file,add two lines User asterisk Group asterisk Restart apache service. /etc/init.d/apache2 restart   3.Softphone registration error Problem:After adding Extensions in FreePBX,soft phone can’t register extensions.       Solution: Log in your asterisk (asterisk -r) and press sip show peers,if no such command, run module load chan_sip.so,load the sip module. Restart the asterisk service. core restart now If nothing changes,maybe firewall blocks asterisk,you should disable the firewall and prevent it from starting on reboot. iptables -F chkconfig iptables off   4.Soft phone can’t connect to eachother Problem:Softphone can register freepbx extensions but can’t connect to eachother.     Log in your asterisk (asterisk -r),when soft phone registering,asterisk show error: chan_sip.c:8876 process_sdp: No compatible codecs, not accepting this offer!   Solution: Make sure that you have selected a-law or u-law in soft phone selected codecs         or select the proper codecss in a FreePBX EXTENSION configuration.  

Common Problems and Solutions for CentOS+Asterisk+FreePBX Installation

By | asterisk | 5 Comments

1.Unknown SQL engine

Problem:After installing the FreePBX,admin page show  the following message:

 

FATAL ERROR

Unknown SQL engine: []

Trace Back

/var/www/html/admin/common/db_connect.php:57 die_freepbx()

[0]: Unknown SQL engine: []

/var/www/html/admin/bootstrap.php:75 require_once()

[0]: /var/www/html/admin/common/db_connect.php

/var/www/html/admin/config.php:61 require()

[0]: /var/www/html/admin/bootstrap.php

Unknown SQL engine

Unknown SQL engine

 

Solution:

vim +231 /etc/httpd/conf/httpd.conf

change User apache and Group apache to User asterisk and Group asterisk.

vim +327 /etc/httpd/conf/httpd.conf

change None to All.

or use sed to replace.

sed -i '231,232s/apache/asterisk/i;327s/none/All/i' /etc/httpd/conf/httpd.conf

Restart apache service.

service httpd restart

 

2.Asterisk is not running,

Problem:After installing the FreePBX,the Server Status Panel of admin page show the following message:

 

Asterisk ERROR

Asterisk is not running, this is a critical service!

asterisk error

asterisk error

 

Solution:

vim +$ /etc/asterisk/manager.conf

Press dddd to delete the last two lines and press ZZ to save&quit.

or use sed to delete the last line twice.

sed -i '$d' /etc/asterisk/manager.conf

sed -i '$d' /etc/asterisk/manager.conf

Restat the asterisk service.

service asterisk restart

 

3.Softphone registration error

Problem:After adding Extensions in FreePBX,soft phone can’t register extentsions.

 

Zoiper Registering

Zoiper Registering

 

eyeBeam Registering

eyeBeam Registering

 

Solution:

Log in your asterisk (asterisk -r) and press sip show peers,if no such command,

run module load chan_sip.so,load the sip module.

Restat the asterisk service.

core restart now

If nothing changes,maybe firewall blocks asterisk,you should disable the firewall and prevent it from starting on reboot.

service iptables stop
chkconfig iptables off

 

4.Soft phone can’t connect to eachother

Problem:Softphone  can register freepbx extensions but can’t connect to eachother.

Zoiper Wrong Codecs

Zoiper Wrong Codecs

 

eyeBeam Wrong Codecs

eyeBeam Wrong Codecs

 

Log in your asterisk (asterisk -r),when soft phone registering,asterisk show error:

chan_sip.c:8876 process_sdp: No compatible codecs, not accepting this offer!

 

Solution:

Make sure  that you have selected a-law or u-law in soft phone selected codecs

 

Zoiper Selected Codecs

Zoiper Selected Codecs

 

 

eyeBeam Selected Codecs

eyeBeam Selected Codecs

 

or select the proper codecss in a FreePBX EXTENSION configuration.

 

FreePBX Extensions Codecs

FreePBX Extensions Codecs

 

 

 

asterisk channels

By | asterisk | 6 Comments

astercc daemons are licensed by asterisk simultaneous channels, so how could we know the channel’s number of the asterisk server? outbount: 1 call, 1 channel callback: 1 call, 2 channels queue: 1 call, 2 channels but if you select the ring strategy as “Ring All”, then u may get tons of channels when a call come in. also when you goes to voicemail or login as dynamic agent, it will take one channel.

why we say asterCC solutions could work with all kinds of asterisk based solution.

By | asterBilling, asterCRM, asterisk | No Comments

asterCC package provides a call center solution and a billing solution for asterisk, the most important feature is, asterCC could work with all asterisk based solutions and no need do any modification to the original system,  as we have tested, including:

  • Trixbox
  • Elastix
  • Callweaver
  • Freepbx
  • Magiclink
  • Fonesoft
  • asterisk2billing (a2b)
  • pbx in a flash

so when you are using a asterisk based system and want to add call center or billing features, asterCC is a good choice.

asterCC solutions connect to your asterisk via AMI over tcp, so even a embedded asterisk equipment would use asterCC for billing or contact center.

asterCC works based callerid, so it doesnt care what’s the asterisk dialplan or how a agi work, as long as you have  correct callerid in your asterisk, asterCC could work with it.

Working as daemon service in linux, asterCC is stable and extremely efficient, we have test that it could support at least 240 simultanieous asterisk calls.

Open source as all web scripts is, there’s also the possibility that you make your own solution based astercc daemons, and with the 5 free simultanieous channel license it provides by default, no need to pay a dollar for small business, like to bill an asterisk pbx with users less than 12.