Quantcast
Channel: FreePBX - FreePBX Community Forums
Viewing all 17586 articles
Browse latest View live

Installing FFmpeg onto FreePBX

$
0
0

@cmhxaktsoft wrote:

Perhaps this isn't even necessary, but the Dashboard is telling me that I "might want to" install LAME and FFmpeg in order for everything to work with HTML5.

Now, I know that these two applications are plagued by weird licensing issues, and that Sangoma can't just provide them with the distro. (When I say weird, I'm not trying to start a discussion about the intricacies of copyright law - just acknowledging that there are legitimate reasons that they can't be in the official distribution.)

I'm assuming that because of these issues, Sangoma must be deliberately vague about installing them. ("You probably need to install something like LAME - and look, here's a link to the LAME website. Good luck!")

I'm not a lawyer, I'm a sysadmin. LAME was pretty easy. I installed RPMForge, ran "yum install lame" then disabled the repo. Single binary, no dependencies, so I shouldn't need to worry that it's going to mess something up in FreePBX later. FFmpeg looks like it's going to be a little trickier. RPMforge contains a repo for FFmpeg, but the application has 16 dependencies that it also wants to install.

None of the dependencies seem to conflict with anything that's already installed on FreePBX - Should it be safe to install this package, then disable RPMforge? On the surface, such an action wouldn't seem too risky, but I'd like to get opinions of those who know more than me.

Thanks in advance!

Posts: 1

Participants: 1

Read full topic


Creating Users when importing Extensions with Bulk Handler

$
0
0

@jsmithpcs wrote:

Using version: 10.13.66-7
Since "Bulk Extensions" is deprecated, I'm trying to import extensions and users with the new Bulk Handler. However, I have run into the following problems:

When importing new extensions with Bulk Handler. corresponding users are not automatically created. Is this possible?

I can import users with Bulk Handler and then import extensions and they do get linked; however the users are not added to the "All Users" group.

Any help greatly appreciated.

Posts: 1

Participants: 1

Read full topic

Change of destination in inbound route does not take effect

$
0
0

@lams wrote:

I run freepbx 12 / Asterisk 13 on a debian wheezy box and had been working well for some time.

But when I recently tried to change the 'set destination' of a working inbound route to a working IVR or another registered extension, it did not take effect - meaning that the the inbound calls continued going to the previous destination, even though the set destination on the inbound route is now different.

Any help will be appreciated.
Lams

Posts: 1

Participants: 1

Read full topic

RTP Port Settings?

$
0
0

@andy_woolford wrote:

My VOIP Trunk provider (voiptalk.org) specifies RTP 10000-20000. I have this set in my "Asterisk SIP Settings", RTP Port Ranges.

I wish to install an external SIP phone (Grandstream BT200) on a public internet address behind a NAT. On the Grandstream "Advanced Settings" page, the default RTP port specified is 5004. (Must be even).

My questions are:

1) Can the Grandstream RTP port stay at this default and I simply forward the SIP and RTP port 5004 through the NAT, or do I have to change the default RTP port to somewhere within the range defined in the Asterisk Server (10000-20000)?

2) Do I need to enable Symmetric RTP in both the FreePBX Extension configuration AND at the SIP Client?

Many thanks

Andy Woolford

Posts: 1

Participants: 1

Read full topic

OpenVPN and FreePBX 13

$
0
0

@claloano wrote:

There is a step by step tutorial to use openVPN is FreePBX

I saw that the dir / etc / openvpn exists but is empty ....

I saw that already exists in init need to start it ....

But I want to find documentation to configure

Posts: 6

Participants: 2

Read full topic

Backup Module Cron Exception

$
0
0

@zueri wrote:

Hello
I set up backup in FreePBX Distro (latest) which seems to work. But now I receive the following exceptions when the backup is called by Cron. The backup files itself are created and uploaded to my backup storage (NAS). Any idea who to fix this or get at least more information?

Initializing Backup 1
Backup Lock acquired!
Running pre-backup hooks...
Adding items...
Building manifest...
Creating backup...
Storing backup...
PHP Fatal error: [] operator not supported for strings in /var/www/html/admin/modules/backup/functions.inc/class.backup.php on line 345
Whoops\Exception\ErrorException: [] operator not supported for strings in file /var/www/html/admin/modules/backup/functions.inc/class.backup.php on line 345
Stack trace:
1. () /var/www/html/admin/modules/backup/functions.inc/class.backup.php:345

