My observations with multiple installs

Hi,

Firstly, a great effort on a great product. I have found the RC1.1 (and prior) to be clean and well behaved (though I havent done much live testing yet)

I have been getting my procedures ready for upgrading our current trixbox system to the latest freepbx, asterisk, hylafax, phpMyAdmin and iaxmodem. This is what I have noticed.

  1. The echo test feature (*43) seems to have vanished. I’m sure it was in the earlier beta’s

  2. The inbound routes screen has had a description added to it (which was nice), but the panel to the right with the list of routes seems more narrow than it needs to be which causes wrapping even for short descriptions.

  3. Not really important, but it would be nice mainly for testing, to have the ability to disable incoming routes and outbound routes.

  4. The popup hints are great, but sometimes they get in the way when moving the cursor around. It would be nice if you could have a delay (maybe 1 sec) before they popped up.

  5. Installing the phpagi module too early presents an error message saying it needs something installed beforehand. I dont recall exactly what the message was, but it doesn’t help you to find out which module it needs. Perhaps the message is a bit old.

  6. On a wish list, it would be handy to have some extension that was not used by the system, but was used to clone new extensions. That would make it easier to add large numbers of extensions.

I mostly use firefox and don’t seem to be having any problems with the web interface. A few lines overlap at times, but nothing thats a problem. I did notice with an earlier version I needed IE to accept the configuration, but that problem seems to have gone away.

Many thanks for everyone’s work,
Andrew

  1. The echo test feature (*43) seems to have vanished.
    Did u install the info service module??

  2. I had not noticed this

  3. Not really important, but it would be nice mainly for testing, to have the ability to disable incoming routes and outbound routes.
    Testing without routes, what will you be testing???
    I use vitelity’s sub account feature to create testing acccounts

  4. The popup hints are great, …

yes they do get in the way at times

  1. Installing the phpagi module too early…

you need the API for this, install it first.

  1. On a wish list, it would be handy to have some extension that was not used by the system, but was used to clone new extensions. That would make it easier to add large numbers of extensions.

Yes this would be cool.

Hi bubba,

  1. Yes, I did install the service module (actually, I installed all modules except the third party list at the bottom and the zork module). I have installed about 3 times over the last 2 days (I’m testing my install procedure) and it just doesnt seem to be there. Again, not a biggie. I can add it manually into the custom config file.

  2. More so I can disable a route so I can try another route and move between the 2 quickly in a live environment. I wouldnt be looking at disabling all the routes )

  3. ahh… I tried a number of modules and decided just to install all the others I wanted… thanks for that info

thanks for all the feedback.

Echo test IS there, not sure why you are missing it.

The tooltips are a pain. We have discuss many times how to deal with it. It is on the list, unfortunately it is not a simple matter of specifying a delay in the style sheet (or it would have been done a long time ago).

The dependency checking system (for the missing module) is also a pain. We pushed changes to this out of 2.3 because it is actually fairly involved to fix it and we did not want to create instability part way through the beta program. The newest version (not sure if we pushed it out yet) does do one very minor improvement. The message tells you which module is needed based on the module name that is displayed in the Module Admin screen, vs. the cryptic ‘rawname’ that it currently tells you that was not being very helpful. In the future, it will simply add the needed dependencies to the list of modules to install like other package managers would do - and let you know it added it before pressing go.

Hi Philippe,

I’m trying to find out why the echo test (and it looks like all the infoservices) are missing.

If I browse the modules table in MySQL, I can see infoservices there and it’s enabled, but when I browse the featurecodes table, I see a number of codes, but no *43

It looks as though the install.php for infoservices didn’t get completly executed.

I edited the module.xml for infoservices and set canuninstal to yes, uninstalled the module (yes I know it doesnt really uninstall it properly as it’s not meant to be removed). After uninstalling it, I went to the module admin and looked for updates. It reported that infoservices was not installed but available locally, so I reinstalled it.

This time all worked and I now have infoservices in the freepbx feature code admin page and after applying the changes, the echo test and the other infoservices feature codes now work.

