R1 Telmex no entran las llamdas

Discussion in 'Elastix 2.x' started by PACOI, Dec 6, 2009.

  1. PACOI

    Joined:
    May 5, 2008
    Messages:
    10
    Likes Received:
    0
    Buen dia estoy configurando el E1 con Telmex.

    Anteriormente con las versiones de Elastix que contenian Unicall funcionaba correctamente. Esto con una tarjeta TE110P ademas tiene una X100P

    Ahora deseo probarla con la nueva version de Elastix que maneja dahdi y no me funciona del todo bien, solo puedo sacar llamadas en las llamadas entrantes me mrca siempre ocupado.

    Esta es mi configuracion.

    /etc/dahdi/system.conf
    # Autogenerated by /usr/sbin/dahdi_genconf on Thu Dec 3 21:27:35 2009 -- do not hand edit
    # Dahdi Configuration File
    #
    # This file is parsed by the Dahdi Configurator, dahdi_cfg
    #
    # Span 1: WCT1/0 "Digium Wildcard TE110P T1/E1 Card 0" (MASTER) HDB3/ RED
    span=1,1,0,cas,hdb3
    cas=1-15:1101
    dchan=16
    cas=17-31:1101
    #echocanceller=oslec,1-15,17-31

    # Span 2: WCFXO/0 "Generic Clone Board 1" RED
    fxsks=32
    channels=32
    #echocanceller=oslec,32

    # Global data

    loadzone = mx
    defaultzone = mx

    /etc/asterisk/chan_dahdi.conf

    [trunkgroups]
    [channels]

    language=es
    switchtype=national
    usecallerid=yes
    hidecallerid=no
    callwaiting=yes
    usecallingpres=yes
    callwaitingcallerid=yes
    threewaycalling=yes
    transfer=yes
    cancallforward=yes
    callreturn=yes
    echocancel=yes
    echocancelwhenbridged=no
    rxgain=0.0
    txgain=0.0
    group=0
    callgroup=1
    pickupgroup=1
    immediate=no
    ;MFCR2 settings
    signalling=mfcr2
    mfcr2_variant=ar
    mfcr2_get_ani_first=no
    mfcr2_max_ani=10
    mfcr2_max_dnis=4
    mfcr2_category=national_subscriber
    mfcr2_logdir=span1
    mfcr2_logging=all
    mfcr2_call_files=yes
    mfcr2_metering_pulse_timeout=-1
    context=e1-incoming
    group=0
    callgroup=0
    pickupgroup=0
    channel => 1-15,17-31

    language=es
    context=incoming-e1
    switchtype=national
    signalling=fxs_ks
    rxwink=300
    usecallerid=yes
    hidecallerid=no
    callwaiting=yes
    usecallingpres=yes
    callwaitingcallerid=yes
    threewaycalling=yes
    transfer=yes
    callerid=asreceived

    canpark=yes
    cancallforward=yes
    callreturn=yes
    echocancel=yes
    echocancelwhenbridged=yes
    rxgain=3.0
    txgain=8.0
    group=1
    callgroup=1
    pickupgroup=1
    immediate=no
    busydetect=yes
    busycount=6
    pulsedial=yes
    musiconhold=default
    channel => 32[color=][/color]

    Para recibir los DID tengo lo siguiente
    Y asi sucesivamente
    exten => _9615,3,Hangup()
    exten => _9616,1,Answer()
    exten => _9616,2,Dial(SIP/616,15,tT)
    exten => _9616,3,Hangup()
    exten => _9617,1,Answer()
    exten => _9617,2,Dial(SIP/617,15,tT)
    exten => _9617,3,Hangup()

    Cual podria ser el error

    Esto me envia en los logs del asterisk

    [13:24:16:737] [Thread: 18193296] [Chan 1] - Call started at Sat Dec 5 13:24:16 2009 on chan 1
    [13:24:16:737] [Thread: 18193296] [Chan 1] - CAS Tx >> [SEIZE ACK] 0x0C
    [13:24:16:738] [Thread: 18193296] [Chan 1] - CAS Raw Tx >> 0x0D
    [13:24:16:871] [Thread: 18193296] [Chan 1] - MF Rx << 9 [ON]
    [13:24:16:871] [Thread: 18193296] [Chan 1] - Attempting to cancel timer timer 0
    [13:24:16:871] [Thread: 18193296] [Chan 1] - Cannot cancel timer 0
    [13:24:16:871] [Thread: 18193296] [Chan 1] - Getting DNIS digit 9
    [13:24:16:871] [Thread: 18193296] [Chan 1] - DNIS so far: 9, expected length: 4
    [13:24:16:871] [Thread: 18193296] [Chan 1] - Requesting next DNIS with signal 0x31.
    [13:24:16:871] [Thread: 18193296] [Chan 1] - MF Tx >> 1 [ON]
    [13:24:16:931] [Thread: 18193296] [Chan 1] - MF Rx << 9 [OFF]
    [13:24:16:931] [Thread: 18193296] [Chan 1] - MF Tx >> 1 [OFF]
    [13:24:16:991] [Thread: 18193296] [Chan 1] - MF Rx << 6 [ON]
    [13:24:16:991] [Thread: 18193296] [Chan 1] - Attempting to cancel timer timer 2
    [13:24:16:991] [Thread: 18193296] [Chan 1] - timer id 2 found, cancelling it now
    [13:24:16:991] [Thread: 18193296] [Chan 1] - Getting DNIS digit 6
    [13:24:16:991] [Thread: 18193296] [Chan 1] - DNIS so far: 96, expected length: 4
    [13:24:16:991] [Thread: 18193296] [Chan 1] - Requesting next DNIS with signal 0x31.
    [13:24:16:991] [Thread: 18193296] [Chan 1] - MF Tx >> 1 [ON]
    [13:24:17:051] [Thread: 18193296] [Chan 1] - MF Rx << 6 [OFF]
    [13:24:17:051] [Thread: 18193296] [Chan 1] - MF Tx >> 1 [OFF]
    [13:24:17:131] [Thread: 18193296] [Chan 1] - MF Rx << 6 [ON]
    [13:24:17:131] [Thread: 18193296] [Chan 1] - Attempting to cancel timer timer 3
    [13:24:17:131] [Thread: 18193296] [Chan 1] - timer id 3 found, cancelling it now
    [13:24:17:131] [Thread: 18193296] [Chan 1] - Getting DNIS digit 6
    [13:24:17:131] [Thread: 18193296] [Chan 1] - DNIS so far: 966, expected length: 4
    [13:24:17:131] [Thread: 18193296] [Chan 1] - Requesting next DNIS with signal 0x31.
    [13:24:17:131] [Thread: 18193296] [Chan 1] - MF Tx >> 1 [ON]
    [13:24:17:191] [Thread: 18193296] [Chan 1] - MF Rx << 6 [OFF]
    [13:24:17:191] [Thread: 18193296] [Chan 1] - MF Tx >> 1 [OFF]
    [13:24:17:271] [Thread: 18193296] [Chan 1] - MF Rx << 5 [ON]
    [13:24:17:271] [Thread: 18193296] [Chan 1] - Attempting to cancel timer timer 4
    [13:24:17:271] [Thread: 18193296] [Chan 1] - timer id 4 found, cancelling it now
    [13:24:17:271] [Thread: 18193296] [Chan 1] - Getting DNIS digit 5
    [13:24:17:271] [Thread: 18193296] [Chan 1] - DNIS so far: 9665, expected length: 4
    [13:24:17:271] [Thread: 18193296] [Chan 1] - Done getting DNIS!
    [13:24:17:271] [Thread: 18193296] [Chan 1] - MF Tx >> 5 [ON]
    [13:24:17:331] [Thread: 18193296] [Chan 1] - MF Rx << 5 [OFF]
    [13:24:17:331] [Thread: 18193296] [Chan 1] - MF Tx >> 5 [OFF]
    [13:24:17:409] [Thread: 18193296] [Chan 1] - Bits changed from 0x00 to 0x08
    [13:24:17:409] [Thread: 18193296] [Chan 1] - CAS Rx << [CLEAR FORWARD] 0x08
    [13:24:17:409] [Thread: 18193296] [Chan 1] - Far end disconnected. Reason: Normal Clearing
    [13:24:17:409] [Thread: 18193296] [Chan 1] - Call ended
    [13:24:17:409] [Thread: 18193296] [Chan 1] - Attempting to cancel timer timer 0
    [13:24:17:409] [Thread: 18193296] [Chan 1] - Cannot cancel timer 0

    Espero me ayuden a resolver el problema

    Saludos!!
     
  2. asepulveda

    Joined:
    Jun 23, 2008
    Messages:
    400
    Likes Received:
    0
    puedes poner que tienen tus archivos dahdi_channels.conf y chan_dadhi.conf?
     
  3. PACOI

    Joined:
    May 5, 2008
    Messages:
    10
    Likes Received:
    0
    Buena noche

    Gracias de antemano por la ayuda pero ya resolvi el problema que tenia con las lineas que siempre me marcaban ocupadas

    El problema era en la configuracion de extensions.conf

    El archivo estaba corrupto lo tuve que crear nuevamente

    Y funciono correctamente

    Tanto llamadas de salida como de entrada

    [e1-incoming]

    exten => _9600,1,Wait,1
    exten => _9600,1,Answer
    exten => _9600,n,Playback(bienvenida)
    exten => _9600,n,Wait,1
    exten => _9601,1,Answer()
    exten => _9601,2,Dial(SIP/601,15,tT)
    exten => _9601,3,Hangup()


    Saludos!!!
     

Share This Page