ftocc

undefined function... VERBOSITY??

ricks
Posts: 18
Member Since:
2007-07-05

Hate to start a new post on this but the previous http://trixbox.org/forums/trixbox-forums/help/undefined-offset looked dead.

I just updated tbm-GUIcore via PM and started seeing the undefined offset issues

I followed the two options in the previous post (Above) and it didn't entirely resolve the issue.

First, I created a new asteriskInfo_function.php file from the code provided. It seems the correct info started to appear in the right columb (ActiveChannels AIX SIP etc..) but I still receive undefined offset error at the tome of the home page.

Second I started with the original asteriskInfo_functions file and replaced the four lines suggested (array and string lines). This resolved the undefined offset issue but the Information on SIP?AIX channels is not there only saying 'VERBOSITY'

yum info tbm-GUIcore shows:
2.0.0.1 release 11

Please advise..

P.S. Yes, I have -vvv in my asterisk_safe start file Is this an issue?



kerryg
Posts: 6400
Member Since:
2006-05-31
Its a problem if you added

Its a problem if you added that to your file because the output the code is looking for is going to be different.

--

Kerry Garrison
trixbox Community Director
VoipSpeak.net - Asterisk Tutorials



ricks
Posts: 18
Member Since:
2007-07-05
Almost but not resolved

I took every -v out of the asterisk_safe file which should bring the verbose level to zero.
Restarted amportal.

Going back to the Admin home ther is now some information ender the
System uptime
Active Channels and
Current Registrations which seems to be correct but

SIP PEERS and AIX PEERS is not reporting correctly and most of all I now have reintroduced the undefined offset errors.
Could someone maybe post a working asteriskInfo_functions file or another resolution?

Notice: Undefined offset: 1 in /var/www/html/maint/modules/01_Home/includes/asteriskInfo_functions.php on line 107
Notice: Undefined offset: 0 in /var/www/html/maint/modules/01_Home/includes/asteriskInfo_functions.php on line 116
Notice: Undefined offset: 0 in /var/www/html/maint/modules/01_Home/includes/asteriskInfo_functions.php on line 117
Notice: Undefined offset: 1 in /var/www/html/maint/modules/01_Home/includes/asteriskInfo_functions.php on line 120
Notice: Undefined offset: 0 in /var/www/html/maint/modules/01_Home/includes/asteriskInfo_functions.php on line 125
Notice: Undefined offset: 1 in /var/www/html/maint/modules/01_Home/includes/asteriskInfo_functions.php on line 146
Notice: Undefined offset: 2 in /var/www/html/maint/modules/01_Home/includes/asteriskInfo_functions.php on line 149
Notice: Undefined offset: 4 in /var/www/html/maint/modules/01_Home/includes/asteriskInfo_functions.php on line 150



kerryg
Posts: 6400
Member Since:
2006-05-31
If you have not recompiled

If you have not recompiled Asterisk from source and do a:
yum update asterisk zaptel tbm-GUIcore

This should setup all of the components to work together. The problem is that the code is expecting something different than what it is getting back from Asterisk.

--

Kerry Garrison
trixbox Community Director
VoipSpeak.net - Asterisk Tutorials



ricks
Posts: 18
Member Since:
2007-07-05
Thank you for all that you do--Before I Update

First,
Thanks for everything you do to help us out here in the wild. In honor of that I always try to contribute and help others with what I've learned via this forum.

Before I run the suggested update let me tell you that I have only an SIP trunk with ztdummy and no zaptel devices. No I have not recompiled. (No need)

The box in question started with Trixbox 2.3.0.3
Centos 5
Asterisk 1.4 etc..

Still want me to yum update asterisk zaptel tbm-GUIcore?

Just making sure. Its a production box.



ricks
Posts: 18
Member Since:
2007-07-05
Ran the update with no success

everything is already up to date. Options?

Installed Packages
Name : asterisk
Arch : i386
Version: 1.4.10.1
Release: 3
Size : 37 M
Repo : installed
Installed Packages
Name : tbm-GUIcore
Arch : noarch
Version: 2.0.0.1
Release: 11
Size : 25 M
Repo : installed
Installed Packages
Name : zaptel
Arch : i686
Version: 1.4.4
Release: 3
Size : 1.5 M
Repo : installed



kerryg
Posts: 6400
Member Since:
2006-05-31
Ok, well that explains it.

Ok, well that explains it. You are running early beta code. There was a change with Asterisk that dorked things up for us. More recent versions do not have this issue.

--

Kerry Garrison
trixbox Community Director
VoipSpeak.net - Asterisk Tutorials



ricks
Posts: 18
Member Since:
2007-07-05
Options to move forward

Considering I would like to stay on an Asterisk 1.4 build:

Should I rebuild the box with the latest TB CE 2.40 RC4 ? Is there an upgrade path to that build without wiping the box?

Suggestions ?



kerryg
Posts: 6400
Member Since:
2006-05-31
There is no upgrade path

There is no upgrade path from earlier beta versions. You can do a backup with FreePBX and restore into a clean install of 2.4. From what I see there is only 2 trivial issues with RC4 right now that are in the Asterisk Info module so that is a simple update to tbm-GUICore.

--

Kerry Garrison
trixbox Community Director
VoipSpeak.net - Asterisk Tutorials



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.