Posts: 1

Participants: 1

Read full topic

Fwconsole start is failing and asterisk can't connect

$
0
0

@adriantrunzo wrote:

Hi all,

I've been trying to debug why asterisk will not load following an sysadmin pro automatic upgrade from 10.13.66-5 to 10.13.66-7. The system got locked somewhere during the 10.13.66-6 script, so I unlocked the upgrade using/usr/sbin/sysadmin_update_system --unlock and followed with /usr/sbin/sysadmin_update_system, which failed:

[root@pbx-patagonia ~]# /usr/sbin/sysadmin_update_system
Array
(
    [status] => ok
    [data] => Array
        (
            [10.13.66-6] => Array
                (
                    [url] => http://upgrades.freepbxdistro.org/stable/10.13.66/upgrade-10.13.66-6.sh
                    [changelog] => 
                )

            [10.13.66-7] => Array
                (
                    [url] => http://upgrades.freepbxdistro.org/stable/10.13.66/upgrade-10.13.66-7.sh
                    [changelog] => 
                )

        )

)
running http://upgrades.freepbxdistro.org/stable/10.13.66/upgrade-10.13.66-6.sh
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)

I ran the upgrade scripts manually to set what errors might appear and both times the following appeared at the end of stage 1:

Reloading FreePBX
Error(s) have occured, the following is the retrieve_conf output:
exit: 1
Exception: Unable to connect to Asterisk Manager from /var/lib/asterisk/bin/retrieve_conf, aborting in file /var/lib/asterisk/bin/retrieve_conf on line 13
Stack trace:
  1. Exception->() /var/lib/asterisk/bin/retrieve_conf:13

It seems like asterisk can't start... I checked to make sure mysql is running and that the passwords are the same in /etc/asterisk/manager.conf and /etc/amportal.conf. When I run fwconsole start I get the following

[root@pbx-patagonia ~]# fwconsole -vvv start
Running FreePBX startup...
Setting Permissions...


                                     
  [InvalidArgumentException]         
  The "full" option does not exist.  
                                     


Exception trace:
 () at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Symfony/Component/Console/Input/Input.php:180
 Symfony\Component\Console\Input\Input->getOption() at /var/www/html/admin/libraries/Console/Chown.class.php:264
 FreePBX\Console\Command\Chown->execute() at /var/www/html/admin/libraries/Console/Start.class.php:66
 FreePBX\Console\Command\Start->execute() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Symfony/Component/Console/Command/Command.php:257
 Symfony\Component\Console\Command\Command->run() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Symfony/Component/Console/Application.php:874
 Symfony\Component\Console\Application->doRunCommand() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Symfony/Component/Console/Application.php:195
 Symfony\Component\Console\Application->doRun() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Symfony/Component/Console/Application.php:126
 Symfony\Component\Console\Application->run() at /var/lib/asterisk/bin/fwconsole:132


start [args1] ... [argsN]

Any ideas? Thanks in advance for everyone's time.

Posts: 4

Participants: 3

Read full topic

Customize Feature Codes - Grey Box

$
0
0

@robertshaw wrote:

Using Asterisk 13.7 / FreePBX 13.0.53

When Customize for any Feature Code is selected, the box to enter the new Feature Code remains grey and typing is not permitted. This seems to be a bug, but I have found no one else reporting it. On previous versions, this feature worked.

This is a fresh install using the FreePBX ISO with no modifications.

I would appreciate any thoughts of where to look.

Thank you.

Posts: 3

Participants: 2

Read full topic


Debian8 fresh install Error Class Userman not found

$
0
0

@roger8 wrote:

I loaded using http://wiki.freepbx.org/display/FOP/Installing+FreePBX+13+on+Debian+8.1
everything was fine only issue was when I went to install freepbx

