Archivo de trixbox

Continuando con su desarrollo, Fonality ha liberado este martes trixbox CE 2.8.0.1, el primer release de su nueva versión 2.8, luego de unas pocas semanas de haberla lanzado.

La principal novedad de esta versión (2.8) es la incorporación de la última de Asterisk, la 1.6 y la inclusión de DAHDI (Digium Asterisk Hardware Device Interface) para el manejo de tarjetas análogas y digitales de interconexión con la PSTN. A la vez, con esta actualización se ha habilitado el script setup-pstn para que trabaje con Zaptel o DAHDI sin inconvenientes.

Además, recordando que trixbox CE tiene como sistema operativo a CentOS, se ha actualizado su kernel al último disponible, lo que elimina posibles conflictos de instalación en hardware de reciente fabricación y la hace más sencilla.

Esta versión se ha publicado luego de varios meses de expectativa de la comunidad y trabajo por parte de Fonality en corrección de errores y bugs resultando en un producto estable y de adecuado funcionamiento.

El último release (2.8.0.1) incluye DAHDI 2.2, ya no en su versión Beta y mejora la funcionalidad del producto para su implementación en un ambiente de virtualización xen.

Estaremos atentos a las novedades de los nuevos releases de la maquinita verde.

Les dejo el enlace de descarga de trixbox 2.8.0.1

Escrito por: AJ

Recently, I had to setup Cisco 7940G Phones with trixbox 2.6.2.1. trixbox installation was fine, but soon I realized that Cisco Phones didn’t register with my trix.

Now, that I could solve the problem I share with you a few steps to register phones:

  1. Run cisco-setup from trixbox CLI. Select the interface you’re using (e.g. eth0).

  2. Review the firmware version of the phones. In my case, it was ‘P0S3-07-4-00′.

  3. Access /tftpboot and modify file ‘OS79XX.TXT’. It has to say your firmware version. vi OS79XX.TXT

  4. Access /tftpboot/cisco-util and move ‘xmlDefault.CNF.XML’ and ‘XMLDefault.cnf.xml’ to /tftpboot. mv xmlDefault.CNF.XML XMLDefault.cnf.xml /tftpboot

  5. Set all permissions to /tftpboot directory. chmod 777 /tftpboot

  6. In your trixbox go to ‘PBX’ menu, select ‘Endpoint Manager’, ‘Cisco Phones’ and then ‘Edit Default Config’.

  7. Change ‘Image’ item to your firmware version (e.g. ‘P0S3-07-4-00′). If you want you can change the logo your phones display on their LCD. Clic ‘Submit’.

  8. Go to ‘Add phone’ and choose extension, model and enter MAC Address of the phone (you need to know MAC of every phone you want to setup). Clic ‘Submit’. You will see that file SIPMACADDRESS00.cnf was created for your phone in /tftpboot directory.

  9. Finally restart your phone. It will boot with the configuration you select and will be ready to work with your trix.

P.S. Cisco Phones sxxxs

Posted by: AJ

Problem:

When you access trixbox via web as ‘maint’ (http://trixboxip/maint), in System Status tab you get messages like these:

Warning: fwrite(): 68 is not a valid stream resource in /var/www/html/framework/modules/trixbox/libraries/AGI_AsteriskManager.php on line 150

Warning: feof(): 68 is not a valid stream resource in /var/www/html/framework/modules/trixbox/libraries/AGI_AsteriskManager.php on line 171

Warning: fgets(): 68 is not a valid stream resource in /var/www/html/framework/modules/trixbox/libraries/AGI_AsteriskManager.php on line 173

Warning: feof(): 68 is not a valid stream resource in /var/www/html/framework/modules/trixbox/libraries/AGI_AsteriskManager.php on line 171

Solution:

You need to change all ‘ampmgrpass’ values. For this, you need to look for them.

grep amp111 -R /etc/*

grep amp111 -R /var/www/*

These commands return you all files that have ‘amp111′ as ‘ampmgrpass’ value.

You can see and check that files that need to be changed – e.g. using vi – are:

/etc/asterisk/phpagi.conf

/etc/asterisk/manager.conf

/var/www/html/maint/modules/home/includes/asteriskInfo_functions.php

/var/www/html/maint/modules/asterisk_info/asterisk_info.php

/var/www/html/admin/modules/core/agi-bin/user_login_out.agi

Finally you need to restart amportal and it will be done:

amportal restart

If you need to limit the time of calls in your trixbox PBX, you have to modify /etc/asterisk/extesions_additional.conf file. It allows you to manage time of every call in an outbound route.

Go to the block of your selected outbound route, for example [outrt-001-local]. Then, for the dial pattern you want to limit, add a sentence like this at the beginning, to make this instruction the first to be executed;

exten => _NXXXXXX, 1, Set(TIMEOUT(absolute)=600)

Remember that the time is given in seconds; in the example, you would limit the calls to 10 minutes.

I hope it helps you!

Problem:

I received two weeks ago a trixbox Appliance Base with trixbox PRO and I couldn’t install a TDM2404E Digium analog card. Therefore, I decided to install trixbox CE 2.6.0.5; it installed the analog card successfully but my onboard NIC didn’t work.

Solution:

I solved my problems installing latest trixbox CE version (2.6.0.7), running the script ‘/var/trixbox_load/setup-appliance.sh‘ and rebooting the Appliance twice. My onboard NIC and LCD displays were installed correctly!

I hope it helps and works for you.

In order to configure the four-line LCD display of your trixbox Appliance you need to install lcd4linux code.

For that, execute the next line in the system prompt:

yum install lcd4linux

It downloads and installs the package that manages the LCD.

Then, you can change the configuration of what LCD displays rewriting the file /etc/lcd4linux.conf. There you can add or modify text, information or some kind of animations pixel by pixel in the display. It’s so funny, try it! You can customize it to your enterprise…

TB