Cursos Asterisk en México

Error al unir dos elastix

Colapsar

Anuncio

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

  • Error al unir dos elastix

    hola estoy intentando unir dos elastix, ya tengo mi troncal IAX y mi ruta de salida esto esta bajo una vpn con openvpn al realizar ping tanto un lado como el otro funciona a la perfección
    al realizar iax2 show prees el estatus es ok en ambos lados, no se si esto sea suficiente o hay q verificar alguna otra cosa,
    al igual también abri el puerto 1194 UDP en mi modem solo en donde esta el el elastix que fungirá como openvpn server.

    A server extensiones 2100 a 3000 rutas de salida en A para B 1XX y 20XX
    B cliente extensiones 101 a 110 y 2010 a 2011 rutas de salida en B para A 2XXX y 3XXX

    El error es q cuando marco a la extecnion de otro elastix se escucha el mensaje "TODAS LA SLINEAS ESTAN OCUPADAS INTENTE MA STARDE" porfavor puede alguien ayudarme slaudos

  • #2
    Pega la salida del cli cuando haces la llamada, la configuración de tu ruta saliente de ambos servidores.

    Comentario


    • #3
      ok aquí esta mira gracias por responder:
      Executing [103@from-internal:1] Macro("SIP/2500-00000010", "user-callerid,SKIPTTL,") in new stack
      -- Executing [s@macro-user-callerid:1] Set("SIP/2500-00000010", "AMPUSER=2500") in new stack
      -- Executing [s@macro-user-callerid:2] GotoIf("SIP/2500-00000010", "0?report") in new stack
      -- Executing [s@macro-user-callerid:3] ExecIf("SIP/2500-00000010", "1?Set(REALCALLERIDNUM=2500)") in new stack
      -- Executing [s@macro-user-callerid:4] Set("SIP/2500-00000010", "AMPUSER=2500") in new stack
      -- Executing [s@macro-user-callerid:5] Set("SIP/2500-00000010", "AMPUSERCIDNAME=israel") in new stack
      -- Executing [s@macro-user-callerid:6] GotoIf("SIP/2500-00000010", "0?report") in new stack
      -- Executing [s@macro-user-callerid:7] Set("SIP/2500-00000010", "AMPUSERCID=2500") in new stack
      -- Executing [s@macro-user-callerid:8] Set("SIP/2500-00000010", "CALLERID(all)="israel" <2500>") in new stack
      -- Executing [s@macro-user-callerid:9] ExecIf("SIP/2500-00000010", "0?Set(CHANNEL(language)=)") in new stack
      -- Executing [s@macro-user-callerid:10] GotoIf("SIP/2500-00000010", "1?continue") in new stack
      -- Goto (macro-user-callerid,s,19)
      -- Executing [s@macro-user-callerid:19] Set("SIP/2500-00000010", "CALLERID(number)=2500") in new stack
      -- Executing [s@macro-user-callerid:20] Set("SIP/2500-00000010", "CALLERID(name)=israel") in new stack
      -- Executing [s@macro-user-callerid:21] NoOp("SIP/2500-00000010", "Using CallerID "israel" <2500>") in new stack
      -- Executing [103@from-internal:2] NoOp("SIP/2500-00000010", "Calling Out Route: salida-a-cphugo") in new stack
      -- Executing [103@from-internal:3] Set("SIP/2500-00000010", "MOHCLASS=default") in new stack
      -- Executing [103@from-internal:4] Set("SIP/2500-00000010", "_NODEST=") in new stack
      -- Executing [103@from-internal:5] Macro("SIP/2500-00000010", "record-enable,2500,OUT,") in new stack
      -- Executing [s@macro-record-enable:1] GotoIf("SIP/2500-00000010", "1?check") in new stack
      -- Goto (macro-record-enable,s,4)

      Comentario


      • #4
        -- Executing [s@macro-record-enable:4] ExecIf("SIP/2500-00000010", "0?MacroExit()") in new stack
        -- Executing [s@macro-record-enable:5] GotoIf("SIP/2500-00000010", "0?Group:OUT") in new stack
        -- Goto (macro-record-enable,s,15)
        -- Executing [s@macro-record-enable:15] GotoIf("SIP/2500-00000010", "0?IN") in new stack
        -- Executing [s@macro-record-enable:16] ExecIf("SIP/2500-00000010", "0?MacroExit()") in new stack
        -- Executing [s@macro-record-enable:17] NoOp("SIP/2500-00000010", "Recording enable for 2500") in new stack
        -- Executing [s@macro-record-enable:18] Set("SIP/2500-00000010", "CALLFILENAME=OUT2500-20131001-153656-1380659816.34") in new stack
        -- Executing [s@macro-record-enable:19] Goto("SIP/2500-00000010", "record") in new stack
        -- Goto (macro-record-enable,s,23)
        -- Executing [s@macro-record-enable:23] MixMonitor("SIP/2500-00000010", "OUT2500-20131001-153656-1380659816.34.wav,,") in new stack
        -- Executing [s@macro-record-enable:24] Set("SIP/2500-00000010", "CDR(userfield)=audio:OUT2500-20131001-153656-1380659816.34.wav") in new stack
        -- Executing [s@macro-record-enable:25] MacroExit("SIP/2500-00000010", "") in new stack
        -- Executing [103@from-internal:6] Macro("SIP/2500-00000010", "dialout-trunk,6,103,") in new stack
        -- Executing [s@macro-dialout-trunk:1] Set("SIP/2500-00000010", "DIAL_TRUNK=6") in new stack
        -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/2500-00000010", "0?sub-pincheck,s,1") in new stack
        -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/2500-00000010", "0?disabletrunk,1") in new stack
        -- Executing [s@macro-dialout-trunk:4] Set("SIP/2500-00000010", "DIAL_NUMBER=103") in new stack
        -- Executing [s@macro-dialout-trunk:5] Set("SIP/2500-00000010", "DIAL_TRUNK_OPTIONS=TtrWw") in new stack
        -- Executing [s@macro-dialout-trunk:6] Set("SIP/2500-00000010", "OUTBOUND_GROUP=OUT_6") in new stack
        -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/2500-00000010", "1?nomax") in new stack
        -- Goto (macro-dialout-trunk,s,9)
        -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/2500-00000010", "0?skipoutcid") in new stack
        -- Executing [s@macro-dialout-trunk:10] Set("SIP/2500-00000010", "DIAL_TRUNK_OPTIONS=TtWw") in new stack
        -- Executing [s@macro-dialout-trunk:11] Macro("SIP/2500-00000010", "outbound-callerid,6") in new stack
        -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/2500-00000010", "0?Set(CALLERPRES()=)") in new stack
        -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/2500-00000010", "0?Set(REALCALLERIDNUM=2500)") in new stack
        -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/2500-00000010", "1?normcid") in new stack
        -- Goto (macro-outbound-callerid,s,6)

        Comentario


        • #5
          -- Executing [s@macro-outbound-callerid:6] Set("SIP/2500-00000010", "USEROUTCID=") in new stack
          -- Executing [s@macro-outbound-callerid:7] Set("SIP/2500-00000010", "EMERGENCYCID=") in new stack
          -- Executing [s@macro-outbound-callerid:8] Set("SIP/2500-00000010", "TRUNKOUTCID=") in new stack
          -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/2500-00000010", "1?trunkcid") in new stack
          -- Goto (macro-outbound-callerid,s,12)
          -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/2500-00000010", "0?Set(CALLERID(all)=)") in new stack
          -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/2500-00000010", "0?Set(CALLERID(all)=)") in new stack
          -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/2500-00000010", "0?Set(CALLERID(all)=)") in new stack
          -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/2500-00000010", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
          -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/2500-00000010", "0?sub-flp-6,s,1") in new stack
          -- Executing [s@macro-dialout-trunk:13] Set("SIP/2500-00000010", "OUTNUM=103") in new stack
          -- Executing [s@macro-dialout-trunk:14] Set("SIP/2500-00000010", "custom=IAX2/A-cphugo") in new stack
          -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/2500-00000010", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)TtWw) ") in new stack
          -- Executing [s@macro-dialout-trunk:16] Macro("SIP/2500-00000010", "dialout-trunk-predial-hook,") in new stack
          -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/2500-00000010", "") in new stack
          -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/2500-00000010", "0?bypass,1") in new stack
          -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/2500-00000010", "0?customtrunk") in new stack
          -- Executing [s@macro-dialout-trunk:19] Dial("SIP/2500-00000010", "IAX2/A-cphugo/103,300,TtWw") in new stack
          -- Called IAX2/A-cphugo/103
          == Begin MixMonitor Recording SIP/2500-00000010
          -- Hungup 'IAX2/A-cphugo-3760'
          == Everyone is busy/congested at this time (1:0/0/1)
          -- Executing [s@macro-dialout-trunk:20] NoOp("SIP/2500-00000010", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 50") in new stack
          -- Executing [s@macro-dialout-trunk:21] Goto("SIP/2500-00000010", "s-CHANUNAVAIL,1") in new stack
          -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
          -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("SIP/2500-00000010", "RC=50") in new stack
          -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("SIP/2500-00000010", "50,1") in new stack
          -- Goto (macro-dialout-trunk,50,1)

          Comentario


          • #6
            -- Executing [50@macro-dialout-trunk:1] Goto("SIP/2500-00000010", "continue,1") in new stack
            -- Goto (macro-dialout-trunk,continue,1)
            -- Executing [continue@macro-dialout-trunk:1] GotoIf("SIP/2500-00000010", "1?noreport") in new stack
            -- Goto (macro-dialout-trunk,continue,3)
            -- Executing [continue@macro-dialout-trunk:3] NoOp("SIP/2500-00000010", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 50 - failing through to other trunks") in new stack
            -- Executing [continue@macro-dialout-trunk:4] Set("SIP/2500-00000010", "CALLERID(number)=2500") in new stack
            -- Executing [103@from-internal:7] Macro("SIP/2500-00000010", "outisbusy,") in new stack
            -- Executing [s@macro-outisbusy:1] Progress("SIP/2500-00000010", "") in new stack
            -- Executing [s@macro-outisbusy:2] GotoIf("SIP/2500-00000010", "0?emergency,1") in new stack
            -- Executing [s@macro-outisbusy:3] GotoIf("SIP/2500-00000010", "0?intracompany,1") in new stack
            -- Executing [s@macro-outisbusy:4] Playback("SIP/2500-00000010", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack
            -- <SIP/2500-00000010> Playing 'all-circuits-busy-now.gsm' (language 'en')
            > 0xb7d220e0 -- Probation passed - setting RTP source address to 192.168.1.66:5004
            -- <SIP/2500-00000010> Playing 'pls-try-call-later.gsm' (language 'en')
            == Spawn extension (macro-outisbusy, s, 4) exited non-zero on 'SIP/2500-00000010' in macro 'outisbusy'
            == Spawn extension (from-internal, 103, 7) exited non-zero on 'SIP/2500-00000010'
            -- Executing [h@from-internal:1] Macro("SIP/2500-00000010", "hangupcall") in new stack
            -- Executing [s@macro-hangupcall:1] GotoIf("SIP/2500-00000010", "0?endmixmoncheck") in new stack
            -- Executing [s@macro-hangupcall:2] Set("SIP/2500-00000010", "MIXMON_CALLFILENAME=/var/spool/asterisk/monitor/OUT2500-20131001-153656-1380659816.34.wav") in new stack
            -- Executing [s@macro-hangupcall:3] GotoIf("SIP/2500-00000010", "1?defaultmixmondir") in new stack
            -- Goto (macro-hangupcall,s,5)

            Comentario


            • #7
              -- Executing [s@macro-hangupcall:5] System("SIP/2500-00000010", "test -e /var/spool/asterisk/monitor/OUT2500-20131001-153656-1380659816.34.wav") in new stack
              -- Executing [s@macro-hangupcall:6] NoOp("SIP/2500-00000010", "SYSTEMSTATUS = SUCCESS") in new stack
              -- Executing [s@macro-hangupcall:7] GotoIf("SIP/2500-00000010", "1?endmixmoncheck") in new stack
              -- Goto (macro-hangupcall,s,9)
              -- Executing [s@macro-hangupcall:9] NoOp("SIP/2500-00000010", "End of MIXMON check") in new stack
              -- Executing [s@macro-hangupcall:10] GotoIf("SIP/2500-00000010", "1?nomeetmemon") in new stack
              -- Goto (macro-hangupcall,s,28)
              -- Executing [s@macro-hangupcall:28] NoOp("SIP/2500-00000010", "End of MEETME check") in new stack
              -- Executing [s@macro-hangupcall:29] GotoIf("SIP/2500-00000010", "1?noautomon") in new stack
              -- Goto (macro-hangupcall,s,34)

              Comentario


              • #8
                -- Executing [s@macro-hangupcall:34] NoOp("SIP/2500-00000010", "TOUCH_MONITOR_OUTPUT=") in new stack
                -- Executing [s@macro-hangupcall:35] GotoIf("SIP/2500-00000010", "1?noautomon2") in new stack
                -- Goto (macro-hangupcall,s,41)
                -- Executing [s@macro-hangupcall:41] NoOp("SIP/2500-00000010", "MONITOR_FILENAME=") in new stack
                -- Executing [s@macro-hangupcall:42] GotoIf("SIP/2500-00000010", "1?skiprg") in new stack
                -- Goto (macro-hangupcall,s,45)
                -- Executing [s@macro-hangupcall:45] GotoIf("SIP/2500-00000010", "1?skipblkvm") in new stack
                -- Goto (macro-hangupcall,s,48)
                -- Executing [s@macro-hangupcall:48] GotoIf("SIP/2500-00000010", "1?theend") in new stack
                -- Goto (macro-hangupcall,s,50)
                -- Executing [s@macro-hangupcall:50] AGI("SIP/2500-00000010", "hangup.agi") in new stack
                -- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
                -- <SIP/2500-00000010>AGI Script hangup.agi completed, returning 0
                -- Executing [s@macro-hangupcall:51] Hangup("SIP/2500-00000010", "") in new stack
                == Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'SIP/2500-00000010' in macro 'hangupcall'
                == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/2500-00000010'
                == MixMonitor close filestream (mixed)
                == End MixMonitor Recording SIP/2500-00000010
                192*CLI>

                Comentario


                • #9
                  mi plan de marcado es
                  sucursal A extenciones 2100 a 3000 salida a B 1XX y 20XX
                  sucursal B extenciones 101 a 110 y 2010 y 2011, salida a A 2XXX

                  ESTO ES CORRECTO????????

                  Comentario


                  • #10
                    Sugerencia: para la próxima ocasión que tengas que pegar tanto código, es más fácil si lo pegas todo en http://pastebin.com y luego solo nos pegas la liga. Se mantiene el formato más limpio en vez de que tengas que crear 6 mensajes para describirlo.

                    De acuerdo con la línea:

                    TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 50 - failing through to other trunks"

                    Allí falla la llamada y por eso te da el mensaje de que todos los circuitos están ocupados. Ahora necesitas ver que aparece del lado del equipo que recibe la llamada para saber por que falla.

                    Pega la configuración de las troncales que creaste en cada equipo.
                    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


                    • #11
                      perdón soy nuevo en el foro muchas gracias y del otro lado no aparce nada cuando realizo la llamada. estas son mis rutas de salida plan.jpg

                      Comentario


                      • #12
                        No pongas las rutas de salida, sino la configuración de las troncales. Necesitamos ver las troncales de ambos lados porque muy seguramente no se están entendiendo entre tus 2 Elastix.
                        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

                        Principales Usuarios Activos

                        Colapsar

                        No hay usuarios activos superiores.
                        Trabajando...
                        X