root@asteriskdebian:/usr/src/freepbx# ./install -n
Assuming you are Database Root
Checking if SELinux is enabled...Its not (good)!
No /etc/asterisk/asterisk.conf file detected. Installing...Writing /etc/asterisk/asterisk.conf...Done
Checking if Asterisk is running and we can talk to it as the 'asterisk' user...Done
Preliminary checks done. Starting FreePBX Installation
Checking if this is a new install...Yes (No /etc/amportal.conf file detected)
Database Root installation checking credentials and permissions..Error!
Invalid Database Permissions. The error was: SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: NO)
root@asteriskdebian:/usr/src/freepbx#

i noted that I was never asked to create a database so i went ahead and did this
` mysqladmin -uroot -pPASS4mysql create asterisk
mysqladmin -uroot -pPASS4mysql create asteriskcdrdb

mysql -uroot -pPASS4mysql -e "GRANT ALL PRIVILEGES ON asterisk.* TO asteriskuser@localhost IDENTIFIED BY 'PASS'"
mysql -uroot -pPASS4mysql -e "GRANT ALL PRIVILEGES ON asteriskcdrdb.* TO asteriskuser@localhost IDENTIFIED BY 'PASS'" `

./install finnaly ran proper but now when I go to the web address I get this big Whoops! There was a error in the title

`
/­var/­www/­html/­admin/­modules/­userman/­Userman.class.php991

Whoops \ Exception \ ErrorException (E_ERROR)

Class 'FreePBX\modules\Userman\Auth\freepbx' not found
/var/www/html/admin/modules/userman/Userman.class.php

	 * @param  string $auth The authentication engine name, will default to freepbx
	 */
	private function switchAuth($auth = 'freepbx') {
		$this->getAuths();
		if(!empty($auth)) {
			$class = 'FreePBX\modules\Userman\Auth\\'.$auth;
			try {
				$this->auth = new $class($this, $this->FreePBX);
			} catch (\Exception $e) {
				//there was an error. Report it but set everything back

Server/Request Data
HTACCESS on
HTTP_HOST x.x.x.x
HTTP_USER_AGENT Mozilla/5.0 () Gecko/20100101 Firefox/43.0
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.5
HTTP_ACCEPT_ENCODING gzip, deflate
HTTP_CONNECTION keep-alive
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
SERVER_SIGNATURE

Apache/2.4.10 (Debian) Server at x.x.x.x Port 80

SERVER_SOFTWARE Apache/2.4.10 (Debian)
SERVER_NAME x.x.x.x.x
SERVER_ADDR x.x.x.x.x
SERVER_PORT 80
REMOTE_ADDR x.x.x.x.x
DOCUMENT_ROOT /var/www/html
REQUEST_SCHEME http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT /var/www/html
SERVER_ADMIN webmaster@localhost
SCRIPT_FILENAME /var/www/html/admin/config.php
REMOTE_PORT 47601
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /admin/config.php
SCRIPT_NAME /admin/config.php
PHP_SELF /admin/config.php
REQUEST_TIME_FLOAT 1453867734.041
REQUEST_TIME 1453867734
GET Data
empty
POST Data
empty
Files
empty
Cookies
lang en_US
Session
empty
Environment Variables
empty
Registered Handlers

`
What does the " -n " for the install do?
I have tried to search for this getting alot not directly related.
i need a hint to get this running . like I said everything went smooth in the install no missing or dependencies all loaded good. i can get you a list or what ever info you need i want this to run. i want to run the latest on my Debian.

Posts: 9

Participants: 3

Read full topic

Unable to Update on a fresh install of CentOS 6,5 following Offciall Guide

$
0
0

@StreetGuru wrote:

Hi,

I am attempting to install FreePBX on a VPS and I've followed the official guide for an install on a fresh CentOS 6.5 machine found here:

I am installing on a x86 machine and had to adapt the script accordingly, most notably by removing the references to " --libdir=/usr/lib64" but also to solve the problem of missing libjansson.so.4 - i did this by running the following lines before I installed freepbx:

echo "/usr/local/lib" > /etc/ld.so.conf.d/usr_local.conf
/sbin/ldconfig

I still had to run the installation twice as it hangs at first, but then goes through successful and I can access the control panel.

However, I immediately get an error that there is 1 Critical error with a tampered file:

"Critical Module "FreePBX Framework" is unsigned, re-download immediately"

But I am unable to re-download this module or run any update, I always receive an error message stating:

