Cursos Asterisk en México

Problema Sangoma A104DE

Colapsar

Anuncio

Colapsar
No hay anuncio todavía.
X
 
  • Filtrar
  • Tiempo
  • Mostrar
Limpiar Todo
nuevos mensajes

  • Problema Sangoma A104DE

    Tengo un problema durante la instalacion de una tarjeta sangoma A104DE.
    La instalo completamente, despues de DAHDI.
    Compilo primero los driver de Sangoma.
    Y luego lo instalo de ./Setup dahdi --dahdi-chink=40

    Despues de instalado me aparece el mensaje:
    Al reiniciar wanrouter aparece:

    Starting up device: wanpipe1


    wanconfig: WAN device wanpipe1 driver load failed !!
    : ioctl(wanpipe1,ROUTER_SETUP) failed:
    : 22 - Invalid argument


    Wanpipe driver did not load properly
    Please check /var/log/wanrouter and
    /var/log/messages for errors

    Configuring interfaces: w1g1 w1g1: unknown interface: No such device

    done.

    En Wanrouter aparece:

    Starting up device: wanpipe1
    WAN Router Configurator(c) 1995-2003 Sangoma Technologies Inc.
    * Parsing configuration file /etc/wanpipe/wanpipe1.conf ...
    * Reading section [devices]...
    * Reading section [wanpipe1]...
    * Reading section [interfaces]...
    * w1g1 to used by TDM_VOICE
    * Reading section [w1g1]...
    * Configuring device wanpipe1 (no description)
    * Setting CARD_TYPE to AFT
    * Setting S514CPU to A
    * Setting COMMPORT to PRI
    * Setting AUTO_PCISLOT to NO
    * Setting PCISLOT to 4
    * Setting PCIBUS to 8
    * Setting FE_MEDIA to E1
    * Setting FE_LCODE to HDB3
    * Setting FE_FRAME to NCRC4
    * Setting FE_LINE to 1
    * Setting TE_CLOCK to NORMAL
    * Setting TE_REF_CLOCK to 0
    * Setting TE_SIG_MODE to CCS
    * Setting TE_HIGHIMPEDANCE to NO
    * Setting TE_RX_SLEVEL to 430
    * Setting HW_RJ45_PORT_MAP to DEFAULT
    * Setting LBO to 120OH
    * Setting FE_TXTRISTATE to NO
    * Setting MTU to 1500
    * Setting UDPPORT to 9000
    * Setting TTL to 255 * Setting TE_AIS_MAINTENANCE to NO
    * Setting TDMV_HW_DTMF to YES
    * Setting TDMV_HW_FAX_DETECT to NO
    * Setting HWEC_OPERATION_MODE to OCT_NORMAL
    * Setting HWEC_DTMF_REMOVAL to NO
    * Setting HWEC_NOISE_REDUCTION to NO
    * Setting HWEC_ACUSTIC_ECHO to NO
    * Setting HWEC_NLP_DISABLE to NO
    * Setting HWEC_TX_AUTO_GAIN to 0
    * Setting HWEC_RX_AUTO_GAIN to 0
    * Setting HWEC_TX_GAIN to 0
    * Setting HWEC_RX_GAIN to 0
    * Setting IGNORE_FRONT_END to NO
    * Setting TDMV_SPAN to 1
    * Setting TDMV_DCHAN to 16

    En message aparece:

    2015-08-25T12:17:58.795426-05:00 PBX kernel: [ 6077.005165] WANPIPE(tm) Hardware Support Module 7.0.14.3.0 (c) 1994-2013 Sangoma Technologies Inc
    2015-08-25T12:17:58.795448-05:00 PBX kernel: [ 6077.005697] usbcore: registered new interface driver sdlausb
    2015-08-25T12:17:58.799393-05:00 PBX kernel: [ 6077.010020] WANPIPE(tm) Interface Support Module 7.0.14.3.0 (c) 1994-2013 Sangoma Technologies Inc
    2015-08-25T12:17:58.815433-05:00 PBX kernel: [ 6077.027491] WANPIPE(tm) Multi-Protocol WAN Driver Module 7.0.14.3.0 (c) 1994-2013 Sangoma Technologies Inc
    2015-08-25T12:17:58.815470-05:00 PBX kernel: [ 6077.027506] wanpipe: Probing for WANPIPE hardware.
    2015-08-25T12:17:58.819419-05:00 PBX kernel: [ 6077.031271] wanpipe: AFT-A104-SH PCIe T1/E1 card found (HDLC (DS) rev.45), cpu(s) 1, line(s) 4, bus #8, slot #4, irq #26
    2015-08-25T12:17:58.823384-05:00 PBX kernel: [ 6077.035160] wanpipe: AFT-A104-SH PCIe T1/E1 card found (HDLC (DS) rev.45), cpu(s) 1, line(s) 4, bus #11, slot #4, irq #16
    2015-08-25T12:17:58.823398-05:00 PBX kernel: [ 6077.035196] wanpipe: Allocating maximum 8 devices: wanpipe1 - wanpipe8.
    2015-08-25T12:17:58.823400-05:00 PBX kernel: [ 6077.035669] WANPIPE: TDM Codecs Initialized
    2015-08-25T12:17:58.831404-05:00 PBX kernel: [ 6077.044417] WANPIPE(tm) Socket API Module 7.0.14.3.0 (c) 1994-2013 Sangoma Technologies Inc
    2015-08-25T12:17:58.831417-05:00 PBX kernel: [ 6077.044422] NET: Registered protocol family 25
    2015-08-25T12:17:58.847372-05:00 PBX kernel: [ 6077.058981] WANPIPE(tm) WANEC Layer 7.0.14.3.0 (c) 1995-2006 Sangoma Technologies Inc.
    2015-08-25T12:17:58.847394-05:00 PBX kernel: [ 6077.058987] wanec_create_dev: Registering Wanpipe ECDEV Device!
    2015-08-25T12:17:58.855433-05:00 PBX kernel: [ 6077.067800] wanpipe1: Starting WAN Setup
    2015-08-25T12:17:58.855445-05:00 PBX kernel: [ 6077.067804]
    2015-08-25T12:17:58.855433-05:00 PBX kernel: [ 6077.067800] wanpipe1: Starting WAN Setup
    2015-08-25T12:17:58.855445-05:00 PBX kernel: [ 6077.067804]
    2015-08-25T12:17:58.855447-05:00 PBX kernel: [ 6077.067806] Processing WAN device wanpipe1...
    2015-08-25T12:17:58.855448-05:00 PBX kernel: [ 6077.067811] wanpipe1: Locating: A101/1D/2/2D/4/4D/8/8D/16/16D card, CPU A, PciBus=8, PciSlot=4
    2015-08-25T12:17:58.855449-05:00 PBX kernel: [ 6077.067818] wanpipe1: Found: A101/1D/2/2D/4/4D/8/8D/16/16D card, CPU A, PciBus=8, PciSlot=4, Port=0
    2015-08-25T12:17:58.855450-05:00 PBX kernel: [ 6077.067859] wanpipe1: AFT PCI memory at 0xF7EE0000
    2015-08-25T12:17:58.855451-05:00 PBX kernel: [ 6077.067861] wanpipe1: IRQ 26 allocated to the AFT PCI card
    2015-08-25T12:17:58.855452-05:00 PBX kernel: [ 6077.067886] wanpipe1: Starting AFT 2/4/8 Hardware Init.
    2015-08-25T12:17:58.855452-05:00 PBX kernel: [ 6077.067894] wanpipe1: Enabling front end link monitor
    2015-08-25T12:17:58.855453-05:00 PBX kernel: [ 6077.067897] wanpipe1: Global Chip Configuration: used=1 used_type=1
    2015-08-25T12:17:58.859423-05:00 PBX kernel: [ 6077.071248] wanpipe1: Global E1 Front End configuration
    2015-08-25T12:17:58.859434-05:00 PBX kernel: [ 6077.072314] wanpipe1: AFT Data Mux Bit Map: 0x01234567
    2015-08-25T12:17:58.859435-05:00 PBX kernel: [ 6077.072351] wanpipe1: Configuring DS DS26524 E1 FE
    2015-08-25T12:17:58.859436-05:00 PBX kernel: [ 6077.072353] wanpipe1: Port 1,HDB3,non-CRC4,120OH
    2015-08-25T12:17:58.859438-05:00 PBX kernel: [ 6077.072356] wanpipe1: Clk Normal:0, Channels: FFFFFFFF
    2015-08-25T12:17:58.859439-05:00 PBX kernel: [ 6077.072357] wanpipe1: AIS on LOS: Off (default)
    2015-08-25T12:17:58.859440-05:00 PBX kernel: [ 6077.072359] wanpipe1: Sig Mode CCS
    2015-08-25T12:17:58.867398-05:00 PBX kernel: [ 6077.078805] wanpipe1: Rx Sensitivity Gain 43dB (default).
    2015-08-25T12:17:58.867409-05:00 PBX kernel: [ 6077.078825] wanpipe1: Configurig DS8/4/2/1 for E1 LRISMR=0x33
    2015-08-25T12:17:58.867410-05:00 PBX kernel: [ 6077.079527] wanpipe1: Front end successful
    2015-08-25T12:17:58.867411-05:00 PBX kernel: [ 6077.079537] wanpipe1: Configuring FE Line=1 Clock Source: Line=1 Normal
    2015-08-25T12:17:58.867412-05:00 PBX kernel: [ 6077.079767] wanpipe1: Front End Interface Ready 0x40100000
    2015-08-25T12:17:58.867413-05:00 PBX kernel: [ 6077.079782] wanpipe1: Register EC interface wanec1 (usage 1, max ec chans 128)!
    2015-08-25T12:17:58.867413-05:00 PBX kernel: [ 6077.079799] wanpipe1: Configuring Device :wanpipe1 FrmVr=45
    2015-08-25T12:17:58.867414-05:00 PBX kernel: [ 6077.079800] wanpipe1: Global MTU = 1500
    2015-08-25T12:17:58.867415-05:00 PBX kernel: [ 6077.079802] wanpipe1: Global MRU = 1500
    2015-08-25T12:17:58.867416-05:00 PBX kernel: [ 6077.079803] wanpipe1: Data Mux Map = 0x01234567
    2015-08-25T12:17:58.867417-05:00 PBX kernel: [ 6077.079805] wanpipe1: Rx CRC Bytes = 0
    2015-08-25T12:17:58.867418-05:00 PBX kernel: [ 6077.079806] wanpipe1: RBS Signalling = Off
    2015-08-25T12:17:58.867419-05:00 PBX kernel: [ 6077.079808] wanpipe1: FE Sync = Enabled
    2015-08-25T12:17:58.867419-05:00 PBX kernel: [ 6077.079809] wanpipe1: Global TDM Int = Enabled
    2015-08-25T12:17:58.867420-05:00 PBX kernel: [ 6077.079811] wanpipe1: Global TDM Ring= HW Ring
    2015-08-25T12:17:58.867421-05:00 PBX kernel: [ 6077.079812] wanpipe1: Global SPAN IRQ= RX/TX
    2015-08-25T12:17:58.867422-05:00 PBX kernel: [ 6077.079814] wanpipe1: TDM HW TONE = Enabled
    2015-08-25T12:17:58.867423-05:00 PBX kernel: [ 6077.079818] wanpipe1: Fifo Trigger = rx:50 tx:50 (events per sec)
    2015-08-25T12:17:58.867424-05:00 PBX kernel: [ 6077.079820] wanpipe1: TDMV Span = 1 : Enabled
    2015-08-25T12:17:58.867425-05:00 PBX kernel: [ 6077.079821] wanpipe1: RTP TAP = Disabled
    2015-08-25T12:17:58.867426-05:00 PBX kernel: [ 6077.079895]
    2015-08-25T12:17:58.867427-05:00 PBX kernel: [ 6077.079898] wanpipe1: Error: TDM VOICE prot not compiled
    2015-08-25T12:17:58.867427-05:00 PBX kernel: [ 6077.079899] wanpipe1: during installation process!


    ¿Que me falta o que proceso estoy haciendo mal?

    Gracias
    Saludos

  • #2
    Parece ser que al compilar Wanpipe no se escogió el soporte para voz. Esto normalmente pasa cuando se escoge la opción incorrecta al momento de compilar (hay que irse por la opción de DAHDI support).

    Peeero, dado que invocas con ./Setup dahdi, pareciera que no puede ligar la compilación con los drivers de DAHDI que estén corriendo. Quizá estás compilando Wanpipe contra una versión de DAHDI pero realmente tienes otra instalada en el sistema.

    Mi recomendación sería: quita todos los paquetes de DAHDI que estén instalados con instaladores tipo yum, apt-get o zypper. De ahi, recompila y reinstala DAHDI desde source, y luego recompila Wanpipe. Eso es lo que me ha funcionado en ocasiones anteriores con problemas similares.

    Saludos.
    dCAP Christian Cabrera R.
    Para aprender a usar Asterisk, asiste a uno de mis cursos Asterisk
    Si deseas asesoría pagada, por favor contáctame

    Comentario


    • #3
      Eso era, el sistema viene con una version preinstalada de DAHDI que me estaba causando el conflicto.

      Gracias Christian.

      Comentario

      Principales Usuarios Activos

      Colapsar

      No hay usuarios activos superiores.
      Trabajando...
      X