I can only think that it must be something to do with the order I have installed my modules, which was

  1. update the core modules and install the phonebook
  2. install all other modules except php-agi and the third party modules
  3. install php-agi

The missing infoservices has been missing on about 3 installs for me now, and I have been using pretty much the exact same procedure to install.

Maybe this provides some helpful info.

Andrew

I’ll have a peek at it but there is no good reason unless a real failure happened that it should not install?

if you can repro the problem on a vmware or something that may help. Also - it is not clear where your starting point is - fresh install or ???

Sorry, I should have said how it was installed.

It was a fresh install of Centos 5 followed up a yum update then installed asterisk and related files, then installed freepbx. I also installed hylafax, iaxmodem and phpmyadmin but that shouldnt have made any difference.

I may be doing a re-install later today so I’ll report if I still get the problem.

In all honesty, its not a serious problem. I can fix it without any real problem. I was posting more in case there were others experiencing the problem. But thanks for looking into it anyway.

Andrew

the way we find problems is people posting or filing tickets. And small problems can be indicative of bigger problems. And since very few people ever post issues (relative to the number of users out there) it is alway important for us to understand if there is an issue.

When you do the install, look closely when running install_amp or better yet capture the whole output. infoservices is packaged with the tarball so if there is an error being reported from it then it should report it at that point.

also - when you start up asterisk before running install_amp, make sure you start it up as asterisk and not root.

I’m guessing I’ve dome something wrong, but I’m sure I’m following the instructions in the INSTALL file. Here is what happens if I try to start asterisk as per the INSTALL file

[[email protected] freepbx-2.3.0rc1]# ./start_asterisk start

STARTING ASTERISK
Asterisk ended with exit status 1
Asterisk died with code 1.
cat /var/run/asterisk.pid No such file or directory
Automatically restarting Asterisk.
mpg123 no process killed
Asterisk ended with exit status 1
Asterisk died with code 1.
cat /var/run/asterisk.pid No such file or directory
Automatically restarting Asterisk.
mpg123 no process killed


Asterisk could not start!
Use ‘tail /full’ to find out why.

[[email protected] freepbx-2.3.0rc1]#

It works with root, but it seems to have a permission issue trying to create /var/run/asterisk.pid

I also noted that in the above message it says to use “tail /full” which was drrived from $ASTLOGDIR which is not defined in the script or in my environment. I couldnt find any relevent log file in /var/lig/asterisk either.

I’ll keep looking

I ended up running asterisk as root as thats all I could get it to run as. The following is the results from install_amp