"Downloading and Installing framework
Downloading framework 0 of 5081756 (0%)
Found module locally, verifying...Redownloading
Error(s) downloading framework:
Error opening http://mirror1.freepbx.org/modules/packages/framework/framework-12.0.76.2.tgz.gpg for reading"

I also try to run "amportal chown" and "amportal a ma refreshsignatures" and again receive the following error:

Checking Signatures of Modules...
Checking builtin...Good
Checking callrecording...Good
Checking cdr...Good
Checking core...Good
Checking customappsreg...Good
Checking dashboard...Good
Checking featurecodeadmin...Good
Checking framework...Signature Invalid
Refreshing framework
Downloading 0 of 5081756 (0%) The following error(s) occured:
- Error opening http://mirror1.freepbx.org/modules/packages/framework/framework-12.0.76.2.tgz.gpg for reading

I can access the file with wget without any problem.

I've been around this for a few days already, would really appreciate any help.

Thanks in advance,

S

Posts: 1

Participants: 1

Read full topic

FreePBX 13 running on CentOS 7(EC2): 403 Forbidden

$
0
0

@AMPG wrote:

Current system configuration:
CentOS Linux 7 x86_64 AMW EC2 AMI
Apache v2.4.6
FreePBX v13 (Successfully Installed based on instructions: http://wiki.freepbx.org/display/FOP/Installing+FreePBX+13+on+CentOS+7#InstallingFreePBX13onCentOS7-Disableselinux)

Installation went without any hiccups however I am now having issues accessing the FreePBX v13 GUI. I am getting a “Forbidden You don't have permission to access /admin” on this server error. When running fwconsole debug this error stands out:

[Wed Jan 27 02:24:21.462454 2016] [core:crit] pid 2710Permission denied: [client xx.xxx.xx.xxx:xxxxx] AH00529: /var/www/html/admin/.htaccess pcfg_openfil e: unable to check htaccess file, ensure it is readable and that '/var/www/html/ admin/' is executable
[Wed Jan 27 02:24:31.214694 2016] [core:crit] pid 2711Permission denied: [client xx.xxx.xx.xxx:xxxxx] AH00529: /var/www/html/admin/.htaccess pcfg_openfil

See link for current configuration and more details: https://codeshare.io/h7Cpv

Posts: 1

Participants: 1

Read full topic

Remove all agents from queue

Howto Debian Jessie 8 Asterisk 11 freepbx12

$
0
0

@roger8 wrote:

Load debian 8 , note I used this as a reference http://wiki.freepbx.org/display/FOP/Installing+FreePBX+12+on+Ubuntu+Server+14.04+LTS

apt-get install -y build-essential linux-headers-uname -r openssh-server apache2 mysql-server\
mysql-client bison flex php5 php5-curl php5-cli php5-mysql php-pear php-db php5-gd curl sox\
libncurses5-dev libssl-dev libmysqlclient-dev mpg123 libxml2-dev libnewt-dev sqlite3\
libsqlite3-dev pkg-config automake libtool autoconf git subversion unixodbc-dev uuid uuid-dev\
libasound2-dev libogg-dev libvorbis-dev libcurl4-openssl-dev libical-dev libneon27-dev libsrtp0-dev\
libspandsp-dev libmyodbc

///make sure to note your mysql root password you will need this later

cd /usr/src
wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-current.tar.gz
wget http://downloads.asterisk.org/pub/telephony/libpri/libpri-1.4-current.tar.gz
wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-12-current.tar.gz
git clone https://github.com/akheron/jansson.git
git clone https://github.com/asterisk/pjproject.git
cd /usr/src
wget http://mirror.freepbx.org/modules/packages/freepbx/freepbx-12.0-latest.tgz
tar xvfz freepbx-12.0-latest.tgz

cd /usr/src
tar xvfz dahdi-linux-complete-current.tar.gz
cd dahdi-linux-complete-*
make all && make install && make config

cd /usr/src
tar -xjvf pjproject-2.4.tar.bz2
cd pjproject-2.4
CFLAGS='-DPJ_HAS_IPV6=1' ./configure --enable-shared --disable-sound --disable-resample --disable-video --disable-opencore-amr
make dep && make && make install

cd /usr/src
tar vxfz jansson.tar.gz
cd jansson-*
autoreconf -i
./configure && make && make install

cd /usr/src
cd /usr/src/certified-asterisk-11.6-cert11*
./configure
contrib/scripts/get_mp3_source.sh
make menuselect
///select your sound files in the codecs you think you will use I use gsm and g729 and of course Ulaw so I load hold sounds and extra in these codecs
make && make install && make config
ldconfig

///rootmysqlpass is your mysql root password
///pass4astusr would be your asteriskuser password you want to use

mysqladmin -uroot -prootmysqlpass create asterisk
mysqladmin -uroot -prootmysqlpass create asteriskcdrdb
mysql -uroot -prootmysqlpass -e "GRANT ALL PRIVILEGES ON asterisk.* TO asteriskuser@localhost IDENTIFIED BY 'pass4astusr'"
mysql -uroot -prootmysqlpass -e "GRANT ALL PRIVILEGES ON asteriskcdrdb.* TO asteriskuser@localhost IDENTIFIED BY 'pass4astusr'"
mysql -uroot -prootmysqlpass -e "flush privileges;"

cd /usr/src/freepbx
./start_asterisk start
./install_amp --installdb --username=asteriskuser --password=astJku88
amportal chown
amportal a reload
amportal a ma refreshsignatures
amportal chown

now login to the http://yourip

and go update your modules in module admin leave the asterisk modules alone

Posts: 1

Participants: 1

Read full topic

Yealink T-32G won't provision!

$
0
0

@NDSiouxFan wrote:

Running the latest FreePBX x64 v10.13.66-7 and EPM 13.0.19.1. My phones are not grabbing the .cfg file from my server. I did a factory reset on the phones, and I get nothing. I also have T46G phones on my reception desks, and they seem to be provisioning OK. Any ideas would be appreciated.

Posts: 5

Participants: 3

Read full topic

Strange behaviour when being put on hold / forwarded by remote end

$
0
0

@JMickerts wrote:

Hi all,

I have a strange issue, when we do an outgoing call and are being put on hold, it happens almost every time that we hear our own music on hold and the call cannot be removed out of hold from the remote end. Even worse, the voice data is still being transmitted, so the far end can hear us, but not vice-versa.

I hope somebody will come up with an idea how to trace this.

Kind regards,

Jens

Posts: 1

Participants: 1

Read full topic


Wake-up calls do not work properly anymore

$
0
0

@lukeescude wrote:

Hello!

Wake-up calls used to work, but after running distort updates and various things, wake-up calls have been broken.

What can I do?

Posts: 2

Participants: 1

Read full topic

SQL error prevents FreePBX web page loading

$
0
0

@johnprogers wrote:

Hi All
I had to reboot the machine and now when attempting to get to the front end I get a lot of code onscreen. Main window shows PDOException (HY000)
HELP
SQLSTATE[HY000]: General error: 1036 Table 'ampusers' is read only.

How can I fix this?
Screenshot added.

Thanks

Posts: 6

Participants: 2

Read full topic

Illegal string offset 'name' when attempting to install Directory module ver 13.0.10

$
0
0

@morewave_support wrote:

When attempting to install Directory module through Module Admin GUI, receive PHP error:

[Whoops\Exception\ErrorException] Illegal string offset 'name'

Not proficient in PHP, perhaps this is a simple solution (array vs string?). To resolve issue, do I modify line 121 in /­var/­www/­html/­admin/­modules/­directory/­install.php?
Cheers

Posts: 3

Participants: 2

Read full topic

Reg : Elastix freePBX outgoing dial patterns for STD calls - India

$
0
0

@Thyrocare wrote:

I have configured elastix server and added patton trunk in the same , but i have facing issues while dialing to STD numbers , local calling is happening and working properly ,

Kindly suggest to resolve the issues.

Ketan K

Posts: 1

Participants: 1

Read full topic

Set timeout internal call

$
0
0

@topmaverick wrote:

Hello,
I ask information in order to configure the automatic closing of calls after 60 minutes of talk time as users sometimes leave the phone hung up.
Use as elastix distribution, I saw a bit of time-out configurations in the forum but I do not know and I have not figured out how to precisely configure this feature for all calls including those from telephone extensions.

Waiting
greetings and thanks

Posts: 1

Participants: 1

Read full topic

Viewing all 17586 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>