Cursos Asterisk en México

Falla en llamadas de extensiones externas

Colapsar

Anuncio

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

  • Falla en llamadas de extensiones externas

    Saludos amigos antes que nada unas Felices Pascuas para todos los miembros de esta lista y sus familias, acudo a ustedes haber si me pueden ayudar con este problema, tengo extensiones locales y externas en otras ciudades cuando una llamada de una extensión externa a cualquier número la llamada se cuelga ni si quiera timbra, pero en las extensiones internas funciona bien en la parte del cli me arroja esto

    == Using SIP RTP TOS bits 184
    == Using SIP RTP CoS mark 5
    -- Executing [042515434@from-internal:1] Macro("SIP/400-0000000f", "user-callerid,SKIPTTL,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/400-0000000f", "AMPUSER=400") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("SIP/400-0000000f", "0?report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("SIP/400-0000000f", "1?Set(REALCALLERIDNUM=400)") in new stack
    -- Executing [s@macro-user-callerid:4] Set("SIP/400-0000000f", "AMPUSER=400") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/400-0000000f", "AMPUSERCIDNAME=Guayaquil") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/400-0000000f", "0?report") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/400-0000000f", "AMPUSERCID=400") in new stack
    -- Executing [s@macro-user-callerid:8] Set("SIP/400-0000000f", "CALLERID(all)="Guayaquil" <400>") in new stack
    -- Executing [s@macro-user-callerid:9] ExecIf("SIP/400-0000000f", "1?Set(CHANNEL(language)=es)") in new stack
    -- Executing [s@macro-user-callerid:10] GotoIf("SIP/400-0000000f", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,19)
    -- Executing [s@macro-user-callerid:19] Set("SIP/400-0000000f", "CALLERID(number)=400") in new stack
    -- Executing [s@macro-user-callerid:20] Set("SIP/400-0000000f", "CALLERID(name)=Guayaquil") in new stack
    -- Executing [s@macro-user-callerid:21] NoOp("SIP/400-0000000f", "Using CallerID "Guayaquil" <400>") in new stack
    -- Executing [042515434@from-internal:2] Macro("SIP/400-0000000f", "pinsets,2,1") in new stack
    -- Executing [s@macro-pinsets:1] GotoIf("SIP/400-0000000f", "1 = 1?cdr,1") in new stack
    -- Goto (macro-pinsets,cdr,1)
    -- Executing [cdr@macro-pinsets:1] ExecIf("SIP/400-0000000f", "1?Authenticate(/etc/asterisk/pinset_2,a)") in new stack
    -- <SIP/400-0000000f> Playing 'agent-pass.gsm' (language 'es')
    -- <SIP/400-0000000f> Playing 'vm-goodbye.gsm' (language 'es')
    == Spawn extension (macro-pinsets, cdr, 1) exited non-zero on 'SIP/400-0000000f' in macro 'pinsets'
    == Spawn extension (from-internal, 042515434, 2) exited non-zero on 'SIP/400-0000000f'
    -- Executing [h@from-internal:1] Macro("SIP/400-0000000f", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/400-0000000f", "1?endmixmoncheck") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] NoOp("SIP/400-0000000f", "End of MIXMON check") in new stack
    -- Executing [s@macro-hangupcall:10] GotoIf("SIP/400-0000000f", "1?nomeetmemon") in new stack
    -- Goto (macro-hangupcall,s,28)
    -- Executing [s@macro-hangupcall:28] NoOp("SIP/400-0000000f", "End of MEETME check") in new stack
    -- Executing [s@macro-hangupcall:29] GotoIf("SIP/400-0000000f", "1?noautomon") in new stack
    -- Goto (macro-hangupcall,s,34)
    -- Executing [s@macro-hangupcall:34] NoOp("SIP/400-0000000f", "TOUCH_MONITOR_OUTPUT=") in new stack
    -- Executing [s@macro-hangupcall:35] GotoIf("SIP/400-0000000f", "1?noautomon2") in new stack
    -- Goto (macro-hangupcall,s,41)
    -- Executing [s@macro-hangupcall:41] NoOp("SIP/400-0000000f", "MONITOR_FILENAME=") in new stack
    -- Executing [s@macro-hangupcall:42] GotoIf("SIP/400-0000000f", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,45)
    -- Executing [s@macro-hangupcall:45] GotoIf("SIP/400-0000000f", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,48)
    -- Executing [s@macro-hangupcall:48] GotoIf("SIP/400-0000000f", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,50)
    -- Executing [s@macro-hangupcall:50] AGI("SIP/400-0000000f", "hangup.agi") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
    -- <SIP/400-0000000f>AGI Script hangup.agi completed, returning 0
    -- Executing [s@macro-hangupcall:51] Hangup("SIP/400-0000000f", "") in new stack
    == Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'SIP/400-0000000f' in macro 'hangupcall'
    == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/400-0000000f'

    == Using SIP RTP TOS bits 184
    == Using SIP RTP CoS mark 5
    -- Called SIP/cnt/2554271
    -- SIP/cnt-00000011 is ringing
    -- SIP/cnt-00000011 is making progress passing it to SIP/400-00000010
    -- SIP/cnt-00000011 answered SIP/400-00000010
    -- Locally bridging SIP/400-00000010 and SIP/cnt-00000011
    -- Executing [h@macro-dialout-trunk:1] Macro("SIP/400-00000010", "hangupcall,") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/400-00000010", "1?endmixmoncheck") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] NoOp("SIP/400-00000010", "End of MIXMON check") in new stack
    -- Executing [s@macro-hangupcall:10] GotoIf("SIP/400-00000010", "1?nomeetmemon") in new stack
    -- Goto (macro-hangupcall,s,28)
    -- Executing [s@macro-hangupcall:28] NoOp("SIP/400-00000010", "End of MEETME check") in new stack
    -- Executing [s@macro-hangupcall:29] GotoIf("SIP/400-00000010", "1?noautomon") in new stack
    -- Goto (macro-hangupcall,s,34)
    -- Executing [s@macro-hangupcall:34] NoOp("SIP/400-00000010", "TOUCH_MONITOR_OUTPUT=") in new stack
    -- Executing [s@macro-hangupcall:35] GotoIf("SIP/400-00000010", "1?noautomon2") in new stack
    -- Goto (macro-hangupcall,s,41)
    -- Executing [s@macro-hangupcall:41] NoOp("SIP/400-00000010", "MONITOR_FILENAME=") in new stack
    -- Executing [s@macro-hangupcall:42] GotoIf("SIP/400-00000010", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,45)
    -- Executing [s@macro-hangupcall:45] GotoIf("SIP/400-00000010", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,48)
    -- Executing [s@macro-hangupcall:48] GotoIf("SIP/400-00000010", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,50)
    -- Executing [s@macro-hangupcall:50] AGI("SIP/400-00000010", "hangup.agi") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
    -- <SIP/400-00000010>AGI Script hangup.agi completed, returning 0
    -- Executing [s@macro-hangupcall:51] Hangup("SIP/400-00000010", "") in new stack
    == Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'SIP/400-00000010' in macro 'hangupcall'
    == Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/400-00000010'
    == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'SIP/400-00000010' in macro 'dialout-trunk'
    == Spawn extension (from-internal, 2554271, 6) exited non-zero on 'SIP/400-00000010'
    Editado por última vez por chelinux; https://asteriskmx.org/foros/member/2043-chelinux en 12-25-2013, 11:57 AM. Razón: me falco colocar el log completo

  • #2
    Te recomiendo que en una extension de prueba, para aislar el problema y no sea tu macro le marques directo ( sin usar macro)
    algo así:
    en extensions-custom.conf o extensions.conf (dependiendo que estés usando)

    [MyExtenPrueba]
    exten=>_1234,1,Dial(SIP/${EXTEN},60,Tt)
    exten=>_1234,n,Hangup

    [llamadasExternas]
    include => MyExtenPrueba

    Tiene demasiadas cosas tu macro(depurala), para que se establezca una llamada.

    Otra observación es te autentificas (no se ven los dígitos, puede ser que se estén perdiendo) hay que tomar en cuenta que los tonos (DTMF) en algunos teléfonos hay que enviarlos como (SIP INFO hacia Asterisk) o cambia de codec en tu troncal.

    Comentario


    • #3
      Hola gracias por responder trate de encontrar el archivo donde estas las extensiones pero no encuentro edite extensions.conf , extensions_additional.conf, extensions_custom.conf, tengo asterisk y elastixs 2.4 y desde ahí cree las extensiones.

      Con respecto al codec

      1.- Si cambio este codec puede pasar algo con el funcionamiento de las llamadas en las extensiones locales que actualmente funcionan bien
      2.- Que codec me recomendarías para probar


      Gracias nuevamente

      Comentario

      Principales Usuarios Activos

      Colapsar

      No hay usuarios activos superiores.
      Trabajando...
      X