1.87.210.57 Beta Release Versions

That is because php5.3 requires things for timezones to be set a certain way. Are you using FreePBX 2.9 or 2.10 as we made a change to bootstrap in FreePBX 2.10 to set the timezone.

You should see this in your /var/www/html/admin/bootstrap.php file.

It should be about 20 lines or so down. Do you see this.

//enable error reporting and start benchmarking
error_reporting(E_ALL & ~E_STRICT);
date_default_timezone_set(@date_default_timezone_get());
function microtime_float() { list($usec,$sec) = explode(’ ',microtime()); return ((float)$usec+(float)$sec); }
$benchmark_starttime = microtime_float();

Well I installed Distro 1.87.210.57-3 x64 so it was FreePBX 2.10 from the get go.

I have that section of code present, however the following line is missing:
date_default_timezone_set(@date_default_timezone_get());

On installation I selected America/Edmonton as my timezone.

I added the missing line, did not correct the issue.

Also, when running amportal restart or start I receive the following messages:

[[email protected] ~]# amportal start

Please wait…

SETTING FILE PERMISSIONS
chown: cannot access `/var/www/html/_asterisk’: No such file or directory
Permissions OK

STARTING ASTERISK
Asterisk Started

STARTING FOP SERVER
/etc/amportal.conf: line 604: reg: command not found
FOP Server Started

Keeping in mind this is a fresh load that I hasn’t been compromised in any way.

I am having this same issue with the new beta install. Did you get your working? my error is like this:

[2012-01-05 05:50:29] NOTICE[3065]: chan_sip.c:24331 handle_request_register: Registration from ‘"2856"sip:[email protected]:5060’ failed for ‘172.16.32.1:45993’ - No matching peer found
[2012-01-05 05:50:29] NOTICE[3065]: chan_sip.c:24331 handle_request_register: Registration from ‘"2856"sip:[email protected]:5060’ failed for ‘172.16.32.1:45993’ - No matching peer found
VOIP*CLI>

Looks like a bug in the FOP module. Go to module admin and disable FOP Framework module.

When I tried running the 1.88.210.57-1 upgrade on my 64 bit beta system, I ran into a couple of problems.

  1. After altering the yum repos, I am unable to resolve any of the repos when using the mirrorlist option alone. I ended up having to uncomment the baseurl= line to get them to resolve. At the command line, I ran:

dig @208.67.222.222 mirrorlist.freepbxdistro.org

It returned what appears to be the proper IP of the mirrorlist server: 199.102.239.6. If I type ‘http://mirrorlist.freepbxdistro.org/?release=5.7&arch=x86_64&repo=addons’ in my own browser, it returns the correct result of ‘http://yum.freepbxdistro.org/centos/5.7/addons/x86_64/’.

  1. After commenting out the ‘mirrorlist=’ line and uncommenting the ‘baseurl=’ line, I am still unable to complete the upgrade script correctly. It appears that there are a couple of dependencies for Asterisk 1.8.8 that yum is unable to resolve. They are:

libspeex
libspeexdsp

I am fairly certain that libspeex could be resolved with the speex.x86_64 package in the freepbxdistro.org’s repo for CentOS 5.7, but I don’t think that will resolve the libspeexdsp dependency. After a little googling, it seems there is a speexdsp package for CentOS 6.1 and 6.2, but obviously I am not running that.

Anyway, any thoughts on the reasons for the failure? Prior to running the upgrade script, I was running the 1.87.210.57-3 version of the 64 bit FreePBX Distro beta. Thanks!

What exact packages does it say is missing as I just updated fine and did not fail any dependencies.

It appears to be able to resolve the libspeex dependency with the package ‘speex.x86_64’. However, it is unable to find a package to resolve the libspeexdsp dependency. Here is the output where the failure occurs:

Checking to see if we need to Update asterisk18-1.8.8.0-1
updating asterisk18-1.8.8.0-1
Loaded plugins: fastestmirror, kmod
Determining fastest mirrors
addons | 951 B 00:00
addons/primary | 204 B 00:00
base | 2.1 kB 00:00
base/primary_db | 2.1 MB 00:06
extras | 2.1 kB 00:00
extras/primary_db | 243 kB 00:00
pbx | 951 B 00:00
pbx/primary | 44 kB 00:00
pbx 162/162
updates | 1.9 kB 00:00
updates/primary_db | 1.1 MB 00:03
Setting up Update Process
Resolving Dependencies
–> Running transaction check
—> Package asterisk18.x86_64 0:1.8.8.0-1_centos5 set to be updated
—> Package asterisk18-addons.x86_64 0:1.8.8.0-1_centos5 set to be updated
—> Package asterisk18-addons-bluetooth.x86_64 0:1.8.8.0-1_centos5 set to be updated
—> Package asterisk18-addons-core.x86_64 0:1.8.8.0-1_centos5 set to be updated
—> Package asterisk18-addons-mysql.x86_64 0:1.8.8.0-1_centos5 set to be updated
—> Package asterisk18-addons-ooh323.x86_64 0:1.8.8.0-1_centos5 set to be updated
—> Package asterisk18-core.x86_64 0:1.8.8.0-1_centos5 set to be updated
–> Processing Dependency: libspeex.so.1()(64bit) for package: asterisk18-core
–> Processing Dependency: libspeexdsp.so.1()(64bit) for package: asterisk18-core
—> Package asterisk18-curl.x86_64 0:1.8.8.0-1_centos5 set to be updated
—> Package asterisk18-dahdi.x86_64 0:1.8.8.0-1_centos5 set to be updated
—> Package asterisk18-doc.x86_64 0:1.8.8.0-1_centos5 set to be updated
—> Package asterisk18-voicemail.x86_64 0:1.8.8.0-1_centos5 set to be updated
–> Running transaction check
—> Package asterisk18-core.x86_64 0:1.8.8.0-1_centos5 set to be updated
–> Processing Dependency: libspeexdsp.so.1()(64bit) for package: asterisk18-core
—> Package speex.x86_64 0:1.0.5-4.el5_1.1 set to be updated
–> Finished Dependency Resolution
asterisk18-core-1.8.8.0-1_centos5.x86_64 from pbx has depsolving problems
–> Missing Dependency: libspeexdsp.so.1()(64bit) is needed by package asterisk18-core-1.8.8.0-1_centos5.x86_64 (pbx)
Error: Missing Dependency: libspeexdsp.so.1()(64bit) is needed by package asterisk18-core-1.8.8.0-1_centos5.x86_64 (pbx)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.

SCRIPT—FAILED ON STAGE 2–Failed to verify asterisk18-1.8.8.0-1 RPM was installed

Moving to Next Step

Upgrade all Centos 5.7 RPMS
Loaded plugins: fastestmirror, kmod
Loading mirror speeds from cached hostfile
Setting up Update Process
Resolving Dependencies
–> Running transaction check
—> Package asterisk18.x86_64 0:1.8.8.0-1_centos5 set to be updated
—> Package asterisk18-addons.x86_64 0:1.8.8.0-1_centos5 set to be updated
—> Package asterisk18-addons-bluetooth.x86_64 0:1.8.8.0-1_centos5 set to be updated
—> Package asterisk18-addons-core.x86_64 0:1.8.8.0-1_centos5 set to be updated
—> Package asterisk18-addons-mysql.x86_64 0:1.8.8.0-1_centos5 set to be updated
—> Package asterisk18-addons-ooh323.x86_64 0:1.8.8.0-1_centos5 set to be updated
—> Package asterisk18-core.x86_64 0:1.8.8.0-1_centos5 set to be updated
–> Processing Dependency: libspeex.so.1()(64bit) for package: asterisk18-core
–> Processing Dependency: libspeexdsp.so.1()(64bit) for package: asterisk18-core
—> Package asterisk18-curl.x86_64 0:1.8.8.0-1_centos5 set to be updated
—> Package asterisk18-dahdi.x86_64 0:1.8.8.0-1_centos5 set to be updated
—> Package asterisk18-doc.x86_64 0:1.8.8.0-1_centos5 set to be updated
—> Package asterisk18-voicemail.x86_64 0:1.8.8.0-1_centos5 set to be updated
—> Package iSymphonyServer-fpbx.noarch 0:2.4.0_2876-1 set to be updated
–> Running transaction check
—> Package asterisk18-core.x86_64 0:1.8.8.0-1_centos5 set to be updated
–> Processing Dependency: libspeexdsp.so.1()(64bit) for package: asterisk18-core
—> Package speex.x86_64 0:1.0.5-4.el5_1.1 set to be updated
–> Finished Dependency Resolution
asterisk18-core-1.8.8.0-1_centos5.x86_64 from pbx has depsolving problems
–> Missing Dependency: libspeexdsp.so.1()(64bit) is needed by package asterisk18-core-1.8.8.0-1_centos5.x86_64 (pbx)
Error: Missing Dependency: libspeexdsp.so.1()(64bit) is needed by package asterisk18-core-1.8.8.0-1_centos5.x86_64 (pbx)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
Loaded plugins: fastestmirror, kmod
Cleaning up Everything
Cleaning up list of fastest mirrors

Moving to Next Step

Try now. I would download the latest upgrade script and run it. I made a slight change for yum

I re-downloaded the updated script and ran it on the 64 bit beta machine. Everything went smoothly, no errors, dependencies resolved without a problem and the mirrorlists seemed to resolve without having to manually adjust the script to use the ‘baseurl=’ line.

Thank you very much!

You are welcome

I tried doing the 2.10 Upgrade Tool from the Module Admin page with my FreePBX 2.9.0.9 installed from the ISO. Afterward it kept telling me I needed to upgrade to PHP 5.3 but I was never able to do that. I found some instructions on the upgrade but they never worked. I’d always end up with the same error saying I needed to upgrade.

I ended up blowing up the system and starting over.

Well I’m finally back online again but I’m a bit concerned about attempting the Upgrade Tool again given what happened the last time. Has anything changed in the upgrade tool that will install 5.3 currently? I don’t want to lose another week if it fails again.

Use the upgrade scripts for the Distro.

http://www.freepbx.org/forum/freepbx-distro/distro-discussion-help/release-versions

Tony

Are there any guidelines on to which way to upgrade? It seems a bit confusing to sometimes have to use the scripts and other times you use the GUI.

Use the scripts for the Distro Update. Module admin should only be used to update modules within the same version of FreePBX. The Distro updates all the core systems of the PBX.

Any future plans for betas?

As in Asterisk 10.X or even Asterisk 1.8.9.X or 1.8.10.X (When its out ofc) ?

Thanks,

We have Asterisk 1.8.9 RPMs done and have for a few days. The biggest hold out on the next beta is trying to move to dahdi 2.6 from the 2.5.1 we are on and waiting for Sangoma to get support for wanpipe and dahdi 2.6. Once that is done we will roll the next Beta.

We will be holding off on Asterisk 10 since FreePBX GUI has not done any testing with 2.10 yet.

Hi Tony - How about voicetime UT50 support? Or is that type of device no longer beneficial with the newer kernel?

No its still highly recommended even with new kernels. The issue is Sangoma has not combined that into wanpipe yet so we are at their mercy.

Hi,

I noticed you pushed some new updates at your Repo. Should I update (with yum update?

Thank you