FYI Module Admin Update Fails on Digium Addons

lakecoder

Guru
Joined
Jan 13, 2010
Messages
52
Reaction score
3
wardmundy What would be your recommended way to resolve the critical security issue presented by

digiumaddoninstaller (Cur v. 2.11.0.4) should be upgraded to v. 2.11.0.7 to fix security issues: SEC-2015-002

(the module is already disabled). Just delete the module altogether?
 

RonRussell

Guru
Joined
Mar 22, 2008
Messages
112
Reaction score
4
On Incredible PBX 12.17.1 for CentOS 6
I tried downloading this - http://pbxinaflash.com/community/in...ium_register-3-0-5-1_centos6-x86_64-rpm.1223/ - And it failed with - 403 Forbidden
Tried yum install and got this result -
root@localhost:~ $ yum install -y php-digium_register
Loaded plugins: fastestmirror, presto, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: repos.dfw.quadranet.com
* extras: mirror.symnds.com
* rpmforge: mirror.us.leaseweb.net
* updates: centos.mia.host-engine.com
No package php-digium_register available.
Error: Nothing to do

Anyone else having a problem getting this installed ?
 

RonRussell

Guru
Joined
Mar 22, 2008
Messages
112
Reaction score
4
As an interim solution do the following

1. in /etc/yum.repos.d create digium.repo
2. Add the following code

[digium-11]
name=CentOS-$releasever - Digium 11
baseurl=http://packages.digium.com/centos/$releasever/digium-11/$basearch/
enabled=1
gpgcheck=0
#gpgkey=http://packages.digium.com/RPM-GPG-KEY-Digium

3. save the file

4. yum install -y php-digium_register

5. If it installs change the enabled=1 to enabled=0


Tom
Made this change and it worked -
baseurl=http://packages.digium.com/centos/$releasever/current/$basearch/
 

RonRussell

Guru
Joined
Mar 22, 2008
Messages
112
Reaction score
4
After installing php-digium_register I still get a warning -
This Module Requires The Digium RPM to be installed (php-digium_register-3.0.5-1_centos6.i686.rpm)

I have restarted the server and still get this warning when I select "Admin > Digium Addons" or "Connectivity > Digium Phones > Obtain Register a License
 

RonRussell

Guru
Joined
Mar 22, 2008
Messages
112
Reaction score
4
I'm moving closer and closer to getting the Digium Phones module installed.
Restarting the server resolved the issue in the previous post and allowed me to initiate the add license function but then when I submitted the form it returned this error -
FATAL ERROR

Failed to open file for license. Do you have the right permissions?

Trace Back

/var/www/html/admin/modules/digiumaddoninstaller/functions.inc.php:787 die_freepbx()
[0]: Failed to open file for license. Do you have the right permissions?

/var/www/html/admin/modules/digiumaddoninstaller/functions.inc.php:548 digiumaddons_register->register()
[0]:
[1]: DPMA-5QBXXXXXXXXX
[2]: dpma

/var/www/html/admin/modules/digiumaddoninstaller/functions.inc.php:506 digium_addons->register_register()
[0]:
[1]: DPMA-5QBXXXXXXXXX
[2]: dpma

/var/www/html/admin/modules/digiumaddoninstaller/page.digiumaddons.php:93 digium_addons->register()
[0]: dpma
[1]:
[2]: DPMA-5QBXXXXXXXXX

/var/www/html/admin/config.php:499 include()
[0]: /var/www/html/admin/modules/digiumaddoninstaller/page.digiumaddons.php
 

RonRussell

Guru
Joined
Mar 22, 2008
Messages
112
Reaction score
4
I quickly found some posts regarding the above which lead me to create a missing directory "/var/lib/asterisk/licenses".
This then resolved the 'failed to open file ....' error.
Now when I select Connectivity > Digium Phones I get this error -

A valid license for res_digium_phones.so was not found.
Obtain/register a license.

Looking in the /var/lib/asterisk/licenses directory I see the license file.
Using commands at this link
https://wiki.asterisk.org/wiki/disp...I#DPMAandtheAsteriskCLI-CheckingLicenseStatus
to check the status returns error -
root@localhost:/var/lib/asterisk $ digium_phones license status
-bash: digium_phones: command not found

Is there anyone that has succeeded in getting the Digium Phones module to work on Incredible PBX ?
 

RonRussell

Guru
Joined
Mar 22, 2008
Messages
112
Reaction score
4
Ward, thanks for that reference. In my case it is no help as I am trying to get the Digium Phones module to work with -
Incredible PBX 12.17.1 for Centos 6
Asterisk 11.17.1 Incredible GUI 12.0.29
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,201
Reaction score
5,221
RonRussell Digium Addons module is a train wreck. We can't fix it. You'll need to rework the Asterisk 13 script to get your DPMA registered. Once the AddOns module is removed, the Digium Phones module seems to work... sooner or later. Keep in mind that these phones were designed for Switchvox, not FreePBX. That speaks volumes about the cause of many of these problems.
 

Members online

Forum statistics

Threads
25,812
Messages
167,760
Members
19,240
Latest member
nikko
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top