Cursos Asterisk en México

Problemas para sacar llamadas

Colapsar

Anuncio

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

  • Problemas para sacar llamadas

    Buen dia a todos,

    Tengo un problema con mi asterisk, resulta que tengo una tarjeta E1 y ya esta configurada para recibir llamadas el problema es que no puedo realizar llamadas a todos los destinos, soy de mexico y cree rutas de salida para numeros locales, celulares y nacionales, para celulares y locales realizo las llamadas sin problema pero para algunas nacionales me sale el mensaje Everyone is busy/congested at this time (1:0/1/0), no se a que se deba.

    Alguien me podria orientar, de antemano agradezco su ayuda.

  • #2
    Hola,

    Necesitamos más lineas de tu CLI para ver que pueda estar mal, ya que lo que pegas es solamente lo que Asterisk concluye, no la razón que te llevó a esa conclusión.

    Si puedes, péganos el output completo de tu CLI al momento en que haces una llamada y esta falla. Si de paso puedes incluir el contenido de tu chan_dahdi.conf, system.conf y dahdi-channels.conf, nos ayudará aún más.

    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


    • #3
      Gracias Cristian por contestar mira esta es la salida del CLI
      == Using SIP RTP TOS bits 184
      == Using SIP RTP CoS mark 5
      -- Executing [9016646848916@from-internal:1] Macro("SIP/2025-0000003d", "user-callerid,SKIPTTL,") in new stack
      -- Executing [s@macro-user-callerid:1] Set("SIP/2025-0000003d", "AMPUSER=2025") in new stack
      -- Executing [s@macro-user-callerid:2] GotoIf("SIP/2025-0000003d", "0?report") in new stack
      -- Executing [s@macro-user-callerid:3] ExecIf("SIP/2025-0000003d", "1?Set(REALCALLERIDNUM=2025)") in new stack
      -- Executing [s@macro-user-callerid:4] Set("SIP/2025-0000003d", "AMPUSER=2025") in new stack
      -- Executing [s@macro-user-callerid:5] Set("SIP/2025-0000003d", "AMPUSERCIDNAME=Extension 2025") in new stack
      -- Executing [s@macro-user-callerid:6] GotoIf("SIP/2025-0000003d", "0?report") in new stack
      -- Executing [s@macro-user-callerid:7] Set("SIP/2025-0000003d", "AMPUSERCID=2025") in new stack
      -- Executing [s@macro-user-callerid:8] Set("SIP/2025-0000003d", "CALLERID(all)="Extension 2025" <2025>") in new stack
      -- Executing [s@macro-user-callerid:9] ExecIf("SIP/2025-0000003d", "0?Set(CHANNEL(language)=)") in new stack
      -- Executing [s@macro-user-callerid:10] GotoIf("SIP/2025-0000003d", "1?continue") in new stack
      -- Goto (macro-user-callerid,s,19)
      -- Executing [s@macro-user-callerid:19] Set("SIP/2025-0000003d", "CALLERID(number)=2025") in new stack
      -- Executing [s@macro-user-callerid:20] Set("SIP/2025-0000003d", "CALLERID(name)=Extension 2025") in new stack
      -- Executing [s@macro-user-callerid:21] NoOp("SIP/2025-0000003d", "Using CallerID "Extension 2025" <2025>") in new stack
      -- Executing [9016646848916@from-internal:2] Set("SIP/2025-0000003d", "__ROUTENAME=3_LD_Nacional") in new stack
      -- Executing [9016646848916@from-internal:3] NoOp("SIP/2025-0000003d", "Calling Out Route: 3_LD_Nacional") in new stack
      -- Executing [9016646848916@from-internal:4] Set("SIP/2025-0000003d", "MOHCLASS=default") in new stack
      -- Executing [9016646848916@from-internal:5] Set("SIP/2025-0000003d", "_NODEST=") in new stack
      -- Executing [9016646848916@from-internal:6] Macro("SIP/2025-0000003d", "record-enable,2025,OUT,") in new stack
      -- Executing [s@macro-record-enable:1] GotoIf("SIP/2025-0000003d", "1?check") in new stack
      -- Goto (macro-record-enable,s,4)
      -- Executing [s@macro-record-enable:4] ExecIf("SIP/2025-0000003d", "0?MacroExit()") in new stack
      -- Executing [s@macro-record-enable:5] GotoIf("SIP/2025-0000003d", "0?Group:OUT") in new stack
      -- Goto (macro-record-enable,s,15)
      -- Executing [s@macro-record-enable:15] GotoIf("SIP/2025-0000003d", "0?IN") in new stack
      -- Executing [s@macro-record-enable:16] ExecIf("SIP/2025-0000003d", "1?MacroExit()") in new stack
      -- Executing [9016646848916@from-internal:7] Macro("SIP/2025-0000003d", "dialout-trunk,2,016646848916,") in new stack
      -- Executing [s@macro-dialout-trunk:1] Set("SIP/2025-0000003d", "DIAL_TRUNK=2") in new stack
      -- Executing [s@macro-dialout-trunk:2] AGI("SIP/2025-0000003d", "checkperms.agi") in new stack
      -- Launched AGI Script /var/lib/asterisk/agi-bin/checkperms.agi
      checkperms.agi: Starting checkperms.agi
      == checkperms.agi: Access to route granted
      -- <SIP/2025-0000003d>AGI Script checkperms.agi completed, returning 0
      -- Executing [s@macro-dialout-trunk:3] GosubIf("SIP/2025-0000003d", "0?sub-pincheck,s,1") in new stack
      -- Executing [s@macro-dialout-trunk:4] GotoIf("SIP/2025-0000003d", "0?disabletrunk,1") in new stack
      -- Executing [s@macro-dialout-trunk:5] Set("SIP/2025-0000003d", "DIAL_NUMBER=016646848916") in new stack
      -- Executing [s@macro-dialout-trunk:6] Set("SIP/2025-0000003d", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
      -- Executing [s@macro-dialout-trunk:7] Set("SIP/2025-0000003d", "OUTBOUND_GROUP=OUT_2") in new stack
      -- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/2025-0000003d", "0?nomax") in new stack
      -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/2025-0000003d", "0?chanfull") in new stack
      -- Executing [s@macro-dialout-trunk:10] GotoIf("SIP/2025-0000003d", "0?skipoutcid") in new stack
      -- Executing [s@macro-dialout-trunk:11] Set("SIP/2025-0000003d", "DIAL_TRUNK_OPTIONS=T") in new stack
      -- Executing [s@macro-dialout-trunk:12] Macro("SIP/2025-0000003d", "outbound-callerid,2") in new stack
      -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/2025-0000003d", "0?Set(CALLERPRES()=)") in new stack
      -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/2025-0000003d", "0?Set(REALCALLERIDNUM=2025)") in new stack
      -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/2025-0000003d", "1?normcid") in new stack
      -- Goto (macro-outbound-callerid,s,6)
      -- Executing [s@macro-outbound-callerid:6] Set("SIP/2025-0000003d", "USEROUTCID=") in new stack
      -- Executing [s@macro-outbound-callerid:7] Set("SIP/2025-0000003d", "EMERGENCYCID=") in new stack
      -- Executing [s@macro-outbound-callerid:8] Set("SIP/2025-0000003d", "TRUNKOUTCID=") in new stack
      -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/2025-0000003d", "1?trunkcid") in new stack
      -- Goto (macro-outbound-callerid,s,12)
      -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/2025-0000003d", "0?Set(CALLERID(all)=)") in new stack
      -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/2025-0000003d", "0?Set(CALLERID(all)=)") in new stack
      -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/2025-0000003d", "0?Set(CALLERID(all)=)") in new stack
      -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/2025-0000003d", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
      -- Executing [s@macro-dialout-trunk:13] GosubIf("SIP/2025-0000003d", "1?sub-flp-2,s,1") in new stack
      -- Executing [s@sub-flp-2:1] ExecIf("SIP/2025-0000003d", "1?Return()") in new stack
      -- Executing [s@macro-dialout-trunk:14] Set("SIP/2025-0000003d", "OUTNUM=016646848916") in new stack
      -- Executing [s@macro-dialout-trunk:15] Set("SIP/2025-0000003d", "custom=DAHDI/g0") in new stack
      -- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/2025-0000003d", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T )") in new stack
      -- Executing [s@macro-dialout-trunk:17] Macro("SIP/2025-0000003d", "dialout-trunk-predial-hook,") in new stack
      -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/2025-0000003d", "") in new stack
      -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/2025-0000003d", "0?bypass,1") in new stack
      -- Executing [s@macro-dialout-trunk:19] GotoIf("SIP/2025-0000003d", "0?customtrunk") in new stack
      -- Executing [s@macro-dialout-trunk:20] Dial("SIP/2025-0000003d", "DAHDI/g0/016646848916,300,T") in new stack
      -- Called DAHDI/g0/016646848916
      -- DAHDI/1-1 is circuit-busy
      -- Hungup 'DAHDI/1-1'
      == Everyone is busy/congested at this time (1:0/1/0)
      -- Executing [s@macro-dialout-trunk:21] NoOp("SIP/2025-0000003d", "Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 0") in new stack
      -- Executing [s@macro-dialout-trunk:22] Goto("SIP/2025-0000003d", "s-CONGESTION,1") in new stack
      -- Goto (macro-dialout-trunk,s-CONGESTION,1)

      Comentario


      • #4
        -- Executing [s-CONGESTION@macro-dialout-trunk:1] Set("SIP/2025-0000003d", "RC=0") in new stack
        -- Executing [s-CONGESTION@macro-dialout-trunk:2] Goto("SIP/2025-0000003d", "0,1") in new stack
        -- Goto (macro-dialout-trunk,0,1)
        -- Executing [0@macro-dialout-trunk:1] Goto("SIP/2025-0000003d", "continue,1") in new stack
        -- Goto (macro-dialout-trunk,continue,1)
        -- Executing [continue@macro-dialout-trunk:1] GotoIf("SIP/2025-0000003d", "1?noreport") in new stack
        -- Goto (macro-dialout-trunk,continue,3)
        -- Executing [continue@macro-dialout-trunk:3] NoOp("SIP/2025-0000003d", "TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 0 - failing through to other trunks") in new stack
        -- Executing [continue@macro-dialout-trunk:4] Set("SIP/2025-0000003d", "CALLERID(number)=2025") in new stack
        -- Executing [9016646848916@from-internal:8] Macro("SIP/2025-0000003d", "dialout-trunk,1,016646848916,") in new stack
        -- Executing [s@macro-dialout-trunk:1] Set("SIP/2025-0000003d", "DIAL_TRUNK=1") in new stack
        -- Executing [s@macro-dialout-trunk:2] AGI("SIP/2025-0000003d", "checkperms.agi") in new stack
        -- Launched AGI Script /var/lib/asterisk/agi-bin/checkperms.agi
        MFC/R2 call end on channel 1
        checkperms.agi: Starting checkperms.agi
        == checkperms.agi: Access to route granted
        -- <SIP/2025-0000003d>AGI Script checkperms.agi completed, returning 0
        -- Executing [s@macro-dialout-trunk:3] GosubIf("SIP/2025-0000003d", "0?sub-pincheck,s,1") in new stack
        -- Executing [s@macro-dialout-trunk:4] GotoIf("SIP/2025-0000003d", "0?disabletrunk,1") in new stack
        -- Executing [s@macro-dialout-trunk:5] Set("SIP/2025-0000003d", "DIAL_NUMBER=016646848916") in new stack
        -- Executing [s@macro-dialout-trunk:6] Set("SIP/2025-0000003d", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
        -- Executing [s@macro-dialout-trunk:7] Set("SIP/2025-0000003d", "OUTBOUND_GROUP=OUT_1") in new stack
        -- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/2025-0000003d", "0?nomax") in new stack
        -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/2025-0000003d", "0?chanfull") in new stack
        -- Executing [s@macro-dialout-trunk:10] GotoIf("SIP/2025-0000003d", "0?skipoutcid") in new stack
        -- Executing [s@macro-dialout-trunk:11] Set("SIP/2025-0000003d", "DIAL_TRUNK_OPTIONS=T") in new stack
        -- Executing [s@macro-dialout-trunk:12] Macro("SIP/2025-0000003d", "outbound-callerid,1") in new stack
        -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/2025-0000003d", "0?Set(CALLERPRES()=)") in new stack
        -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/2025-0000003d", "0?Set(REALCALLERIDNUM=2025)") in new stack
        -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/2025-0000003d", "1?normcid") in new stack
        -- Goto (macro-outbound-callerid,s,6)
        -- Executing [s@macro-outbound-callerid:6] Set("SIP/2025-0000003d", "USEROUTCID=") in new stack
        -- Executing [s@macro-outbound-callerid:7] Set("SIP/2025-0000003d", "EMERGENCYCID=") in new stack
        -- Executing [s@macro-outbound-callerid:8] Set("SIP/2025-0000003d", "TRUNKOUTCID=") in new stack
        -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/2025-0000003d", "1?trunkcid") in new stack
        -- Goto (macro-outbound-callerid,s,12)
        -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/2025-0000003d", "0?Set(CALLERID(all)=)") in new stack
        -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/2025-0000003d", "0?Set(CALLERID(all)=)") in new stack
        -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/2025-0000003d", "0?Set(CALLERID(all)=)") in new stack
        -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/2025-0000003d", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
        -- Executing [s@macro-dialout-trunk:13] GosubIf("SIP/2025-0000003d", "1?sub-flp-1,s,1") in new stack
        -- Executing [s@sub-flp-1:1] ExecIf("SIP/2025-0000003d", "1?Return()") in new stack
        -- Executing [s@macro-dialout-trunk:14] Set("SIP/2025-0000003d", "OUTNUM=016646848916") in new stack
        -- Executing [s@macro-dialout-trunk:15] Set("SIP/2025-0000003d", "custom=DAHDI/g1") in new stack
        -- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/2025-0000003d", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T )") in new stack
        -- Executing [s@macro-dialout-trunk:17] Macro("SIP/2025-0000003d", "dialout-trunk-predial-hook,") in new stack
        -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/2025-0000003d", "") in new stack
        -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/2025-0000003d", "0?bypass,1") in new stack
        -- Executing [s@macro-dialout-trunk:19] GotoIf("SIP/2025-0000003d", "0?customtrunk") in new stack
        -- Executing [s@macro-dialout-trunk:20] Dial("SIP/2025-0000003d", "DAHDI/g1/016646848916,300,T") in new stack
        -- Called DAHDI/g1/016646848916
        -- SIP/2006-0000003e answered Local/2006@from-queue-00000036;2
        -- Executing [s@macro-auto-blkvm:1] Set("SIP/2006-0000003e", "__MACRO_RESULT=") in new stack
        -- Executing [s@macro-auto-blkvm:2] NoOp("SIP/2006-0000003e", "Deleting: BLKVM/2000/DAHDI/25-1 TRUE") in new stack
        -- Local/2006@from-queue-00000036;1 answered DAHDI/25-1
        -- Stopped music on hold on DAHDI/25-1
        == Begin MixMonitor Recording DAHDI/25-1
        MFC/R2 call disconnected on channel 11
        -- DAHDI/11-1 is circuit-busy
        -- Hungup 'DAHDI/11-1'
        == Everyone is busy/congested at this time (1:0/1/0)
        -- Executing [s@macro-dialout-trunk:21] NoOp("SIP/2025-0000003d", "Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 0") in new stack
        -- Executing [s@macro-dialout-trunk:22] Goto("SIP/2025-0000003d", "s-CONGESTION,1") in new stack
        -- Goto (macro-dialout-trunk,s-CONGESTION,1)
        -- Executing [s-CONGESTION@macro-dialout-trunk:1] Set("SIP/2025-0000003d", "RC=0") in new stack
        -- Executing [s-CONGESTION@macro-dialout-trunk:2] Goto("SIP/2025-0000003d", "0,1") in new stack
        -- Goto (macro-dialout-trunk,0,1)
        -- Executing [0@macro-dialout-trunk:1] Goto("SIP/2025-0000003d", "continue,1") in new stack
        -- Goto (macro-dialout-trunk,continue,1)
        -- Executing [continue@macro-dialout-trunk:1] GotoIf("SIP/2025-0000003d", "1?noreport") in new stack
        -- Goto (macro-dialout-trunk,continue,3)
        -- Executing [continue@macro-dialout-trunk:3] NoOp("SIP/2025-0000003d", "TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 0 - failing through to other trunks") in new stack
        -- Executing [continue@macro-dialout-trunk:4] Set("SIP/2025-0000003d", "CALLERID(number)=2025") in new stack
        -- Executing [9016646848916@from-internal:9] Macro("SIP/2025-0000003d", "outisbusy,") in new stack
        -- Executing [s@macro-outisbusy:1] Progress("SIP/2025-0000003d", "") in new stack
        -- Executing [s@macro-outisbusy:2] GotoIf("SIP/2025-0000003d", "0?emergency,1") in new stack
        -- Executing [s@macro-outisbusy:3] GotoIf("SIP/2025-0000003d", "0?intracompany,1") in new stack
        -- Executing [s@macro-outisbusy:4] Playback("SIP/2025-0000003d", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack
        -- <SIP/2025-0000003d> Playing 'all-circuits-busy-now.gsm' (language 'es')
        MFC/R2 call end on channel 11
        == Everyone is busy/congested at this time (1:0/0/1)
        -- Executing [s@macro-dial-one:38] ExecIf("DAHDI/27-1", "0?Set(DIALSTATUS=)") in new stack
        -- Executing [s@macro-dial-one:39] GosubIf("DAHDI/27-1", "0?s-CHANUNAVAIL,1") in new stack
        -- Executing [s@macro-dial-one:40] MacroExit("DAHDI/27-1", "") in new stack
        -- Executing [s@macro-exten-vm:10] GotoIf("DAHDI/27-1", "0?exit") in new stack
        -- Executing [s@macro-exten-vm:11] Set("DAHDI/27-1", "SV_DIALSTATUS=CHANUNAVAIL") in new stack
        -- Executing [s@macro-exten-vm:12] GosubIf("DAHDI/27-1", "0?docfu,1") in new stack
        -- Executing [s@macro-exten-vm:13] GosubIf("DAHDI/27-1", "0?docfb,1") in new stack
        -- Executing [s@macro-exten-vm:14] Set("DAHDI/27-1", "DIALSTATUS=CHANUNAVAIL") in new stack
        -- Executing [s@macro-exten-vm:15] NoOp("DAHDI/27-1", "Voicemail is 'novm'") in new stack
        -- Executing [s@macro-exten-vm:16] GotoIf("DAHDI/27-1", "1?s-CHANUNAVAIL,1") in new stack
        -- Goto (macro-exten-vm,s-CHANUNAVAIL,1)
        -- Executing [s-CHANUNAVAIL@macro-exten-vm:1] NoOp("DAHDI/27-1", "IVR_RETVM: RETURN IVR_CONTEXT: ivr-3") in new stack
        -- Executing [s-CHANUNAVAIL@macro-exten-vm:2] GotoIf("DAHDI/27-1", "1?exit,1") in new stack
        -- Goto (macro-exten-vm,exit,1)
        -- Executing [exit@macro-exten-vm:1] Playback("DAHDI/27-1", "beep&line-busy-transfer-menu&silence/1") in new stack
        -- <DAHDI/27-1> Playing 'beep.gsm' (language 'es')
        == Spawn extension (macro-outisbusy, s, 4) exited non-zero on 'SIP/2025-0000003d' in macro 'outisbusy'
        == Spawn extension (from-internal, 9016646848916, 9) exited non-zero on 'SIP/2025-0000003d'
        -- Executing [h@from-internal:1] Macro("SIP/2025-0000003d", "hangupcall") in new stack
        -- Executing [s@macro-hangupcall:1] GotoIf("SIP/2025-0000003d", "1?endmixmoncheck") in new stack
        -- Goto (macro-hangupcall,s,9)
        -- Executing [s@macro-hangupcall:9] NoOp("SIP/2025-0000003d", "End of MIXMON check") in new stack
        -- Executing [s@macro-hangupcall:10] GotoIf("SIP/2025-0000003d", "1?nomeetmemon") in new stack
        -- Goto (macro-hangupcall,s,28)
        -- Executing [s@macro-hangupcall:28] NoOp("SIP/2025-0000003d", "End of MEETME check") in new stack
        -- Executing [s@macro-hangupcall:29] GotoIf("SIP/2025-0000003d", "1?noautomon") in new stack
        -- Goto (macro-hangupcall,s,34)
        -- Executing [s@macro-hangupcall:34] NoOp("SIP/2025-0000003d", "TOUCH_MONITOR_OUTPUT=") in new stack
        -- Executing [s@macro-hangupcall:35] GotoIf("SIP/2025-0000003d", "1?noautomon2") in new stack

        esta es la continuacion

        Comentario


        • #5
          y esto tengo en los archivos

          chan_dahdi.conf

          [trunkgroups]

          [channels]
          context=from-zaptel

          language=es
          usecallerid=yes
          usecallingores=yes
          callwaiting=yes
          callwaitingcallerid=yes
          threewaycalling=yes
          transfer=yes
          canpark=yes
          cancallforward=yes
          callreturn=yes
          echocancelwhenbridged=yes
          echotraining=800
          relaxdtmf=yes
          busydetect=yes
          busycount=3
          rxgain=0.0
          txgain=0.0
          inmediate=no

          signalling=mfcr2
          mfcr2_variant=mx
          mfcr2_get_ani_first=yes
          mfcr2_max_ani=10
          mfcr2_max_dnis=4
          mfcr2_category=national_priority_subscriber
          mfcr2_max_call_files=yes
          mfcr2_logdir=span1
          mfcr2_loggin=all
          mfcr2_mfback_timeout=-1
          mfcr2_metering_pulse_timeout=-1
          echocancel=yes

          group=0
          channel => 1-10
          group=1
          channel => 11-15,17-21
          group=0
          channel => 22-31



          system.conf

          loadzone=mx
          defaultzone=mx
          span=1,1,0,cas,hdb3
          cas=1-15:1101
          dchan=16
          cas=17-31:1101


          dadhi-channels.conf

          group=0,11
          context=from-pstn
          switchtype = euroisdn
          signalling = pri_cpe
          channel => 1-15,17-31
          context = default
          group = 63

          De antemano agradezco tu ayuda.

          Comentario


          • #6
            Ok, nos falta un poco más porque no se ve el WARNING que te aparecería en el CLI dado que está desactivado en el log.

            Edita el /etc/asterisk/logger.conf y pon lo siguiente bajo la sección de [logfiles
            Código:
            [logfiles]
            console => notice,warning,error
            y luego recarga el logger entrando al CLI de Asterisk y dando logger reload

            Vuélvenos a pegar la salida del CLI, ahora ya dirá la razón por la cual falló.


            También, dicho sea de paso, ponnos la salida del comando mfcr2 show channels del CLI de Asterisk.

            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
              == Using SIP RTP TOS bits 184
              == Using SIP RTP CoS mark 5
              -- Executing [9016645676665@from-internal:1] Macro("SIP/2025-0000019c", "user-callerid,SKIPTTL,") in new stack
              -- Executing [s@macro-user-callerid:1] Set("SIP/2025-0000019c", "AMPUSER=2025") in new stack
              -- Executing [s@macro-user-callerid:2] GotoIf("SIP/2025-0000019c", "0?report") in new stack
              -- Executing [s@macro-user-callerid:3] ExecIf("SIP/2025-0000019c", "1?Set(REALCALLERIDNUM=2025)") in new stack
              -- Executing [s@macro-user-callerid:4] Set("SIP/2025-0000019c", "AMPUSER=2025") in new stack
              -- Executing [s@macro-user-callerid:5] Set("SIP/2025-0000019c", "AMPUSERCIDNAME=Extension 2025") in new stack
              -- Executing [s@macro-user-callerid:6] GotoIf("SIP/2025-0000019c", "0?report") in new stack
              -- Executing [s@macro-user-callerid:7] Set("SIP/2025-0000019c", "AMPUSERCID=2025") in new stack
              -- Executing [s@macro-user-callerid:8] Set("SIP/2025-0000019c", "CALLERID(all)="Extension 2025" <2025>") in new stack
              -- Executing [s@macro-user-callerid:9] ExecIf("SIP/2025-0000019c", "0?Set(CHANNEL(language)=)") in new stack
              -- Executing [s@macro-user-callerid:10] GotoIf("SIP/2025-0000019c", "1?continue") in new stack
              -- Goto (macro-user-callerid,s,19)
              -- Executing [s@macro-user-callerid:19] Set("SIP/2025-0000019c", "CALLERID(number)=2025") in new stack
              -- Executing [s@macro-user-callerid:20] Set("SIP/2025-0000019c", "CALLERID(name)=Extension 2025") in new stack
              -- Executing [s@macro-user-callerid:21] NoOp("SIP/2025-0000019c", "Using CallerID "Extension 2025" <2025>") in new stack
              -- Executing [9016645676665@from-internal:2] Set("SIP/2025-0000019c", "__ROUTENAME=3_LD_Nacional") in new stack
              -- Executing [9016645676665@from-internal:3] NoOp("SIP/2025-0000019c", "Calling Out Route: 3_LD_Nacional") in new stack
              -- Executing [9016645676665@from-internal:4] Set("SIP/2025-0000019c", "MOHCLASS=default") in new stack
              -- Executing [9016645676665@from-internal:5] Set("SIP/2025-0000019c", "_NODEST=") in new stack
              -- Executing [9016645676665@from-internal:6] Macro("SIP/2025-0000019c", "record-enable,2025,OUT,") in new stack
              -- Executing [s@macro-record-enable:1] GotoIf("SIP/2025-0000019c", "1?check") in new stack
              -- Goto (macro-record-enable,s,4)
              -- Executing [s@macro-record-enable:4] ExecIf("SIP/2025-0000019c", "0?MacroExit()") in new stack
              -- Executing [s@macro-record-enable:5] GotoIf("SIP/2025-0000019c", "0?Group:OUT") in new stack
              -- Goto (macro-record-enable,s,15)
              -- Executing [s@macro-record-enable:15] GotoIf("SIP/2025-0000019c", "0?IN") in new stack
              -- Executing [s@macro-record-enable:16] ExecIf("SIP/2025-0000019c", "1?MacroExit()") in new stack
              -- Executing [9016645676665@from-internal:7] Macro("SIP/2025-0000019c", "dialout-trunk,2,016645676665,") in new stack
              -- Executing [s@macro-dialout-trunk:1] Set("SIP/2025-0000019c", "DIAL_TRUNK=2") in new stack
              -- Executing [s@macro-dialout-trunk:2] AGI("SIP/2025-0000019c", "checkperms.agi") in new stack
              -- Launched AGI Script /var/lib/asterisk/agi-bin/checkperms.agi
              checkperms.agi: Starting checkperms.agi
              == checkperms.agi: Access to route granted
              -- <SIP/2025-0000019c>AGI Script checkperms.agi completed, returning 0
              -- Executing [s@macro-dialout-trunk:3] GosubIf("SIP/2025-0000019c", "0?sub-pincheck,s,1") in new stack
              -- Executing [s@macro-dialout-trunk:4] GotoIf("SIP/2025-0000019c", "0?disabletrunk,1") in new stack
              -- Executing [s@macro-dialout-trunk:5] Set("SIP/2025-0000019c", "DIAL_NUMBER=016645676665") in new stack
              -- Executing [s@macro-dialout-trunk:6] Set("SIP/2025-0000019c", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
              -- Executing [s@macro-dialout-trunk:7] Set("SIP/2025-0000019c", "OUTBOUND_GROUP=OUT_2") in new stack
              -- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/2025-0000019c", "0?nomax") in new stack
              -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/2025-0000019c", "0?chanfull") in new stack
              -- Executing [s@macro-dialout-trunk:10] GotoIf("SIP/2025-0000019c", "0?skipoutcid") in new stack
              -- Executing [s@macro-dialout-trunk:11] Set("SIP/2025-0000019c", "DIAL_TRUNK_OPTIONS=T") in new stack
              -- Executing [s@macro-dialout-trunk:12] Macro("SIP/2025-0000019c", "outbound-callerid,2") in new stack
              -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/2025-0000019c", "0?Set(CALLERPRES()=)") in new stack
              -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/2025-0000019c", "0?Set(REALCALLERIDNUM=2025)") in new stack
              -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/2025-0000019c", "1?normcid") in new stack
              -- Goto (macro-outbound-callerid,s,6)
              -- Executing [s@macro-outbound-callerid:6] Set("SIP/2025-0000019c", "USEROUTCID=") in new stack
              -- Executing [s@macro-outbound-callerid:7] Set("SIP/2025-0000019c", "EMERGENCYCID=") in new stack
              -- Executing [s@macro-outbound-callerid:8] Set("SIP/2025-0000019c", "TRUNKOUTCID=") in new stack
              -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/2025-0000019c", "1?trunkcid") in new stack
              -- Goto (macro-outbound-callerid,s,12)
              -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/2025-0000019c", "0?Set(CALLERID(all)=)") in new stack
              -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/2025-0000019c", "0?Set(CALLERID(all)=)") in new stack
              -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/2025-0000019c", "0?Set(CALLERID(all)=)") in new stack
              -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/2025-0000019c", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
              -- Executing [s@macro-dialout-trunk:13] GosubIf("SIP/2025-0000019c", "1?sub-flp-2,s,1") in new stack
              -- Executing [s@sub-flp-2:1] ExecIf("SIP/2025-0000019c", "1?Return()") in new stack
              -- Executing [s@macro-dialout-trunk:14] Set("SIP/2025-0000019c", "OUTNUM=016645676665") in new stack
              -- Executing [s@macro-dialout-trunk:15] Set("SIP/2025-0000019c", "custom=DAHDI/g0") in new stack
              -- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/2025-0000019c", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T )") in new stack
              -- Executing [s@macro-dialout-trunk:17] Macro("SIP/2025-0000019c", "dialout-trunk-predial-hook,") in new stack
              -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/2025-0000019c", "") in new stack
              -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/2025-0000019c", "0?bypass,1") in new stack
              -- Executing [s@macro-dialout-trunk:19] GotoIf("SIP/2025-0000019c", "0?customtrunk") in new stack
              -- Executing [s@macro-dialout-trunk:20] Dial("SIP/2025-0000019c", "DAHDI/g0/016645676665,300,T") in new stack
              -- Called DAHDI/g0/016645676665
              MFC/R2 call disconnected on channel 1
              -- DAHDI/1-1 is circuit-busy
              -- Hungup 'DAHDI/1-1'
              == Everyone is busy/congested at this time (1:0/1/0)
              -- Executing [s@macro-dialout-trunk:21] NoOp("SIP/2025-0000019c", "Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 0") in new stack
              -- Executing [s@macro-dialout-trunk:22] Goto("SIP/2025-0000019c", "s-CONGESTION,1") in new stack
              -- Goto (macro-dialout-trunk,s-CONGESTION,1)
              -- Executing [s-CONGESTION@macro-dialout-trunk:1] Set("SIP/2025-0000019c", "RC=0") in new stack
              -- Executing [s-CONGESTION@macro-dialout-trunk:2] Goto("SIP/2025-0000019c", "0,1") in new stack
              -- Goto (macro-dialout-trunk,0,1)
              -- Executing [0@macro-dialout-trunk:1] Goto("SIP/2025-0000019c", "continue,1") in new stack
              -- Goto (macro-dialout-trunk,continue,1)
              -- Executing [continue@macro-dialout-trunk:1] GotoIf("SIP/2025-0000019c", "1?noreport") in new stack
              -- Goto (macro-dialout-trunk,continue,3)
              -- Executing [continue@macro-dialout-trunk:3] NoOp("SIP/2025-0000019c", "TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 0 - failing through to other trunks") in new stack
              -- Executing [continue@macro-dialout-trunk:4] Set("SIP/2025-0000019c", "CALLERID(number)=2025") in new stack
              -- Executing [9016645676665@from-internal:8] Macro("SIP/2025-0000019c", "dialout-trunk,1,016645676665,") in new stack
              -- Executing [s@macro-dialout-trunk:1] Set("SIP/2025-0000019c", "DIAL_TRUNK=1") in new stack
              -- Executing [s@macro-dialout-trunk:2] AGI("SIP/2025-0000019c", "checkperms.agi") in new stack
              -- Launched AGI Script /var/lib/asterisk/agi-bin/checkperms.agi
              MFC/R2 call end on channel 1
              checkperms.agi: Starting checkperms.agi
              == checkperms.agi: Access to route granted
              -- <SIP/2025-0000019c>AGI Script checkperms.agi completed, returning 0
              -- Executing [s@macro-dialout-trunk:3] GosubIf("SIP/2025-0000019c", "0?sub-pincheck,s,1") in new stack

              Comentario


              • #8
                -- Executing [s@macro-dialout-trunk:4] GotoIf("SIP/2025-0000019c", "0?disabletrunk,1") in new stack
                -- Executing [s@macro-dialout-trunk:5] Set("SIP/2025-0000019c", "DIAL_NUMBER=016645676665") in new stack
                -- Executing [s@macro-dialout-trunk:6] Set("SIP/2025-0000019c", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
                -- Executing [s@macro-dialout-trunk:7] Set("SIP/2025-0000019c", "OUTBOUND_GROUP=OUT_1") in new stack
                -- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/2025-0000019c", "0?nomax") in new stack
                -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/2025-0000019c", "0?chanfull") in new stack
                -- Executing [s@macro-dialout-trunk:10] GotoIf("SIP/2025-0000019c", "0?skipoutcid") in new stack
                -- Executing [s@macro-dialout-trunk:11] Set("SIP/2025-0000019c", "DIAL_TRUNK_OPTIONS=T") in new stack
                -- Executing [s@macro-dialout-trunk:12] Macro("SIP/2025-0000019c", "outbound-callerid,1") in new stack
                -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/2025-0000019c", "0?Set(CALLERPRES()=)") in new stack
                -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/2025-0000019c", "0?Set(REALCALLERIDNUM=2025)") in new stack
                -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/2025-0000019c", "1?normcid") in new stack
                -- Goto (macro-outbound-callerid,s,6)
                -- Executing [s@macro-outbound-callerid:6] Set("SIP/2025-0000019c", "USEROUTCID=") in new stack
                -- Executing [s@macro-outbound-callerid:7] Set("SIP/2025-0000019c", "EMERGENCYCID=") in new stack
                -- Executing [s@macro-outbound-callerid:8] Set("SIP/2025-0000019c", "TRUNKOUTCID=") in new stack
                -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/2025-0000019c", "1?trunkcid") in new stack
                -- Goto (macro-outbound-callerid,s,12)
                -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/2025-0000019c", "0?Set(CALLERID(all)=)") in new stack
                -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/2025-0000019c", "0?Set(CALLERID(all)=)") in new stack
                -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/2025-0000019c", "0?Set(CALLERID(all)=)") in new stack
                -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/2025-0000019c", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
                -- Executing [s@macro-dialout-trunk:13] GosubIf("SIP/2025-0000019c", "1?sub-flp-1,s,1") in new stack
                -- Executing [s@sub-flp-1:1] ExecIf("SIP/2025-0000019c", "1?Return()") in new stack
                -- Executing [s@macro-dialout-trunk:14] Set("SIP/2025-0000019c", "OUTNUM=016645676665") in new stack
                -- Executing [s@macro-dialout-trunk:15] Set("SIP/2025-0000019c", "custom=DAHDI/g1") in new stack
                -- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/2025-0000019c", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T )") in new stack
                -- Executing [s@macro-dialout-trunk:17] Macro("SIP/2025-0000019c", "dialout-trunk-predial-hook,") in new stack
                -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/2025-0000019c", "") in new stack
                -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/2025-0000019c", "0?bypass,1") in new stack
                -- Executing [s@macro-dialout-trunk:19] GotoIf("SIP/2025-0000019c", "0?customtrunk") in new stack
                -- Executing [s@macro-dialout-trunk:20] Dial("SIP/2025-0000019c", "DAHDI/g1/016645676665,300,T") in new stack
                -- Called DAHDI/g1/016645676665
                MFC/R2 call disconnected on channel 11
                -- DAHDI/11-1 is circuit-busy
                -- Hungup 'DAHDI/11-1'
                == Everyone is busy/congested at this time (1:0/1/0)
                -- Executing [s@macro-dialout-trunk:21] NoOp("SIP/2025-0000019c", "Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 0") in new stack
                -- Executing [s@macro-dialout-trunk:22] Goto("SIP/2025-0000019c", "s-CONGESTION,1") in new stack
                -- Goto (macro-dialout-trunk,s-CONGESTION,1)
                -- Executing [s-CONGESTION@macro-dialout-trunk:1] Set("SIP/2025-0000019c", "RC=0") in new stack
                -- Executing [s-CONGESTION@macro-dialout-trunk:2] Goto("SIP/2025-0000019c", "0,1") in new stack
                -- Goto (macro-dialout-trunk,0,1)
                -- Executing [0@macro-dialout-trunk:1] Goto("SIP/2025-0000019c", "continue,1") in new stack
                -- Goto (macro-dialout-trunk,continue,1)
                -- Executing [continue@macro-dialout-trunk:1] GotoIf("SIP/2025-0000019c", "1?noreport") in new stack
                -- Goto (macro-dialout-trunk,continue,3)
                -- Executing [continue@macro-dialout-trunk:3] NoOp("SIP/2025-0000019c", "TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 0 - failing through to other trunks") in new stack
                -- Executing [continue@macro-dialout-trunk:4] Set("SIP/2025-0000019c", "CALLERID(number)=2025") in new stack
                -- Executing [9016645676665@from-internal:9] Macro("SIP/2025-0000019c", "outisbusy,") in new stack
                -- Executing [s@macro-outisbusy:1] Progress("SIP/2025-0000019c", "") in new stack
                -- Executing [s@macro-outisbusy:2] GotoIf("SIP/2025-0000019c", "0?emergency,1") in new stack
                -- Executing [s@macro-outisbusy:3] GotoIf("SIP/2025-0000019c", "0?intracompany,1") in new stack
                -- Executing [s@macro-outisbusy:4] Playback("SIP/2025-0000019c", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack
                -- <SIP/2025-0000019c> Playing 'all-circuits-busy-now.gsm' (language 'es')
                MFC/R2 call end on channel 11
                -- <SIP/2025-0000019c> Playing 'pls-try-call-later.gsm' (language 'es')
                -- Executing [s@macro-outisbusy:5] Congestion("SIP/2025-0000019c", "20") in new stack
                [Apr 4 20:54:52] WARNING[8351]: channel.c:4747 ast_prod: Prodding channel 'SIP/2025-0000019c' failed
                == Spawn extension (macro-outisbusy, s, 5) exited non-zero on 'SIP/2025-0000019c' in macro 'outisbusy'
                == Spawn extension (from-internal, 9016645676665, 9) exited non-zero on 'SIP/2025-0000019c'
                -- Executing [h@from-internal:1] Macro("SIP/2025-0000019c", "hangupcall") in new stack
                -- Executing [s@macro-hangupcall:1] GotoIf("SIP/2025-0000019c", "1?endmixmoncheck") in new stack
                -- Goto (macro-hangupcall,s,9)
                -- Executing [s@macro-hangupcall:9] NoOp("SIP/2025-0000019c", "End of MIXMON check") in new stack
                -- Executing [s@macro-hangupcall:10] GotoIf("SIP/2025-0000019c", "1?nomeetmemon") in new stack
                -- Goto (macro-hangupcall,s,28)
                -- Executing [s@macro-hangupcall:28] NoOp("SIP/2025-0000019c", "End of MEETME check") in new stack
                -- Executing [s@macro-hangupcall:29] GotoIf("SIP/2025-0000019c", "1?noautomon") in new stack
                -- Goto (macro-hangupcall,s,34)
                -- Executing [s@macro-hangupcall:34] NoOp("SIP/2025-0000019c", "TOUCH_MONITOR_OUTPUT=") in new stack
                -- Executing [s@macro-hangupcall:35] GotoIf("SIP/2025-0000019c", "1?noautomon2") in new stack
                -- Goto (macro-hangupcall,s,41)
                -- Executing [s@macro-hangupcall:41] NoOp("SIP/2025-0000019c", "MONITOR_FILENAME=") in new stack
                -- Executing [s@macro-hangupcall:42] GotoIf("SIP/2025-0000019c", "1?skiprg") in new stack
                -- Goto (macro-hangupcall,s,45)
                -- Executing [s@macro-hangupcall:45] GotoIf("SIP/2025-0000019c", "1?skipblkvm") in new stack
                -- Goto (macro-hangupcall,s,48)
                -- Executing [s@macro-hangupcall:48] GotoIf("SIP/2025-0000019c", "1?theend") in new stack
                -- Goto (macro-hangupcall,s,50)
                -- Executing [s@macro-hangupcall:50] AGI("SIP/2025-0000019c", "hangup.agi") in new stack
                -- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
                -- <SIP/2025-0000019c>AGI Script hangup.agi completed, returning 0
                -- Executing [s@macro-hangupcall:51] Hangup("SIP/2025-0000019c", "") in new stack
                == Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'SIP/2025-0000019c' in macro 'hangupcall'

                Comentario


                • #9
                  y esto me arroja el mfcr2

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

                  De nuevo agradezcxo tu ayuda.

                  Saludos

                  Comentario

                  Nube de Etiquetas

                  Colapsar

                  Principales Usuarios Activos

                  Colapsar

                  No hay usuarios activos superiores.
                  Trabajando...
                  X