Cursos Asterisk en México

Problema Unable to create channel of type 'DAHDI' (cause 34 - Circuit/channel congest

Colapsar

Anuncio

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

  • Problema Unable to create channel of type 'DAHDI' (cause 34 - Circuit/channel congest

    Hola, como es un error diferente, abro este hilo, aunque va relacionado con el anterior http://asteriskmx.com/foros/showthre...hlight=sangoma

    He podido dar solución a ese error, ahora, sucede lo siguiente cuando intento hacer una llamada..

    -- Executing [92682486@grupo1:1] Dial("SIP/111111-00000084", "DAHDI/g0/2682486") in new stack
    [Jan 21 15:51:46] WARNING[15023]: app_dial.c:1310 dial_exec_full: Unable to create channel of type 'DAHDI' (cause 0 - Unknown)
    == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing [92682486@grupo1:2] Dial("SIP/111111-00000084", "DAHDI/g1/2682486") in new stack
    [Jan 21 15:51:46] WARNING[15023]: app_dial.c:1310 dial_exec_full: Unable to create channel of type 'DAHDI' (cause 34 - Circuit/channel congestion)
    == Everyone is busy/congested at this time (1:0/1/0)
    -- Executing [92682486@grupo1:3] Hangup("SIP/111111-00000084", "") in new stack
    == Spawn extension (grupo1, 92682486, 3) exited non-zero on 'SIP/111111-00000084'
    ¿ Podrían colaborarme?

    Muchas gracias!

  • #2
    Según eso, no tienes canales o no tienes los grupos declarados.

    ¿Qué tienes en tu chan_dahdi.conf y en tu dahdi-channels.conf?
    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
      En /etc/asterisk/chan_dahdi.conf tengo:

      ;autogenerated by /usr/sbin/wancfg_dahdi do not hand edit
      ;autogenrated on 2013-01-21
      ;Dahdi Channels Configurations
      ;For detailed Dahdi options, view /etc/asterisk/chan_dahdi.conf.bak

      [trunkgroups]

      [channels]
      context=default
      usecallerid=yes
      hidecallerid=no
      callwaiting=yes
      usecallingpres=yes
      callwaitingcallerid=yes
      threewaycalling=yes
      transfer=yes
      canpark=yes
      cancallforward=yes
      callreturn=yes
      ;echocancel=no
      echocancelwhenbridged=yes
      relaxdtmf=yes
      rxgain=0.0
      txgain=0.0
      group=1
      callgroup=1
      pickupgroup=1
      immediate=no

      ;Sangoma A101 port 1 [slot:4 bus:12 span:1] <wanpipe1>
      ;switchtype=national
      context=from-pstn
      group=1
      ;echocancel=no
      signalling=pri_cpe
      channel =>1-15
      channel =>17-31
      y en /etc/asterisk/dahdi-channels.conf tengo

      ; Autogenerated by /usr/sbin/dahdi_genconf on Mon Jan 21 13:51:26 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: WPE1/0 "wanpipe1 card 0" (MASTER) AMI/
      group=0,11
      context=from-pstn
      switchtype = euroisdn
      signalling = pri_cpe
      channel => 1-15,17-31
      context = default
      group = 63

      Comentario


      • #4
        Ese parece ser el problema: no tienes ninguna configuración válida en tus canales (tienes la misma configuración equivocada para ISDN que tenías antes en tu system.conf).


        Cambia el bloque en el chan_dahdi.conf que dice esto:
        Código:
        ;Sangoma A101 port 1 [slot:4 bus:12 span:1] <wanpipe1>
        ;switchtype=national
        context=from-pstn
        group=1
        ;echocancel=no
        signalling=pri_cpe
        channel =>1-15
        channel =>17-31
        Por esto:

        Código:
        signalling=mfcr2
        mfcr2_variant=ar
        mfcr2_get_ani_first=no
        mfcr2_max_ani=10
        mfcr2_max_dnis=4
        mfcr2_category=national_subscriber
        mfcr2_mfback_timeout=-1
        mfcr2_metering_pulse_timeout=-1
        mfcr2_forced_relaase=no
        ; this is for debugging purposes
        mfcr2_logdir=log
        mfcr2_logging=all
        group=1
        channel =>1-15,17-31
        Nunca he configurado para la variante argentina, pero al menos de entrada no debe ser tan diferente que la mexicana, al menos con que especifiques ar debe ser un buen primer paso.

        Reinicia Asterisk e intenta de nuevo llamar a traves de g1.

        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


        • #5
          Hola,

          Al intentar recargar el Dahdi dentro del asterisk con esta configuración me aparecen los siguientes errores:

          [Jan 21 16:41:52] ERROR[17561]: chan_dahdi.c:12818 process_dahdi: Unknown signalling method 'mfcr2'
          [Jan 21 16:41:52] ERROR[17561]: chan_dahdi.c:8218 mkintf: Signalling requested on channel 1 is Unknown signalling -1 but line is in ISDN PRI signalling
          [Jan 21 16:41:52] ERROR[17561]: chan_dahdi.c:12450 build_channels: Unable to register channel '1-15,17-31'
          [Jan 21 16:41:52] WARNING[17561]: chan_dahdi.c:11658 dahdi_restart: Reload channels from dahdi config failed!

          Comentario


          • #6
            No tienes la libreria OpenR2 instalada, empezando por allí. Hay muchos tutoriales en linea que puedes seguir para esta configuración: https://www.google.com.mx/search?q=c...hrome&ie=UTF-8

            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


            • #7
              Hola,

              Muchas gracias por la información, me he demorado un poco porque he tenido que re compilar casi todo lo que tenia ya instalado, he aplicado la configuración que me recomendaste y esto es lo que sucede ahora cuando intento realizar la llamada (Aun no puedo sacar llamadas)...

              -- Executing [92682486@grupo1:1] Dial("SIP/111111-08be6488", "DAHDI/g0/2682486") in new stack
              [Jan 21 21:07:41] WARNING[1754]: app_dial.c:1242 dial_exec_full: Unable to create channel of type 'DAHDI' (cause 0 - Unknown)
              == Everyone is busy/congested at this time (1:0/0/1)
              -- Executing [92682486@grupo1:2] Dial("SIP/111111-08be6488", "DAHDI/g1/2682486") in new stack
              -- Called g1/2682486
              [Jan 21 21:07:43] NOTICE[1754]: chan_dahdi.c:1212 dahdi_r2_write_log: Chan 1 - Far end disconnected. Reason: Network Congestion
              [Jan 21 21:07:43] NOTICE[1754]: chan_dahdi.c:1169 dahdi_r2_on_call_disconnect: MFC/R2 call disconnected on chan 1
              -- DAHDI/1-1 is circuit-busy
              -- Hungup 'DAHDI/1-1'
              == Everyone is busy/congested at this time (1:0/1/0)
              -- Executing [92682486@grupo1:3] Hangup("SIP/111111-08be6488", "") in new stack
              == Spawn extension (grupo1, 92682486, 3) exited non-zero on 'SIP/111111-08be6488'
              [Jan 21 21:07:44] NOTICE[1744]: chan_dahdi.c:1080 dahdi_r2_on_call_end: MFC/R2 call end on chan 1
              Este es el resultado de un par de diagnósticos:

              Telefonia*CLI> dahdi show status
              Description Alarms IRQ bpviol CRC4
              wanpipe1 card 0 OK 0 0 0
              Telefonia*CLI> dahdi show channels
              Chan Extension Context Language MOH Interpret
              pseudo default default
              1 default default
              2 default default
              3 default default
              4 default default
              5 default default
              6 default default
              7 default default
              8 default default
              9 default default
              10 default default
              11 default default
              12 default default
              13 default default
              14 default default
              15 default default
              17 default default
              18 default default
              19 default default
              20 default default
              21 default default
              22 default default
              23 default default
              24 default default
              25 default default
              26 default default
              27 default default
              28 default default
              29 default default
              30 default default
              31 default default

              Telefonia*CLI> module reload chan_dahdi.so
              -- Reloading module 'chan_dahdi.so' (DAHDI Telephony)
              == Parsing '/etc/asterisk/chan_dahdi.conf': Found
              [Jan 21 21:24:29] WARNING[2113]: chan_dahdi.c:12860 process_dahdi: Ignoring signalling
              [Jan 21 21:24:29] WARNING[2113]: chan_dahdi.c:12860 process_dahdi: Ignoring mfcr2_variant
              [Jan 21 21:24:29] WARNING[2113]: chan_dahdi.c:12860 process_dahdi: Ignoring mfcr2_get_ani_first
              [Jan 21 21:24:29] WARNING[2113]: chan_dahdi.c:12860 process_dahdi: Ignoring mfcr2_max_ani
              [Jan 21 21:24:29] WARNING[2113]: chan_dahdi.c:12860 process_dahdi: Ignoring mfcr2_max_dnis
              [Jan 21 21:24:29] WARNING[2113]: chan_dahdi.c:12860 process_dahdi: Ignoring mfcr2_category
              [Jan 21 21:24:29] WARNING[2113]: chan_dahdi.c:12860 process_dahdi: Ignoring mfcr2_mfback_timeout
              [Jan 21 21:24:29] WARNING[2113]: chan_dahdi.c:12860 process_dahdi: Ignoring mfcr2_metering_pulse_timeout
              [Jan 21 21:24:29] WARNING[2113]: chan_dahdi.c:12860 process_dahdi: Ignoring mfcr2_forced_relaase
              [Jan 21 21:24:29] WARNING[2113]: chan_dahdi.c:12860 process_dahdi: Ignoring mfcr2_logdir
              [Jan 21 21:24:29] WARNING[2113]: chan_dahdi.c:12860 process_dahdi: Ignoring mfcr2_logging
              -- Reconfigured channel 1, MFC/R2 signalling
              -- Reconfigured channel 2, MFC/R2 signalling
              -- Reconfigured channel 3, MFC/R2 signalling
              -- Reconfigured channel 4, MFC/R2 signalling
              -- Reconfigured channel 5, MFC/R2 signalling
              -- Reconfigured channel 6, MFC/R2 signalling
              -- Reconfigured channel 7, MFC/R2 signalling
              -- Reconfigured channel 8, MFC/R2 signalling
              -- Reconfigured channel 9, MFC/R2 signalling
              -- Reconfigured channel 10, MFC/R2 signalling
              -- Reconfigured channel 11, MFC/R2 signalling
              -- Reconfigured channel 12, MFC/R2 signalling
              -- Reconfigured channel 13, MFC/R2 signalling
              -- Reconfigured channel 14, MFC/R2 signalling
              -- Reconfigured channel 15, MFC/R2 signalling
              -- Reconfigured channel 17, MFC/R2 signalling
              -- Reconfigured channel 18, MFC/R2 signalling
              -- Reconfigured channel 19, MFC/R2 signalling
              -- Reconfigured channel 20, MFC/R2 signalling
              -- Reconfigured channel 21, MFC/R2 signalling
              -- Reconfigured channel 22, MFC/R2 signalling
              -- Reconfigured channel 23, MFC/R2 signalling
              -- Reconfigured channel 24, MFC/R2 signalling
              -- Reconfigured channel 25, MFC/R2 signalling
              -- Reconfigured channel 26, MFC/R2 signalling
              -- Reconfigured channel 27, MFC/R2 signalling
              -- Reconfigured channel 28, MFC/R2 signalling
              -- Reconfigured channel 29, MFC/R2 signalling
              -- Reconfigured channel 30, MFC/R2 signalling
              -- Reconfigured channel 31, MFC/R2 signalling
              == Parsing '/etc/asterisk/users.conf': Found
              Espero que puedan colaborarme. Un saludo

              Comentario


              • #8
                ¿Qué arroja el mfcr2 show channels dentro del *CLI?
                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


                • #9
                  Hola, buen día, esto es lo que arroja el comando:

                  Telefonia*CLI> mfcr2 show channels
                  Chan Variant Max ANI Max DNIS ANI First Immediate Accept Tx CAS Rx CAS
                  1 AR 10 4 Yes No IDLE IDLE
                  2 AR 10 4 Yes No IDLE IDLE
                  3 AR 10 4 Yes No IDLE IDLE
                  4 AR 10 4 Yes No IDLE IDLE
                  5 AR 10 4 Yes No IDLE IDLE
                  6 AR 10 4 Yes No IDLE IDLE
                  7 AR 10 4 Yes No IDLE IDLE
                  8 AR 10 4 Yes No IDLE IDLE
                  9 AR 10 4 Yes No IDLE IDLE
                  10 AR 10 4 Yes No IDLE IDLE
                  11 AR 10 4 Yes No IDLE IDLE
                  12 AR 10 4 Yes No IDLE IDLE
                  13 AR 10 4 Yes No IDLE IDLE
                  14 AR 10 4 Yes No IDLE IDLE
                  15 AR 10 4 Yes No IDLE IDLE
                  17 AR 10 4 Yes No IDLE IDLE
                  18 AR 10 4 Yes No IDLE IDLE
                  19 AR 10 4 Yes No IDLE IDLE
                  20 AR 10 4 Yes No IDLE IDLE
                  21 AR 10 4 Yes No IDLE IDLE
                  22 AR 10 4 Yes No IDLE IDLE
                  23 AR 10 4 Yes No IDLE IDLE
                  24 AR 10 4 Yes No IDLE IDLE
                  25 AR 10 4 Yes No IDLE IDLE
                  26 AR 10 4 Yes No IDLE IDLE
                  27 AR 10 4 Yes No IDLE IDLE
                  28 AR 10 4 Yes No IDLE IDLE
                  29 AR 10 4 Yes No IDLE IDLE
                  30 AR 10 4 Yes No IDLE IDLE
                  31 AR 10 4 Yes No IDLE IDLE
                  Muchas gracias

                  Comentario


                  • #10
                    Hola, buen dia,

                    He realizado la configuración para recibir llamadas y las he logrado recibir de manera correcta, pero sigo teniendo el problema con la salida de llamadas!

                    Comentario

                    Principales Usuarios Activos

                    Colapsar

                    No hay usuarios activos superiores.
                    Trabajando...
                    X