Checking for PEAR DB…OK
Checking for PEAR ConsoleGetopt…OK
Using username root
Using password *******
Checking user…OK
Checking if Asterisk is running…running with PID 3305…OK
Checking for /etc/amportal.conf…/etc/amportal.conf does not exist, copying default
Creating new /etc/amportal.conf
Enter your USERNAME to connect to the ‘asterisk’ database
[root] Enter your PASSWORD to connect to the ‘asterisk’ database
[lartsek] Enter the hostname of the ‘asterisk’ database
[localhost] Enter a USERNAME to connect to the Asterisk Manager interface
[admin] Enter a PASSWORD to connect to the Asterisk Manager interface
[amp111] Enter the path to use for your AMP web root
[/var/www/html]
Enter the IP ADDRESS or hostname used to access the AMP web-admin
[xx.xx.xx.xx] Enter a PASSWORD to perform call transfers with the Flash Operator Panel
[passw0rd] Use simple Extensions [extensions] admin or separate Devices and Users [deviceanduser]?
[extensions] Enter directory in which to store AMP executable scripts
[/var/lib/asterisk/bin]
Created /var/lib/asterisk/bin
Enter directory in which to store super-user scripts
[/usr/local/sbin]
/etc/amportal.conf writtenAssuming new install, --install-moh added to command line
OK
Reading /etc/amportal.conf…OK
Checking for /etc/asterisk/asterisk.conf…/etc/asterisk/asterisk.conf does not exist, copying default
OK
Reading /etc/asterisk/asterisk.conf…OK
Using asterisk as PBX Engine
Checking for Asterisk version…Checking for selinux…OK
Connecting to database…OK
Checking current version of AMP…2.2.0beta3
Installing new FreePBX files…OK (420 files copied, 0 skipped)
Configuring install for your environment…amportal…freepbx_engine…done
apply username/password changes to conf files…done
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)
OK
Setting permissions on files…OK
Checking for upgrades…5 found
Upgrading to 2.2.0rc2…
-> Running PHP script /usr/src/freepbx-2.3.0rc1/upgrades/2.2.0rc2/fix_logo.php
Upgrading to 2.2.0rc2…OK
Upgrading to 2.2.3…
-> Running PHP script /usr/src/freepbx-2.3.0rc1/upgrades/2.2.3/tables.php
Alter tables sip, iax, zap to increase field length… Altered
Creating module_xml table…Not Required
Adding id to module_xml table…Not Required
Upgrading to 2.2.3…OK
Upgrading to 2.3.0beta1…
-> Running PHP script /usr/src/freepbx-2.3.0rc1/upgrades/2.3.0beta1/tables.php
Upgrading Inbound Routing to allow for Music on Hold per DID…Not Required
Upgrading Inbound Routing to provide a description field…Not Required
Upgrading Inbound Routing to provide a CID Prefix field…Not Required
Upgrading Users/Extension Table to allow for Music on Hold per Direct DID…Not Required
Not Required
Checking for Global var VMX_CONTEXT…Already exists!
Checking for Global var VMX_PRI…Already exists!
Checking for Global var VMX_TIMEDEST_CONTEXT…Already exists!
Checking for Global var VMX_TIMEDEST_EXT…Already exists!
Checking for Global var VMX_TIMEDEST_PRI…Already exists!
Checking for Global var VMX_LOOPDEST_CONTEXT…Already exists!
Checking for Global var VMX_LOOPDEST_EXT…Already exists!
Checking for Global var VMX_LOOPDEST_PRI…Already exists!
Checking for Global var VMX_OPTS_TIMEOUT…Already exists!
Checking for Global var VMX_OPTS_LOOP…Already exists!
Checking for Global var VMX_OPTS_DOVM…Already exists!
Checking for Global var VMX_TIMEOUT…Already exists!
Checking for Global var VMX_REPEAT…Already exists!
Checking for Global var VMX_LOOPS…Already exists!
Checking for Global var TRANSFER_CONTEXT…Already exists!
Alter tables incoming to increase field length… Altered
Merging findmefollow and core extension destinations for incoming routes…Done
-> Running PHP script /usr/src/freepbx-2.3.0rc1/upgrades/2.3.0beta1/core_migrate.php
Renaming core files in /var/lib/asterisk/agi-bin
dialparties.agi…(no action needed)
directory…(no action needed)
enumlookup.agi…(no action needed)
fixlocalprefix…(no action needed)
list-item-remove.php…(no action needed)
recordingcheck…(no action needed)
Finished processing core files from /var/lib/asterisk/agi-bin
Renaming core files in /var/lib/asterisk/bin
fax-process.pl…(no action needed)
Finished processing core files from /var/lib/asterisk/bin
Renaming core files in /etc/asterisk
extensions.conf…(no action needed)
iax.conf…(no action needed)
sip.conf…(no action needed)
Finished processing core files from /etc/asterisk
-> Running PHP script /usr/src/freepbx-2.3.0rc1/upgrades/2.3.0beta1/callback.php
Cleaning up leftover callback script that was distributed in core…
callback…Not Required
Upgrading to 2.3.0beta1…OK
Upgrading to 2.3.0beta2…
-> Running PHP script /usr/src/freepbx-2.3.0rc1/upgrades/2.3.0beta2/tables.php
converting voicemail destinations in core module…Done
converting voicemail destinations in announcement module…no announcement table
converting voicemail destinations in callback module…no callback table
converting voicemail destinations in findmefollow module…no findmefollow table
converting voicemail destinations in miscapp module…no ivr_dests table
converting voicemail destinations in miscapp module…no miscapp table
converting voicemail destinations in queues module…no parkinglot table
converting voicemail destinations in queues module…Done
converting voicemail destinations in ringgroups module…no ringgroups table
converting voicemail destinations in timeconditions module…no timeconditions table
converting voicemail destinations in daynight module…no daynight table
creating notifications table…Done
Upgrading notifications table to add candelete…Not Required
creating cronmanager table…Done
enabling online update checking…Done
Upgrading to 2.3.0beta2…OK
Upgrading to 2.3.0rc1…
-> Running PHP script /usr/src/freepbx-2.3.0rc1/upgrades/2.3.0rc1/tables.php
Checking for Global var ZAPTEL_DELAY…Created
-> Running PHP script /usr/src/freepbx-2.3.0rc1/upgrades/2.3.0rc1/removefiles.php
Cleaning up deprecated or moved files
Checking /var/www/html/recordings/modules/help.module…Not Required
Checking /var/www/html/admin/bounce_op.sh…Not Required
Checking /var/www/html/admin/logout.php…Not Required
Checking /var/www/html/admin/footer.php…Not Required
Checking /var/www/html/admin/images/background-grid.png…Not Required
Checking /var/www/html/admin/images/background-triangle.png…Not Required
Checking /var/www/html/admin/common/jquery.js…Not Required
Checking /var/www/html/admin/common/jquery.tabs.js…Not Required
Checking /var/www/html/admin/common/freepbx.css…Not Required
Checking /var/www/html/admin/common/jquery.interface.js…Not Required
Checking /var/www/html/admin/common/jquery.tabs.css…Not Required
Checking /var/lib/asterisk/bin/retrieve_queues_conf_from_mysql.pl…Not Required
Checking /var/lib/asterisk/bin/retrieve_zap_conf_from_mysql.pl…Not Required
Checking /var/lib/asterisk/bin/retrieve_sip_conf_from_mysql.pl…Not Required
Checking /var/lib/asterisk/bin/retrieve_iax_conf_from_mysql.pl…Not Required
Upgrading to 2.3.0rc1…OK
Checking voicemail… updated to 2.0.3.2
Checking featurecodeadmin… updated to 1.0.5.2
Checking core… updated to 2.3.0rc1.0
Checking music… updated to 1.5.1.4
Checking dashboard… updated to 0.3.2
Checking recordings… updated to 3.3.5.1
Checking infoservices… updated to 1.3.5.1
Checking framework… updated to 2.3.0rc1.0
Generating AMP configs…
Generating Configurations.conf, (if Asterisk is not running, you will get an error
In case of error, start Asterisk and hit the red bar in the GUI to generate the Configuraions.conf files
Generating AMP configs…OK
Restarting Flash Operator Panel…OK
Checking voicemail… installed
Checking featurecodeadmin… installed
Checking core… installed
Checking music… installed
Checking dashboard… installed
Checking recordings… installed
Checking infoservices… installed
Checking framework… enabled
Please update your modules and reload Asterisk by visiting http//10.250.1.11/admin


  • Note It’s possible that if you click the red ‘Update Now’ bar BEFORE *
  • updating your modules, your machine will start dropping calls. Ensure *
  • that all modules are up to date BEFORE YOU CLICK THE RED BAR. As long *
  • as this is observed, your machine will be fully functional whilst the *
  • upgrade is in progress. *

It looks like it installed infoservices (no errors anyway), but if I go into the web interface, all thats in feature code admin is the core entries yet the module administration says there there. No module updates were done using the web interface and the web interface says infoservices are installed and up to date.

Andrew

This was totally unexpected. For whatever reason, after I had added/updated all my usual modules, the infoservices options are there.

I have no idea what was done that was different other than multiple failed attempts to get asterisk to start as user asterisk.

I think I’ll assume I messed up somewhere.

Thanks,
Andrew

after doing the install - did you press the orange bar and then check?