Cursos Asterisk en México

Elastix con una troncal E1 de Alestra

Colapsar

Anuncio

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

  • Elastix con una troncal E1 de Alestra

    Hola a Todos.

    Estoy configurando un Elastix 2.4, y estoy experimentando un problema con una troncal de Alestra.

    Tengo configurada una tarjeta Sangoma A104DE y en el Span 4 es donde estoy conectando la troncal mfcr2 de Alestra, las llamadas de entrada funcionan sin problema, pero en las llamadas de salida salta el mensaje de que todas los circuitos se encuentran ocupados... Levanté un reporte a Alestra y me comentaron que mi equipo en la señalización de R2 les está enviando una categoría de abonado de operadora (1) en vez de enviar una categoría de usuario normal (2) y es por eso que la central responde con un (4) que es una señal de congestión.

    Analizando en el Elastix la traza de las llamadas que envío por Alestra efectivamente veo que les envío un 1 en la categoría de y la central me regresa un 4

    [18:29:17:117] [Thread: 47590543259968] [Chan 94] - Sending category National Subscriber
    [18:29:17:117] [Thread: 47590543259968] [Chan 94] - MF Tx >> 1 [ON]
    [18:29:17:317] [Thread: 47590543259968] [Chan 94] - MF Rx << 4 [ON]

    Y supongo que esto es por que en el Span 4 de /etc/asterisk/dahdi-channels.conf, tengo mfcr2_category, como national_suscriber. Hice un cambio y lo puse como mfcr2_category=national_priority_suscriber, pero aún así en la traza sigue enviando un 1 a la central y esta responde con un 4.

    Aclaro que después del cambio, reinicié dahdi, wanrouter, asterisk, y como medida extrema, reinicié la caja completa y el problema continua.

    A continuación les comparto lo que tengo configurado referente al E1.

    cat /etc/dahdi/system.conf
    # Autogenerated by /usr/sbin/dahdi_genconf on Mon Oct 13 08:19:12 2014
    # If you edit this file and execute /usr/sbin/dahdi_genconf again,
    # your manual changes will be LOST.
    # Dahdi Configuration File
    #
    # This file is parsed by the Dahdi Configurator, dahdi_cfg
    #
    # Span 1: WPE1/0 "wanpipe1 card 0" (MASTER) RED
    span=1,1,0,cas,hdb3
    echocanceller=wanpipe_hwec - inactive,1-31
    # termtype: te
    cas=1-15:1101
    cas=17-31:1101
    hardhdlc=16

    # Span 2: WPT1/1 "wanpipe2 card 1"
    span=2,2,0,cas,hdb3
    echocanceller=wanpipe_hwec - inactive,32-62
    # termtype: te
    cas=32-46:1101
    cas=48-62:1101
    hardhdlc=47

    # Span 3: WPT1/2 "wanpipe3 card 2"
    span=3,3,0,cas,hdb3
    echocanceller=wanpipe_hwec - inactive,63-93
    # termtype: te
    cas=63-77:1101
    cas=79-93:1101
    hardhdlc=78

    # Span 4: WPT1/3 "wanpipe4 card 3"
    span=4,4,0,cas,hdb3
    echocanceller=wanpipe_hwec - inactive,94-124
    # termtype: te
    cas=94-108:1101
    cas=110-124:1101
    hardhdlc=109

    # Global data

    loadzone = mx
    defaultzone = mx




    cat /etc/asterisk/chan_dahdi.conf
    ; Auto-generated by /usr/sbin/hardware_detector
    [trunkgroups]

    [channels]
    context=from-pstn
    signalling=fxs_ks
    rxwink=300 ; Atlas seems to use long (250ms) winks
    usecallerid=yes
    hidecallerid=no
    callwaiting=yes
    usecallingpres=yes
    callwaitingcallerid=yes
    threewaycalling=yes
    transfer=yes
    canpark=yes
    cancallforward=yes
    callreturn=yes
    echocancel=yes
    echocancelwhenbridged=no
    faxdetect=incoming
    echotraining=800
    rxgain=0.0
    txgain=0.0
    callgroup=1
    pickupgroup=1
    relaxdtmf=yes

    ;Uncomment these lines if you have problems with the disconection of your analog lines
    ;busydetect=yes
    ;busycount=3


    immediate=no


    #include dahdi-channels.conf
    #include chan_dahdi_additional.conf





    cat /etc/asterisk/dahdi-channels.conf
    ; Autogenerated by /usr/sbin/dahdi_genconf on Mon Oct 13 08:19:12 2014
    ; If you edit this file and execute /usr/sbin/dahdi_genconf again,
    ; your manual changes will be LOST.
    ; Dahdi Channels Configurations (chan_dahdi.conf)
    ;
    ; This is not intended to be a complete chan_dahdi.conf. Rather, it is intended
    ; to be #include-d by /etc/chan_dahdi.conf that will include the global settings
    ;

    ; Span 1: WPE1/0 "wanpipe1 card 0" (MASTER) RED
    group=0
    signalling=mfcr2
    mfcr2_variant=mx
    mfcr2_get_ani_first=no
    mfcr2_max_ani=10
    mfcr2_max_dnis=4
    mfcr2_category=national_subscriber
    mfcr2_mfback_timout=-1
    mfcr2_metering_pulse_timout=-1
    mfcr2_forced_release=no
    context=from-pstn
    channel => 1-15,17-31

    ; Span 2: WPT1/1 "wanpipe2 card 1"
    group=0
    signalling=mfcr2
    mfcr2_variant=mx
    mfcr2_get_ani_first=no
    mfcr2_max_ani=10
    mfcr2_max_dnis=4
    mfcr2_category=national_subscriber
    mfcr2_mfback_timout=-1
    mfcr2_metering_pulse_timout=-1
    mfcr2_forced_release=no
    context=from-pstn
    channel => 32-46,48-62

    ; Span 3: WPT1/2 "wanpipe3 card 2"
    group=1
    signalling=mfcr2
    mfcr2_variant=mx
    mfcr2_get_ani_first=no
    mfcr2_max_ani=10
    mfcr2_max_dnis=4
    mfcr2_category=national_subscriber
    mfcr2_mfback_timout=-1
    mfcr2_metering_pulse_timout=-1
    mfcr2_forced_release=no
    context=from-pstn
    channel => 63-77,79-93

    ; Span 4: WPT1/3 "wanpipe4 card 3"
    group=2
    signalling=mfcr2
    mfcr2_logdir = span44
    mfcr2_variant=mx
    mfcr2_get_ani_first=no
    mfcr2_max_ani=10
    mfcr2_max_dnis=4
    mfcr2_category=national_priority_suscriber
    mfcr2_call_files=yes
    mfcr2_logging=all
    mfcr2_mfback_timout=-1
    mfcr2_metering_pulse_timout=-1
    mfcr2_forced_release=no
    context=from-pstn
    channel => 94-108,110-124



    Esta es la configuración del wanpipe del span4:

    cat /etc/wanpipe/wanpipe4.conf
    #================================================
    # WANPIPE1 Configuration File
    #================================================
    #
    # Date: Wed Dec 6 20:29:03 UTC 2006
    #
    # Note: This file was generated automatically
    # by /usr/local/sbin/setup-sangoma program.
    #
    # If you want to edit this file, it is
    # recommended that you use wancfg program
    # to do so.
    #================================================
    # Sangoma Technologies Inc.
    #================================================

    [devices]
    wanpipe4 = WAN_AFT_TE1, Comment

    [interfaces]
    w4g1 = wanpipe4, , TDM_VOICE, Comment

    [wanpipe4]
    CARD_TYPE = AFT
    S514CPU = A
    CommPort = PRI
    AUTO_PCISLOT = NO
    PCISLOT = 4
    PCIBUS = 9
    FE_MEDIA = E1
    FE_LCODE = HDB3
    FE_FRAME = NCRC4
    FE_LINE = 4
    TE_CLOCK = NORMAL
    TE_REF_CLOCK = 0
    TE_SIG_MODE = CAS
    TE_HIGHIMPEDANCE = NO
    TE_RX_SLEVEL = 120
    HW_RJ45_PORT_MAP = DEFAULT
    LBO = 120OH
    FE_TXTRISTATE = NO
    MTU = 1500
    UDPPORT = 9000
    TTL = 255
    IGNORE_FRONT_END = NO
    TDMV_SPAN = 4
    TDMV_DCHAN = 0
    TE_AIS_MAINTENANCE = NO #NO: defualt YES: Start port in AIS Blue Alarm and keep line down
    #wanpipemon -i w1g1 -c Ttx_ais_off to disable AIS maintenance mode
    #wanpipemon -i w1g1 -c Ttx_ais_on to enable AIS maintenance mode
    TDMV_HW_DTMF = YES # YES: receive dtmf events from hardware
    TDMV_HW_FAX_DETECT = YES # YES: receive fax 1100hz events from hardware
    HWEC_OPERATION_MODE = OCT_NORMAL # OCT_NORMAL: echo cancelation enabled with nlp (default)
    # OCT_SPEECH: improves software tone detection by disabling NLP (echo possible)
    # OCT_NO_ECHO:disables echo cancelation but allows VQE/tone functions.
    HWEC_DTMF_REMOVAL = NO # NO: default YES: remove dtmf out of incoming media (must have hwdtmf enabled)
    HWEC_NOISE_REDUCTION = NO # NO: default YES: reduces noise on the line - could break fax
    HWEC_ACUSTIC_ECHO = NO # NO: default YES: enables acustic echo cancelation
    HWEC_NLP_DISABLE = NO # NO: default YES: guarantees software tone detection (possible echo)
    HWEC_TX_AUTO_GAIN = 0 # 0: disable -40-0: default tx audio level to be maintained (-20 default)
    HWEC_RX_AUTO_GAIN = 0 # 0: disable -40-0: default tx audio level to be maintained (-20 default)
    HWEC_TX_GAIN = 0 # 0: disable -24-24: db values to be applied to tx signal
    HWEC_RX_GAIN = 0 # 0: disable -24-24: db values to be applied to tx signal

    [w4g1]
    ACTIVE_CH = ALL
    TDMV_HWEC = YES
    MTU = 8




    De antemano, muchas gracias por el apoyo.

    Saludos

  • #2
    Envío también la traza R2 de la última llamada

    cat /var/log/asterisk/mfcr2/span44/chan-94-forward-1-20141015182915.call
    [18:29:15:557] [Thread: 47590543259968] [Chan 94] - Call started at Wed Oct 15 18:29:15 2014 on chan 94 [openr2 version 1.3.3, revision (release)]
    [18:29:15:557] [Thread: 47590543259968] [Chan 94] - Outgoing call proceeding: ANI=3810, DNIS=88885324, Category=National Subscriber
    [18:29:15:557] [Thread: 47590543259968] [Chan 94] - CAS Tx >> [SEIZE] 0x00
    [18:29:15:557] [Thread: 47590543259968] [Chan 94] - CAS Raw Tx >> 0x01
    [18:29:15:557] [Thread: 47590543259968] [Chan 94] - scheduled timer id 2 (r2_seize)
    [18:29:15:608] [Thread: 47590543259968] [Chan 94] - Bits changed from 0x08 to 0x0C
    [18:29:15:608] [Thread: 47590543259968] [Chan 94] - CAS Rx << [SEIZE ACK] 0x0C
    [18:29:15:608] [Thread: 47590543259968] [Chan 94] - Attempting to cancel timer timer 2
    [18:29:15:608] [Thread: 47590543259968] [Chan 94] - timer id 2 found, cancelling it now
    [18:29:15:608] [Thread: 47590543259968] [Chan 94] - MFC/R2 call acknowledge!
    [18:29:15:608] [Thread: 47590543259968] [Chan 94] - Sending DNIS digit 8
    [18:29:15:608] [Thread: 47590543259968] [Chan 94] - MF Tx >> 8 [ON]
    [18:29:15:697] [Thread: 47590543259968] [Chan 94] - MF Rx << 1 [ON]
    [18:29:15:697] [Thread: 47590543259968] [Chan 94] - Attempting to cancel timer timer 0
    [18:29:15:697] [Thread: 47590543259968] [Chan 94] - Cannot cancel timer 0
    [18:29:15:697] [Thread: 47590543259968] [Chan 94] - MF Tx >> 8 [OFF]
    [18:29:15:757] [Thread: 47590543259968] [Chan 94] - MF Rx << 1 [OFF]
    [18:29:15:757] [Thread: 47590543259968] [Chan 94] - Sending DNIS digit 8
    [18:29:15:757] [Thread: 47590543259968] [Chan 94] - MF Tx >> 8 [ON]
    [18:29:15:757] [Thread: 47590543259968] [Chan 94] - Group A DNIS request handled
    [18:29:15:857] [Thread: 47590543259968] [Chan 94] - MF Rx << 1 [ON]
    [18:29:15:857] [Thread: 47590543259968] [Chan 94] - Attempting to cancel timer timer 0
    [18:29:15:857] [Thread: 47590543259968] [Chan 94] - Cannot cancel timer 0
    [18:29:15:857] [Thread: 47590543259968] [Chan 94] - MF Tx >> 8 [OFF]
    [18:29:15:917] [Thread: 47590543259968] [Chan 94] - MF Rx << 1 [OFF]
    [18:29:15:917] [Thread: 47590543259968] [Chan 94] - Sending DNIS digit 8
    [18:29:15:917] [Thread: 47590543259968] [Chan 94] - MF Tx >> 8 [ON]
    [18:29:15:917] [Thread: 47590543259968] [Chan 94] - Group A DNIS request handled
    [18:29:16:017] [Thread: 47590543259968] [Chan 94] - MF Rx << 1 [ON]
    [18:29:16:017] [Thread: 47590543259968] [Chan 94] - Attempting to cancel timer timer 0
    [18:29:16:017] [Thread: 47590543259968] [Chan 94] - Cannot cancel timer 0
    [18:29:16:017] [Thread: 47590543259968] [Chan 94] - MF Tx >> 8 [OFF]
    [18:29:16:097] [Thread: 47590543259968] [Chan 94] - MF Rx << 1 [OFF]
    [18:29:16:097] [Thread: 47590543259968] [Chan 94] - Sending DNIS digit 8
    [18:29:16:097] [Thread: 47590543259968] [Chan 94] - MF Tx >> 8 [ON]
    [18:29:16:097] [Thread: 47590543259968] [Chan 94] - Group A DNIS request handled
    [18:29:16:197] [Thread: 47590543259968] [Chan 94] - MF Rx << 1 [ON]
    [18:29:16:197] [Thread: 47590543259968] [Chan 94] - Attempting to cancel timer timer 0
    [18:29:16:197] [Thread: 47590543259968] [Chan 94] - Cannot cancel timer 0
    [18:29:16:197] [Thread: 47590543259968] [Chan 94] - MF Tx >> 8 [OFF]
    [18:29:16:277] [Thread: 47590543259968] [Chan 94] - MF Rx << 1 [OFF]
    [18:29:16:277] [Thread: 47590543259968] [Chan 94] - Sending DNIS digit 5
    [18:29:16:277] [Thread: 47590543259968] [Chan 94] - MF Tx >> 5 [ON]
    [18:29:16:277] [Thread: 47590543259968] [Chan 94] - Group A DNIS request handled
    [18:29:16:397] [Thread: 47590543259968] [Chan 94] - MF Rx << 1 [ON]
    [18:29:16:397] [Thread: 47590543259968] [Chan 94] - Attempting to cancel timer timer 0
    [18:29:16:397] [Thread: 47590543259968] [Chan 94] - Cannot cancel timer 0
    [18:29:16:397] [Thread: 47590543259968] [Chan 94] - MF Tx >> 5 [OFF]
    [18:29:16:477] [Thread: 47590543259968] [Chan 94] - MF Rx << 1 [OFF]
    [18:29:16:477] [Thread: 47590543259968] [Chan 94] - Sending DNIS digit 3
    [18:29:16:477] [Thread: 47590543259968] [Chan 94] - MF Tx >> 3 [ON]
    [18:29:16:477] [Thread: 47590543259968] [Chan 94] - Group A DNIS request handled
    [18:29:16:577] [Thread: 47590543259968] [Chan 94] - MF Rx << 1 [ON]
    [18:29:16:577] [Thread: 47590543259968] [Chan 94] - Attempting to cancel timer timer 0
    [18:29:16:577] [Thread: 47590543259968] [Chan 94] - Cannot cancel timer 0
    [18:29:16:577] [Thread: 47590543259968] [Chan 94] - MF Tx >> 3 [OFF]
    [18:29:16:657] [Thread: 47590543259968] [Chan 94] - MF Rx << 1 [OFF]
    [18:29:16:657] [Thread: 47590543259968] [Chan 94] - Sending DNIS digit 2
    [18:29:16:657] [Thread: 47590543259968] [Chan 94] - MF Tx >> 2 [ON]
    [18:29:16:657] [Thread: 47590543259968] [Chan 94] - Group A DNIS request handled
    [18:29:16:757] [Thread: 47590543259968] [Chan 94] - MF Rx << 1 [ON]
    [18:29:16:757] [Thread: 47590543259968] [Chan 94] - Attempting to cancel timer timer 0
    [18:29:16:757] [Thread: 47590543259968] [Chan 94] - Cannot cancel timer 0
    [18:29:16:757] [Thread: 47590543259968] [Chan 94] - MF Tx >> 2 [OFF]
    [18:29:16:817] [Thread: 47590543259968] [Chan 94] - MF Rx << 1 [OFF]
    [18:29:16:817] [Thread: 47590543259968] [Chan 94] - Sending DNIS digit 4
    [18:29:16:817] [Thread: 47590543259968] [Chan 94] - MF Tx >> 4 [ON]
    [18:29:16:817] [Thread: 47590543259968] [Chan 94] - Group A DNIS request handled
    [18:29:17:057] [Thread: 47590543259968] [Chan 94] - MF Rx << 3 [ON]
    [18:29:17:057] [Thread: 47590543259968] [Chan 94] - Attempting to cancel timer timer 0
    [18:29:17:057] [Thread: 47590543259968] [Chan 94] - Cannot cancel timer 0
    [18:29:17:057] [Thread: 47590543259968] [Chan 94] - MF Tx >> 4 [OFF]
    [18:29:17:117] [Thread: 47590543259968] [Chan 94] - MF Rx << 3 [OFF]
    [18:29:17:117] [Thread: 47590543259968] [Chan 94] - Sending category National Subscriber
    [18:29:17:117] [Thread: 47590543259968] [Chan 94] - MF Tx >> 1 [ON]
    [18:29:17:317] [Thread: 47590543259968] [Chan 94] - MF Rx << 4 [ON]
    [18:29:17:317] [Thread: 47590543259968] [Chan 94] - Attempting to cancel timer timer 0
    [18:29:17:317] [Thread: 47590543259968] [Chan 94] - Cannot cancel timer 0
    [18:29:17:317] [Thread: 47590543259968] [Chan 94] - MF Tx >> 1 [OFF]
    [18:29:17:457] [Thread: 47590543259968] [Chan 94] - MF Rx << 4 [OFF]
    [18:29:17:457] [Thread: 47590543259968] [Chan 94] - Far end disconnected. Reason: Network Congestion
    [18:29:17:457] [Thread: 47590543259968] [Chan 94] - Attempting to cancel timer timer 0
    [18:29:17:457] [Thread: 47590543259968] [Chan 94] - Cannot cancel timer 0
    [18:29:17:457] [Thread: 47590543259968] [Chan 94] - CAS Tx >> [CLEAR FORWARD] 0x08
    [18:29:17:457] [Thread: 47590543259968] [Chan 94] - CAS Raw Tx >> 0x09
    [18:29:17:519] [Thread: 47590464420160] [Chan 94] - Bits changed from 0x0C to 0x08
    [18:29:17:519] [Thread: 47590464420160] [Chan 94] - CAS Rx << [IDLE] 0x08
    [18:29:17:519] [Thread: 47590464420160] [Chan 94] - Call ended
    [18:29:17:519] [Thread: 47590464420160] [Chan 94] - Attempting to cancel timer timer 0
    [18:29:17:519] [Thread: 47590464420160] [Chan 94] - Cannot cancel timer 0

    Comentario

    Principales Usuarios Activos

    Colapsar

    No hay usuarios activos superiores.
    Trabajando...
    X