Cursos Asterisk en México

[RESUELTO] Elastix Problema Tarjeta digiumTDM410

Colapsar

Anuncio

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

  • [RESUELTO] Elastix Problema Tarjeta digiumTDM410

    Hola a todos, ojala me pueda ayudar, tengo una tarjeta intalada TDM410 con 2 FXO y dos FXS en los dos FXO estoy conectadno dos troncales analogas, una con un numero de mi provedor de Telefonia (Telmex 7773185334) y el otro es una extension del conmutador (109) y cuando quiero usar las dos conectadas en el elastix en los puertos FXO no puedo llamar al conmutador pero si puedo hacer llamadas a la calle y cuando desconecto la linea de telmex con la uqe salgo con llamadas a la calle ya puedo llamar a las extensiones del conmutador desde un telefono firmado en elastix, me podrian ayudar
    saludos.,

  • #2
    Hola puedes proveernos de la configuración de tus troncales(Chan_dahdi.conf y dahdi-channels.conf, system.conf), la salida de lsdahdi desde la consola de linux y después la salida del cli de asterisk cuando intentas llamar y falla.

    Comentario


    • #3
      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

      ____________________________________
      dahdi-channels.conf


      ; Autogenerated by /usr/sbin/dahdi_genconf on Wed Jan 23 15:14:34 2013
      ; 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: WCTDM/0 "Wildcard TDM410P Board 1" (MASTER)
      ;;; line="1 WCTDM/0/0 FXSKS"
      signalling=fxs_ks
      callerid=asreceived
      group=0
      context=from-pstn
      channel => 1
      callerid=
      group=
      context=default

      ;;; line="2 WCTDM/0/1 FXSKS"
      signalling=fxs_ks
      callerid=asreceived
      group=0
      context=from-pstn
      channel => 2
      callerid=
      group=
      context=default

      ;;; line="3 WCTDM/0/2 FXOKS"
      signalling=fxo_ks
      callerid="Channel 3" <4003>
      mailbox=4003
      group=5
      context=from-internal
      channel => 3
      callerid=
      mailbox=
      group=
      context=default

      ;;; line="4 WCTDM/0/3 FXOKS"
      signalling=fxo_ks
      callerid="Channel 4" <4004>
      mailbox=4004
      group=5
      context=from-internal
      channel => 4
      callerid=
      mailbox=
      group=
      context=default


      ------------------

      system.conf

      # Autogenerated by /usr/sbin/dahdi_genconf on Wed Jan 23 15:14:34 2013
      # 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: WCTDM/0 "Wildcard TDM410P Board 1" (MASTER)
      fxsks=1
      echocanceller=oslec,1
      fxsks=2
      echocanceller=oslec,2
      fxoks=3
      echocanceller=oslec,3
      fxoks=4
      echocanceller=oslec,4

      # Global data

      loadzone = us
      defaultzone = us
      -----------
      lsdahdi

      ### Span 1: WCTDM/0 "Wildcard TDM410P Board 1" (MASTER)
      1 FXO FXSKS (In use) (SWEC: OSLEC)
      2 FXO FXSKS (In use) (SWEC: OSLEC)
      3 FXS FXOKS (In use) (SWEC: OSLEC)
      4 FXS FXOKS (In use) (SWEC: OSLEC)

      Comentario


      • #4
        log de cuando se hace la llamada a la extension

        bell*CLI>
        == Using SIP RTP TOS bits 184
        == Using SIP RTP CoS mark 5
        -- Executing [421@from-internal:1] Macro("SIP/6504-00000008", "user-callerid,SKIPTTL,") in new stack
        -- Executing [s@macro-user-callerid:1] Set("SIP/6504-00000008", "AMPUSER=6504") in new stack
        -- Executing [s@macro-user-callerid:2] GotoIf("SIP/6504-00000008", "0?report") in new stack
        -- Executing [s@macro-user-callerid:3] ExecIf("SIP/6504-00000008", "1?Set(REALCALLERIDNUM=6504)") in new stack
        -- Executing [s@macro-user-callerid:4] Set("SIP/6504-00000008", "AMPUSER=6504") in new stack
        -- Executing [s@macro-user-callerid:5] Set("SIP/6504-00000008", "AMPUSERCIDNAME=Mario SSM") in new stack
        -- Executing [s@macro-user-callerid:6] GotoIf("SIP/6504-00000008", "0?report") in new stack
        -- Executing [s@macro-user-callerid:7] Set("SIP/6504-00000008", "AMPUSERCID=6504") in new stack
        -- Executing [s@macro-user-callerid:8] Set("SIP/6504-00000008", "CALLERID(all)="Mario SSM" <6504>") in new stack
        -- Executing [s@macro-user-callerid:9] ExecIf("SIP/6504-00000008", "0?Set(CHANNEL(language)=)") in new stack
        -- Executing [s@macro-user-callerid:10] GotoIf("SIP/6504-00000008", "1?continue") in new stack
        -- Goto (macro-user-callerid,s,19)
        -- Executing [s@macro-user-callerid:19] Set("SIP/6504-00000008", "CALLERID(number)=6504") in new stack
        -- Executing [s@macro-user-callerid:20] Set("SIP/6504-00000008", "CALLERID(name)=Mario SSM") in new stack
        -- Executing [s@macro-user-callerid:21] NoOp("SIP/6504-00000008", "Using CallerID "Mario SSM" <6504>") in new stack
        -- Executing [421@from-internal:2] NoOp("SIP/6504-00000008", "Calling Out Route: LINEAS_ANALOGICAS") in new stack
        -- Executing [421@from-internal:3] Set("SIP/6504-00000008", "MOHCLASS=default") in new stack
        -- Executing [421@from-internal:4] Set("SIP/6504-00000008", "_NODEST=") in new stack
        -- Executing [421@from-internal:5] Macro("SIP/6504-00000008", "record-enable,6504,OUT,") in new stack
        -- Executing [s@macro-record-enable:1] GotoIf("SIP/6504-00000008", "1?check") in new stack
        -- Goto (macro-record-enable,s,4)
        -- Executing [s@macro-record-enable:4] ExecIf("SIP/6504-00000008", "0?MacroExit()") in new stack
        -- Executing [s@macro-record-enable:5] GotoIf("SIP/6504-00000008", "0?Group:OUT") in new stack
        -- Goto (macro-record-enable,s,15)
        -- Executing [s@macro-record-enable:15] GotoIf("SIP/6504-00000008", "0?IN") in new stack
        -- Executing [s@macro-record-enable:16] ExecIf("SIP/6504-00000008", "1?MacroExit()") in new stack
        -- Executing [421@from-internal:6] Macro("SIP/6504-00000008", "dialout-trunk,1,421,") in new stack
        -- Executing [s@macro-dialout-trunk:1] Set("SIP/6504-00000008", "DIAL_TRUNK=1") in new stack
        -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/6504-00000008", "0?sub-pincheck,s,1") in new stack
        -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/6504-00000008", "0?disabletrunk,1") in new stack
        -- Executing [s@macro-dialout-trunk:4] Set("SIP/6504-00000008", "DIAL_NUMBER=421") in new stack
        -- Executing [s@macro-dialout-trunk:5] Set("SIP/6504-00000008", "DIAL_TRUNK_OPTIONS=tr") in new stack
        -- Executing [s@macro-dialout-trunk:6] Set("SIP/6504-00000008", "OUTBOUND_GROUP=OUT_1") in new stack
        -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/6504-00000008", "1?nomax") in new stack
        -- Goto (macro-dialout-trunk,s,9)
        -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/6504-00000008", "0?skipoutcid") in new stack
        -- Executing [s@macro-dialout-trunk:10] Set("SIP/6504-00000008", "DIAL_TRUNK_OPTIONS=") in new stack
        -- Executing [s@macro-dialout-trunk:11] Macro("SIP/6504-00000008", "outbound-callerid,1") in new stack
        -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/6504-00000008", "0?Set(CALLERPRES()=)") in new stack
        -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/6504-00000008", "0?Set(REALCALLERIDNUM=6504)") in new stack
        -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/6504-00000008", "1?normcid") in new stack
        -- Goto (macro-outbound-callerid,s,6)
        -- Executing [s@macro-outbound-callerid:6] Set("SIP/6504-00000008", "USEROUTCID=") in new stack
        -- Executing [s@macro-outbound-callerid:7] Set("SIP/6504-00000008", "EMERGENCYCID=") in new stack
        -- Executing [s@macro-outbound-callerid:8] Set("SIP/6504-00000008", "TRUNKOUTCID=") in new stack
        -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/6504-00000008", "1?trunkcid") in new stack
        -- Goto (macro-outbound-callerid,s,12)
        -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/6504-00000008", "0?Set(CALLERID(all)=)") in new stack
        -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/6504-00000008", "0?Set(CALLERID(all)=)") in new stack
        -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/6504-00000008", "0?Set(CALLERID(all)=)") in new stack
        -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/6504-00000008", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
        -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/6504-00000008", "0?sub-flp-1,s,1") in new stack
        -- Executing [s@macro-dialout-trunk:13] Set("SIP/6504-00000008", "OUTNUM=421") in new stack
        -- Executing [s@macro-dialout-trunk:14] Set("SIP/6504-00000008", "custom=DAHDI/g0") in new stack
        -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/6504-00000008", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)) ") in new stack
        -- Executing [s@macro-dialout-trunk:16] Macro("SIP/6504-00000008", "dialout-trunk-predial-hook,") in new stack
        -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/6504-00000008", "") in new stack
        -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/6504-00000008", "0?bypass,1") in new stack
        -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/6504-00000008", "0?customtrunk") in new stack
        -- Executing [s@macro-dialout-trunk:19] Dial("SIP/6504-00000008", "DAHDI/g0/421,300,") in new stack
        -- Called DAHDI/g0/421
        -- DAHDI/1-1 answered SIP/6504-00000008
        -- Executing [h@macro-dialout-trunk:1] Macro("SIP/6504-00000008", "hangupcall,") in new stack
        -- Executing [s@macro-hangupcall:1] GotoIf("SIP/6504-00000008", "1?endmixmoncheck") in new stack
        -- Goto (macro-hangupcall,s,9)
        -- Executing [s@macro-hangupcall:9] NoOp("SIP/6504-00000008", "End of MIXMON check") in new stack
        -- Executing [s@macro-hangupcall:10] GotoIf("SIP/6504-00000008", "1?nomeetmemon") in new stack
        -- Goto (macro-hangupcall,s,15)
        -- Executing [s@macro-hangupcall:15] NoOp("SIP/6504-00000008", "MEETME_RECORDINGFILE=") in new stack
        -- Executing [s@macro-hangupcall:16] GotoIf("SIP/6504-00000008", "1?noautomon") in new stack
        -- Goto (macro-hangupcall,s,18)
        -- Executing [s@macro-hangupcall:18] NoOp("SIP/6504-00000008", "TOUCH_MONITOR_OUTPUT=") in new stack
        -- Executing [s@macro-hangupcall:19] GotoIf("SIP/6504-00000008", "1?noautomon2") in new stack
        -- Goto (macro-hangupcall,s,25)
        -- Executing [s@macro-hangupcall:25] NoOp("SIP/6504-00000008", "MONITOR_FILENAME=") in new stack
        -- Executing [s@macro-hangupcall:26] GotoIf("SIP/6504-00000008", "1?skiprg") in new stack
        -- Goto (macro-hangupcall,s,29)
        -- Executing [s@macro-hangupcall:29] GotoIf("SIP/6504-00000008", "1?skipblkvm") in new stack
        -- Goto (macro-hangupcall,s,32)
        -- Executing [s@macro-hangupcall:32] GotoIf("SIP/6504-00000008", "1?theend") in new stack
        -- Goto (macro-hangupcall,s,34)
        -- Executing [s@macro-hangupcall:34] Hangup("SIP/6504-00000008", "") in new stack
        == Spawn extension (macro-hangupcall, s, 34) exited non-zero on 'SIP/6504-00000008' in macro 'hangupcall'
        == Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/6504-00000008'
        -- Hanging up on 'DAHDI/1-1'
        -- Hungup 'DAHDI/1-1'
        == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'SIP/6504-00000008' in macro 'dialout-trunk'
        == Spawn extension (from-internal, 421, 6) exited non-zero on 'SIP/6504-00000008'
        bell*CLI>

        Comentario


        • #5
          Hola según entiendo tienes en tus FXO la linea de la PSTN y una otro PBX? Si es así ambos los tienes en el Grupo 0, es probable que se estén turnando y por ello no puedas sacar las llamadas.

          En el cli se ve que se abre la comunicación con el fxo. Podrías cambiarlos de grupo e intentar de nuevo o hacer explicito el uso del canal para salir a la calle y para el otro PBX.

          Comentario


          • #6
            ok, primero que nada te agardezco que te tomes la molestia en contestarme, al cambiar de grupo los fxo te refieres a que cada uno lo ponga en un grupo y despues hacer las rutas salientes o los dos fxo solamente cambiarlos a otro grupo, entiendo que cuando los cambias los dos pueden pertenecer a un grupo o ambos de manera individual, cual seria turecomendacion

            Comentario


            • #7
              Originalmente publicado por mariomtz Ver Mensaje
              ok, primero que nada te agardezco que te tomes la molestia en contestarme, al cambiar de grupo los fxo te refieres a que cada uno lo ponga en un grupo y despues hacer las rutas salientes o los dos fxo solamente cambiarlos a otro grupo, entiendo que cuando los cambias los dos pueden pertenecer a un grupo o ambos de manera individual, cual seria turecomendacion
              Otra cosa
              Gracias por contestar tengo algo curioso en este caso, tengo instalada la tarjeta con los puertos fx0 puerto de la tarjeta 1 y 2 y puertos 3 y 4 con fxs en el ´puerto fxo 1 tengo una linea del conmutador 109 y en el puerto fxo 2 tengo una linea de telmex, en los fxs no tengo nada conectado y ya re9nstale elastix y en la configuracion de dahdi-channels.conf me aparece esto

              ; Autogenerated by /usr/sbin/dahdi_genconf on Tue Jan 29 15:28:57 2013
              ; 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: WCTDM/0 "Wildcard TDM410P" (MASTER)
              ;;; line="1 WCTDM/0/0 FXSKS (EC: VPMOCT032 - INACTIVE)"
              signalling=fxs_ks
              callerid=asreceived
              group=0
              context=from-pstn
              channel => 1
              callerid=
              group=
              context=default

              ;;; line="2 WCTDM/0/1 FXSKS (EC: VPMOCT032 - INACTIVE)"
              signalling=fxs_ks
              callerid=asreceived
              group=0
              context=from-pstn
              channel => 2
              callerid=
              group=
              context=default

              ;;; line="3 WCTDM/0/2 FXOKS (EC: VPMOCT032 - INACTIVE)"
              signalling=fxo_ks
              callerid="Channel 3" <4003>
              mailbox=4003
              group=5
              context=from-internal
              channel => 3
              callerid=
              mailbox=
              group=
              context=default

              ;;; line="4 WCTDM/0/3 FXOKS (EC: VPMOCT032 - INACTIVE)"
              signalling=fxo_ks
              callerid="Channel 4" <4004>
              mailbox=4004
              group=5
              context=from-internal
              channel => 4
              callerid=
              mailbox=
              group=
              context=default


              en esta configuracion veo que el uno y dos me los esta detectando como fxs y en el canal 3 y 4 como fxo y en realidad es al reves que estara pasando

              esta es la salida de 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


              y esta es la salida de system.conf

              # Autogenerated by /usr/sbin/dahdi_genconf on Tue Jan 29 15:28:57 2013
              # 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: WCTDM/0 "Wildcard TDM410P" (MASTER)
              fxsks=1
              echocanceller=oslec,1
              fxsks=2
              echocanceller=oslec,2
              fxoks=3
              echocanceller=oslec,3
              fxoks=4
              echocanceller=oslec,4

              # Global data

              loadzone = us
              defaultzone = us


              shoiw dahdi channels


              bell*CLI> dahdi show channels
              Chan Extension Context Language MOH Interpret Blocked State
              pseudo default default In Service
              1 from-pstn default In Service
              2 from-pstn default In Service
              3 from-internal default In Service
              4 from-internal default In Service

              podrian ayudarme porque segun entiendo en FXO debi conectar la linea de mi conmutador asi como mi linea de telmex segun yo entiendo es en puerto uno y dos pero porque me los detecta en channel 3 y 4 ayudenme

              Comentario


              • #8
                Gracias a todos por su valioso apoyo, ya quedo solucionado, era mas que nada falta de lectura sobre puertos FXS y FXO, Muchisimas Gracias a todos los que me apoyaron
                Saludos.

                Comentario

                Principales Usuarios Activos

                Colapsar

                No hay usuarios activos superiores.
                Trabajando...
                X