Cursos Asterisk en México

Problema con DAHDI en FreePBX

Colapsar

Anuncio

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

  • Problema con DAHDI en FreePBX

    Buenas tardes, les comento rapidamente mi problema, tengo un Freepbx instalado a mano (es decir no use el ISO), con asterisk 11, todo funciona perfecto con troncales SIP y las extensiones, sin embargo las llamadas atravez de la tarjeta FXO no me funcionan, la llamada entra y enseguida escucho el mensaje de Good bye, dejo a contuniacion como tengo los archivos

    /etc/dahdi/system.conf
    Código:
    # Autogenerated by /usr/sbin/dahdi_genconf on Fri Apr  6 11:53:35 2018 -- do not hand edit
    # Dahdi Configuration File
    #
    # This file is parsed by the Dahdi Configurator, dahdi_cfg
    #
    # Span 1: WCTDM/0 "Wildcard TDM800P" (MASTER)
    fxsks=1
    echocanceller=mg2,1
    fxsks=2
    echocanceller=mg2,2
    fxsks=3
    echocanceller=mg2,3
    fxsks=4
    echocanceller=mg2,4
    fxsks=5
    echocanceller=mg2,5
    fxsks=6
    echocanceller=mg2,6
    fxsks=7
    echocanceller=mg2,7
    fxsks=8
    echocanceller=mg2,8
    
    # Global data
    
    loadzone        = us
    defaultzone     = us
    etc/asterisk/chan_dahdi.conf
    Código:
     
    ;--------------------------------------------------------------------------------;
    ; Do NOT edit this file as it is auto-generated by FreePBX. All modifications to ;
    ; this file must be done via the web gui. There are alternative files to make    ;
    ; custom modifications, details at: http://freepbx.org/configuration_files       ;
    ;--------------------------------------------------------------------------------;
    ;
    [general]
    context=from-pstn
    language=es
    [trunkgroups]
    ; generated by module
    
    ; for user additions not provided by module
    
    [channels]
    context=from-pstn
    language=es
    busydetect=yes
    busycount=10
    usecallerid=yes
    callwaiting=yes
    usecallingpres=yes
    threewaycalling=yes
    transfer=yes
    cancallforward=yes
    callreturn=yes
    echocancel=yes
    echocancelwhenbridged=no
    echotraining=no
    immediate=no
    faxdetect=no
    rxgain=0.0
    txgain=0.0
    
    #include dahdi-channels.conf
    etc/asterisk/dahdi-channels.conf
    Código:
    ; Autogenerated by /usr/sbin/dahdi_genconf on Fri Apr  6 11:53:35 2018 -- do not hand edit
    ; 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/asterisk/chan_dahdi.conf that will include the global settings
    ;
    
    ; Span 1: WCTDM/0 "Wildcard TDM800P" (MASTER)
    ;;; line="1 WCTDM/0/0"
    signalling=fxs_ks
    callerid=asreceived
    group=0
    context=from-pstn
    channel => 1
    callerid=
    group=
    context=default
    
    ;;; line="2 WCTDM/0/1"
    signalling=fxs_ks
    callerid=asreceived
    group=0
    context=from-pstn
    channel => 2
    callerid=
    group=
    context=default
    
    ;;; line="3 WCTDM/0/2"
    signalling=fxs_ks
    callerid=asreceived
    group=0
    context=from-pstn
    channel => 3
    callerid=
    group=
    context=default
    
    ;;; line="4 WCTDM/0/3"
    signalling=fxs_ks
    callerid=asreceived
    group=0
    context=from-pstn
    channel => 4
    callerid=
    group=
    context=default
    
    ;;; line="5 WCTDM/0/4"
    signalling=fxs_ks
    callerid=asreceived
    group=0
    context=from-pstn
    channel => 5
    callerid=
    group=
    context=default
    
    ;;; line="6 WCTDM/0/5"
    signalling=fxs_ks
    callerid=asreceived
    group=0
    context=from-pstn
    channel => 6
    callerid=
    group=
    context=default
    
    ;;; line="7 WCTDM/0/6"
    signalling=fxs_ks
    callerid=asreceived
    group=0
    context=from-pstn
    channel => 7
    callerid=
    group=
    context=default
    
    ;;; line="8 WCTDM/0/7"
    signalling=fxs_ks
    callerid=asreceived
    group=0
    context=from-pstn
    channel => 8
    callerid=
    group=
    context=default
    aqui viene la parte curiosa, si entro a asterisk, y escribo dahdi show channels, el resultado es este
    Código:
     Chan Extension       Context         Language   MOH Interpret        Blocked    State      Description
     pseudo             default               default                         In Service
          1                 default                    default                         In Service
          2                 default                    default                         In Service
          3                 default                    default                         In Service
          4                 default                    default                         In Service
          5                 default                    default                         In Service
          6                 default                    default                         In Service
          7                 default                    default                         In Service
          8                 default                    default                         In Service
    De donde toma que el contexto es default ? si yo le puse claramente from-pstn, por mas que le busco no doy con el clavo, algo que se me este pasando? gracias!

  • #2
    Hola, a nadie le ha pasado esto? alguien que me tire un cable de por donde debo buscar, me esta volviendo loco jaja

    Comentario

    Principales Usuarios Activos

    Colapsar

    No hay usuarios activos superiores.
    Trabajando...
    X