interfaz elastix perdido

Discussion in 'Elastix 2.x' started by wysiwyg, Jul 9, 2010.

  1. wysiwyg

    Joined:
    Jan 13, 2009
    Messages:
    45
    Likes Received:
    0
    Buenas , a raiz de intentar poner en marcha AVANTFAX , ejecutando el siguiente script , segun indicaciones "Elastix a ritmo de merengue", resulta que el interfaz web de elastix hemos perdido el texto de las opciones.... desconocemos a que es debido y aparentemente todo funciono correctamente ya que AVANTFAX se instaló y al menos la web esta operativa, sin embargo estamos gestionando con FREEPBX sin embeber para poder ver el sistema, necesito que alguien me diga como puedo recuperar los textos del interfaz elastix.
    Es urgente.
    Datos de nuestra version instalada:

    Versión Linux:
    GNU bash, version 3.2.25(1)-release (i686-redhat-linux-gnu)
    Version Asterisk:
    Asterisk 1.4.26.1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
    Versión Elastix: 1.6-12
    Freepbx Versión: 2.8

    SCRIPT QUE EJECUTAMOS PARA LA INSTALACION DE AVANTFAX...
    ************************************************************

    #/bin/bash
    # Script to install Avantfax 3.1.6 in Elastix by RamonciO
    # Download and extract Avantfax to /usr/src/
    cd /usr/src
    wget http://downloads.sourceforge.net/source ... -3.1.6.tgz
    tar xfvz avantfax-3.1.6.tgz
    cd avantfax-3.1.6

    # Change preferences to work with Elastix
    mv rh-prefs.txt rh-prefs.txt.`date +%Y-%m-%d-%Hh%Mm`
    echo "FAXDOMAIN=fax.elastix.org" >> rh-prefs.txt
    echo "INSTDIR=/var/www/html/avantfax" >> rh-prefs.txt
    echo "HYLADIR=/usr" >> rh-prefs.txt
    echo "SPOOL=/var/spool/hylafax" >> rh-prefs.txt
    echo "USER=avantfax" >> rh-prefs.txt
    echo "PASS=d58fe49" >> rh-prefs.txt
    echo "DB=avantfax" >> rh-prefs.txt
    echo "ROOTMYSQLPWD=eLaStIx.2oo7" >> rh-prefs.txt
    echo "HTTPDUSER=asterisk" >> rh-prefs.txt
    echo "HTTPDGROUP=asterisk" >> rh-prefs.txt

    # Run the installation scripts
    chmod +x rh-install.sh
    ./rh-install.sh
    chmod +x setup-postfix.sh
    ./setup-postfix.sh

    # Install OCR support
    cd /usr/src
    wget http://tesseract-ocr.googlecode.com/fil ... .03.tar.gz
    tar xfvz tesseract-2.03.tar.gz
    cd tesseract-2.03

    # Download and apply patch in java
    wget http://www.lolacolay.com/ramon/java.patch
    patch java/makefile < java.patch
    ./configure && make
    wget http://tesseract-ocr.googlecode.com/fil ... spa.tar.gz
    wget http://tesseract-ocr.googlecode.com/fil ... eng.tar.gz
    tar xfvz tesseract-2.00.spa.tar.gz
    tar xfvz tesseract-2.00.eng.tar.gz
    make install
    mv /var/www/html/avantfax/includes/local_config.php /var/www/html/avantfax/includes/local_config.php.backup
    sed "s/'ENABLE_OCR_SUPPORT', false/'ENABLE_OCR_SUPPORT', true/g" /var/www/html/avantfax/includes/local_config.php.backup > /var/www/html/avantfax/includes/local_config.php
    rm -rf /var/www/html/avantfax/includes/local_config.php.backup

    # Enable OCR
    mv /var/www/html/avantfax/includes/local_config.php /var/www/html/avantfax/includes/local_config.php.backup.`date +%Y-%m-%d-%Hh%Mm`
    sed "s/false); /true); /g" /var/www/html/avantfax/includes/local_config.php.backup.`date +%Y-%m-%d-%Hh%Mm` > /var/www/html/avantfax/includes/local_config.php
    rm -rf /var/www/html/avantfax/includes/local_config.php.backup.`date +%Y-%m-%d-%Hh%Mm`

    # Change Avantfax and OCR language to Spanish
    mv /var/www/html/avantfax/includes/local_config.php /var/www/html/avantfax/includes/local_config.php.backup.`date +%Y-%m-%d-%Hh%Mm`
    sed "s/eng\"); /spa\"); /g" /var/www/html/avantfax/includes/local_config.php.backup.`date +%Y-%m-%d-%Hh%Mm` > /var/www/html/avantfax/includes/local_config.php
    rm -rf /var/www/html/avantfax/includes/local_config.php.backup.`date +%Y-%m-%d-%Hh%Mm`
    mv /var/www/html/avantfax/includes/local_config.php /var/www/html/avantfax/includes/local_config.php.backup.`date +%Y-%m-%d-%Hh%Mm`
    sed "s/'en';/'es';/g" /var/www/html/avantfax/includes/local_config.php.backup.`date +%Y-%m-%d-%Hh%Mm` > /var/www/html/avantfax/includes/local_config.php

    # Add Elastix menuitem
    last_resource=`sqlite3 /var/www/db/acl.db "select * from acl_resource;" | awk -F "|" '1 { print $1 }' | tail -1` resource_to_use=`expr $last_resource + 1`
    last_permission=`sqlite3 /var/www/db/acl.db "select * from acl_group_permission;" | awk -F "|" '1 { print $1 }' | tail -1`
    group_permission_to_use=`expr $last_permission + 1`
    sqlite3 /var/www/db/menu.db "insert into menu (id,IdPArent,Link,Name,Type) values ('Avantfax','fax','avantfax/','Avantfax','framed');"
    sqlite3 /var/www/db/acl.db "insert into acl_resource (id,name,description) values ('$resource_to_use','Avantfax','Avantfax');"
    sqlite3 /var/www/db/acl.db "insert into acl_group_permission (id,id_action,id_group,id_resource) values ('$group_permission_to_use',1,1,'$resource_to_use');"

    # Add translations to all lang files
    for i in `ls -1 /var/www/html/lang/`; do
    mv /var/www/html/lang/$i /var/www/html/lang/$i.backup
    sed '/^\$arrLang=array/a \"Avantfax\" => \"Avantfax\",' /var/www/html/lang/$i.backup > /var/www/html/lang/
    $i
    done;
    rm -rf /var/www/html/lang/*.backup

    ***********************************************************
    Les ruego que me den un pista o solucion para recuperar el interfaz.
    Agradeciendo vuestra colaboracion
    SAludos.
     
  2. asepulveda

    Joined:
    Jun 23, 2008
    Messages:
    400
    Likes Received:
    0
  3. qvicio

    Joined:
    May 31, 2010
    Messages:
    31
    Likes Received:
    0
    Buenas tardes:

    Tengo una pregunta rapida y sencilla..

    Es posible enviar a traves de AvantFax documentos de word-excel ??? o unicamente permite pdf o tiff ??

    Espero vuestra respuesta.

    Gracias por adelantado.
     
  4. wysiwyg

    Joined:
    Jan 13, 2009
    Messages:
    45
    Likes Received:
    0
    Si acceso tengo tanto al AVANTFAX como al ELASTIX pero lo que pasa es que no se muestran en la pantalla las letras de las opciones... Tengo que entrar en FREEPBX para poder administrar asterisk.

    Saludos.
     

Share This Page