Cursos Asterisk en México

Se corta llamada despues de 20 segundos

Colapsar

Anuncio

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

  • Se corta llamada despues de 20 segundos

    Buenas tardes, tengo este detalle, he configurado mi elastix para sacar llamadas, todo funciona bien, pero al poner PIN de identificacion hace la llamada y se entabla la conexion, pero despues de 20 segundos se corta la llamada. Esto no lo hace si no activo el PIN.

    Dejo el log de lo que hace elastix:

    -- Executing [98117700@from-internal:1] Macro("SIP/2101-00000002", "user-callerid,SKIPTTL,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/2101-00000002", "AMPUSER=2101") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("SIP/2101-00000002", "0?report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("SIP/2101-00000002", "1?Set(REALCALLERIDNUM=2101)") in new stack
    -- Executing [s@macro-user-callerid:4] Set("SIP/2101-00000002", "AMPUSER=2101") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/2101-00000002", "AMPUSERCIDNAME=Jose Reyna") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/2101-00000002", "0?report") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/2101-00000002", "AMPUSERCID=2101") in new stack
    -- Executing [s@macro-user-callerid:8] Set("SIP/2101-00000002", "CALLERID(all)="Jose Reyna" <2101>") in new stack
    -- Executing [s@macro-user-callerid:9] ExecIf("SIP/2101-00000002", "1?Set(CHANNEL(language)=es)") in new stack
    -- Executing [s@macro-user-callerid:10] GotoIf("SIP/2101-00000002", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,19)
    -- Executing [s@macro-user-callerid:19] NoOp("SIP/2101-00000002", "Using CallerID "Jose Reyna" <2101>") in new stack
    -- Executing [98117700@from-internal:2] Macro("SIP/2101-00000002", "pinsets,4,1") in new stack
    -- Executing [s@macro-pinsets:1] GotoIf("SIP/2101-00000002", "1 = 1?cdr,1") in new stack
    -- Goto (macro-pinsets,cdr,1)
    -- Executing [cdr@macro-pinsets:1] ExecIf("SIP/2101-00000002", "1?Authenticate(/etc/asterisk/pinset_4,a)") in new stack
    -- <SIP/2101-00000002> Playing 'agent-pass.gsm' (language 'es')
    -- <SIP/2101-00000002> Playing 'auth-thankyou.gsm' (language 'es')
    -- Executing [cdr@macro-pinsets:2] ExecIf("SIP/2101-00000002", "1?ResetCDR()") in new stack
    -- Executing [98117700@from-internal:3] Set("SIP/2101-00000002", "_NODEST=") in new stack
    -- Executing [98117700@from-internal:4] Macro("SIP/2101-00000002", "record-enable,2101,OUT,") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("SIP/2101-00000002", "1?check") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] ExecIf("SIP/2101-00000002", "0?MacroExit()") in new stack
    -- Executing [s@macro-record-enable:5] GotoIf("SIP/2101-00000002", "0?Group:OUT") in new stack
    -- Goto (macro-record-enable,s,15)
    -- Executing [s@macro-record-enable:15] GotoIf("SIP/2101-00000002", "0?IN") in new stack
    -- Executing [s@macro-record-enable:16] ExecIf("SIP/2101-00000002", "1?MacroExit()") in new stack
    -- Executing [98117700@from-internal:5] Macro("SIP/2101-00000002", "dialout-trunk,2,8117700,,") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/2101-00000002", "DIAL_TRUNK=2") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/2101-00000002", "0?sub-pincheck,s,1") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/2101-00000002", "0?disabletrunk,1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("SIP/2101-00000002", "DIAL_NUMBER=8117700") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("SIP/2101-00000002", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("SIP/2101-00000002", "OUTBOUND_GROUP=OUT_2") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/2101-00000002", "1?nomax") in new stack
    -- Goto (macro-dialout-trunk,s,9)
    -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/2101-00000002", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("SIP/2101-00000002", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("SIP/2101-00000002", "outbound-callerid,2") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/2101-00000002", "0?Set(CALLERPRES()=)") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/2101-00000002", "0?Set(REALCALLERIDNUM=2101)") in new stack
    -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/2101-00000002", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s@macro-outbound-callerid:6] Set("SIP/2101-00000002", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("SIP/2101-00000002", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("SIP/2101-00000002", "TRUNKOUTCID=8688193473") in new stack
    -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/2101-00000002", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,12)
    -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/2101-00000002", "1?Set(CALLERID(all)=8688193473)") in new stack
    -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/2101-00000002", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/2101-00000002", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/2101-00000002", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
    -- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/2101-00000002", "0?AGI(fixlocalprefix)") in new stack
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/2101-00000002", "OUTNUM=8117700") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/2101-00000002", "custom=DAHDI/g1") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/2101-00000002", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))") in new stack
    -- Executing [s@macro-dialout-trunk:16] Macro("SIP/2101-00000002", "dialout-trunk-predial-hook,") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/2101-00000002", "") in new stack
    -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/2101-00000002", "0?bypass,1") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/2101-00000002", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:19] Dial("SIP/2101-00000002", "DAHDI/g1/8117700,300,") in new stack
    -- Called g1/8117700
    -- DAHDI/4-1 answered SIP/2101-00000002
    -- Executing [h@macro-dialout-trunk:1] Macro("SIP/2101-00000002", "hangupcall,") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/2101-00000002", "1?noautomon") in new stack
    -- Goto (macro-hangupcall,s,3)
    -- Executing [s@macro-hangupcall:3] NoOp("SIP/2101-00000002", "TOUCH_MONITOR_OUTPUT=") in new stack
    -- Executing [s@macro-hangupcall:4] GotoIf("SIP/2101-00000002", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,7)
    -- Executing [s@macro-hangupcall:7] GotoIf("SIP/2101-00000002", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,10)
    -- Executing [s@macro-hangupcall:10] GotoIf("SIP/2101-00000002", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,12)
    -- Executing [s@macro-hangupcall:12] Hangup("SIP/2101-00000002", "") in new stack
    == Spawn extension (macro-hangupcall, s, 12) exited non-zero on 'SIP/2101-00000002' in macro 'hangupcall'
    -- Hungup 'DAHDI/4-1'
    == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'SIP/2101-00000002' in macro 'dialout-trunk'
    == Spawn extension (from-internal, 98117700, 5) exited non-zero on 'SIP/2101-00000002'
    elastix*CLI>

  • #2
    Re: Se corta llamada despues de 20 segundos

    En tu log no se ve nada anormal del por que se corte la llamada. Activa el debug en el logger.conf y repite la operación, a ver si allí se nota la razón por la cual se corta la llamada.

    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
      Re: Se corta llamada despues de 20 segundos

      Ya quedo resuleto, era la version del x-lite (version 3), se hizo pruebas con otro software y la version 4 de x-lite y funciono correctamente.

      Comentario


      • #4
        Hola. Quiero retomar este post porque tengo exactamente el problema. Asterisk está en otra localización, y en mi oficina tengo un teléfono grandstream GXP1160, del cual intento hacer una llamada y se corta después de 20 segundos.

        Todos los puertos están abiertos en el firewall y el NAT está hecho correctamente. En mi sip_generel_custom.conf tengo configurada externip así como localnet.

        Espero que alguien pueda ayudarme. Gracias.

        Comentario


        • #5
          abre un nuevo tema e igual que en este pon la salida del CLI y de preferencia con el debug
          Hector Alvarez
          dCAP Certified #2199
          http://mx.linkedin.com/in/alvarezhector/

          Comentario

          Nube de Etiquetas

          Colapsar

          Principales Usuarios Activos

          Colapsar

          No hay usuarios activos superiores.
          Trabajando...
          X