Cursos Asterisk en México

Grabación de llamadas salientes

Colapsar

Anuncio

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

  • Grabación de llamadas salientes

    Hola que tal, tengo una consulta y es la siguiente:

    en el servidor Asterisk/Elastix que tengo instalado se están grabando todas las llamadas pero a raíz de haber modificado un contexto en freepbx dejo de grabar solo las llamadas Salientes, ya di de baja el contexto en freepbx pero sigo con el problema.

    No estoy seguro si la causa fue el contexto en freepbx pero coincide con las fechas de grabación.

    Agradezco la atención y espero sus comentarios, saludos.

  • #2
    Tendrías que mostrarnos un log de una llamada saliente completa. Y verificar que estén activadas por extensión.

    Comentario


    • #3
      navaismo gracias por contestar como siempre aqui te envio esto saludos y gracias.


      -- Executing [904455XXXXXXXX@from-internal:1] NoOp("SIP/126-00002127", "") i n new stack
      == Extension Changed 126[ext-local] new state InUse for Notify User 100
      -- Executing [904455XXXXXXXX@from-internal:2] Answer("SIP/126-00002127", "") in new stack
      > 0x2b69fc948c30 -- Probation passed - setting RTP source address to 172. 16.1.218:11800
      -- Executing [904455XXXXXXXX@from-internal:3] VMAuthenticate("SIP/126-000021 27", "126") in new stack
      -- <SIP/126-00002127> Playing 'vm-password.gsm' (language 'en')
      [Dec 18 15:40:32] DTMF[8415][C-00001e62]: channel.c:4170 __ast_read: DTMF begin '4' received on SIP/126-00002127
      [Dec 18 15:40:32] DTMF[8415][C-00001e62]: channel.c:4174 __ast_read: DTMF begin ignored '4' on SIP/126-00002127
      [Dec 18 15:40:32] DTMF[8415][C-00001e62]: channel.c:4084 __ast_read: DTMF end '4 ' received on SIP/126-00002127, duration 100 ms
      [Dec 18 15:40:32] DTMF[8415][C-00001e62]: channel.c:4154 __ast_read: DTMF end pa ssthrough '4' on SIP/126-00002127
      [Dec 18 15:40:32] DTMF[8415][C-00001e62]: channel.c:4170 __ast_read: DTMF begin '5' received on SIP/126-00002127
      [Dec 18 15:40:32] DTMF[8415][C-00001e62]: channel.c:4174 __ast_read: DTMF begin ignored '5' on SIP/126-00002127
      [Dec 18 15:40:32] DTMF[8415][C-00001e62]: channel.c:4084 __ast_read: DTMF end '5 ' received on SIP/126-00002127, duration 100 ms
      [Dec 18 15:40:32] DTMF[8415][C-00001e62]: channel.c:4154 __ast_read: DTMF end pa ssthrough '5' on SIP/126-00002127
      [Dec 18 15:40:32] DTMF[8415][C-00001e62]: channel.c:4170 __ast_read: DTMF begin '4' received on SIP/126-00002127
      [Dec 18 15:40:32] DTMF[8415][C-00001e62]: channel.c:4174 __ast_read: DTMF begin ignored '4' on SIP/126-00002127
      [Dec 18 15:40:32] DTMF[8415][C-00001e62]: channel.c:4084 __ast_read: DTMF end '4 ' received on SIP/126-00002127, duration 100 ms
      [Dec 18 15:40:32] DTMF[8415][C-00001e62]: channel.c:4154 __ast_read: DTMF end pa ssthrough '4' on SIP/126-00002127
      [Dec 18 15:40:32] DTMF[8415][C-00001e62]: channel.c:4170 __ast_read: DTMF begin '5' received on SIP/126-00002127
      [Dec 18 15:40:32] DTMF[8415][C-00001e62]: channel.c:4174 __ast_read: DTMF begin ignored '5' on SIP/126-00002127
      [Dec 18 15:40:32] DTMF[8415][C-00001e62]: channel.c:4084 __ast_read: DTMF end '5 ' received on SIP/126-00002127, duration 100 ms
      [Dec 18 15:40:32] DTMF[8415][C-00001e62]: channel.c:4154 __ast_read: DTMF end pa ssthrough '5' on SIP/126-00002127
      [Dec 18 15:40:33] DTMF[8415][C-00001e62]: channel.c:4170 __ast_read: DTMF begin '#' received on SIP/126-00002127
      [Dec 18 15:40:33] DTMF[8415][C-00001e62]: channel.c:4174 __ast_read: DTMF begin ignored '#' on SIP/126-00002127
      [Dec 18 15:40:33] DTMF[8415][C-00001e62]: channel.c:4084 __ast_read: DTMF end '# ' received on SIP/126-00002127, duration 100 ms
      [Dec 18 15:40:33] DTMF[8415][C-00001e62]: channel.c:4154 __ast_read: DTMF end pa ssthrough '#' on SIP/126-00002127
      -- <SIP/126-00002127> Playing 'auth-thankyou.gsm' (language 'en')
      -- Executing [90445539486523@from-internal:4] Macro("SIP/126-00002127", "dia lout-trunk,1,0445539486523,") in new stack
      -- Executing [s@macro-dialout-trunk:1] Set("SIP/126-00002127", "DIAL_TRUNK=1 ") in new stack
      -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/126-00002127", "0?sub-pi ncheck,s,1") in new stack
      -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/126-00002127", "0?disable trunk,1") in new stack
      -- Executing [s@macro-dialout-trunk:4] Set("SIP/126-00002127", "DIAL_NUMBER= 0445539486523") in new stack
      -- Executing [s@macro-dialout-trunk:5] Set("SIP/126-00002127", "DIAL_TRUNK_O PTIONS=tr") in new stack
      -- Executing [s@macro-dialout-trunk:6] Set("SIP/126-00002127", "OUTBOUND_GRO UP=OUT_1") in new stack
      -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/126-00002127", "1?nomax") in new stack
      -- Goto (macro-dialout-trunk,s,9)
      -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/126-00002127", "0?skipout cid") in new stack
      -- Executing [s@macro-dialout-trunk:10] Set("SIP/126-00002127", "DIAL_TRUNK_ OPTIONS=") in new stack
      -- Executing [s@macro-dialout-trunk:11] Macro("SIP/126-00002127", "outbound- callerid,1") in new stack
      -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/126-00002127", "0?Set (CALLERPRES()=)") in new stack
      -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/126-00002127", "1?Set (REALCALLERIDNUM=126)") in new stack
      -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/126-00002127", "1?nor mcid") in new stack
      -- Goto (macro-outbound-callerid,s,6)
      -- Executing [s@macro-outbound-callerid:6] Set("SIP/126-00002127", "USEROUTC ID=") in new stack
      -- Executing [s@macro-outbound-callerid:7] Set("SIP/126-00002127", "EMERGENC YCID=") in new stack
      -- Executing [s@macro-outbound-callerid:8] Set("SIP/126-00002127", "TRUNKOUT CID=") in new stack
      -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/126-00002127", "1?tru nkcid") in new stack
      -- Goto (macro-outbound-callerid,s,12)
      -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/126-00002127", "0?Se t(CALLERID(all)=)") in new stack
      -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/126-00002127", "0?Se t(CALLERID(all)=)") in new stack
      -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/126-00002127", "0?Se t(CALLERID(all)=)") in new stack
      -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/126-00002127", "0?Se t(CALLERPRES()=prohib_passed_screen)") in new stack
      -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/126-00002127", "0?sub-f lp-1,s,1") in new stack
      -- Executing [s@macro-dialout-trunk:13] Set("SIP/126-00002127", "OUTNUM=0445 539486523") in new stack
      -- Executing [s@macro-dialout-trunk:14] Set("SIP/126-00002127", "custom=DAHD I/g0") in new stack
      -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/126-00002127", "0?Set(DI AL_TRUNK_OPTIONS=M(setmusic^))") in new stack
      -- Executing [s@macro-dialout-trunk:16] Macro("SIP/126-00002127", "dialout-t runk-predial-hook,") in new stack
      -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/126-00002 127", "") in new stack
      -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/126-00002127", "0?bypass ,1") in new stack
      -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/126-00002127", "0?custom trunk") in new stack
      -- Executing [s@macro-dialout-trunk:19] Dial("SIP/126-00002127", "DAHDI/g0/0 445539486523,300,") in new stack
      -- Called DAHDI/g0/04455XXXXXXXX
      MFC/R2 call has been accepted on forward channel 2
      -- DAHDI/2-1 is ringing
      -- DAHDI/2-1 is making progress passing it to SIP/126-00002127
      MFC/R2 call has been answered on channel 2
      -- DAHDI/2-1 answered SIP/126-00002127


      este es el log y la extensión tiene activo el campo de grabación "always"

      Comentario


      • #4
        En efecto no veo que mande llamar el macro de la grabación. Hiciste algún override del contexto usando el archivo elastix_extension_override.conf(o algo asi se llama)? Si no tienes nada en ese archivo muestranos el dialplan desde la consola.

        Comentario


        • #5
          hola que tal, ya logre hacer que funcionen las grabaciones pero solo de entrada, colas y grupos, pero sigue sin grabar llamadas de salida, lo que hice fue restaurar una copia que tenia de hace algunos meses y la adapte al nuevo plan de marcacion, voy a pegar ahora las lineas que arroja al hacer una llamada saliente, agradezco sus comentarios,
          incluso ya compare los archivos con los de una maquina virtual que cree para ver si me hacia falta algún campo o algo parecido pero no logro encontrar el error.
          saludos.

          -- <SIP/126-000008c6> Playing 'auth-thankyou.gsm' (language 'en')
          -- Executing [90445539486523@from-internal:4] Macro("SIP/126-000008c6", "record-enable,,OUT,") in new stack
          -- Executing [s@macro-record-enable:1] GotoIf("SIP/126-000008c6", "1?check") in new stack
          -- Goto (macro-record-enable,s,4)
          -- Executing [s@macro-record-enable:4] ExecIf("SIP/126-000008c6", "1?MacroExit()") in new stack
          -- Executing [90445539486523@from-internal:5] Macro("SIP/126-000008c6", "dialout-trunk,1,0445539486523,") in new stack
          -- Executing [s@macro-dialout-trunk:1] Set("SIP/126-000008c6", "DIAL_TRUNK=1") in new stack
          -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/126-000008c6", "0?sub-pincheck,s,1") in new stack
          -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/126-000008c6", "0?disabletrunk,1") in new stack
          -- Executing [s@macro-dialout-trunk:4] Set("SIP/126-000008c6", "DIAL_NUMBER=0445539486523") in new stack
          -- Executing [s@macro-dialout-trunk:5] Set("SIP/126-000008c6", "DIAL_TRUNK_OPTIONS=tr") in new stack
          -- Executing [s@macro-dialout-trunk:6] Set("SIP/126-000008c6", "OUTBOUND_GROUP=OUT_1") in new stack
          -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/126-000008c6", "1?nomax") in new stack
          -- Goto (macro-dialout-trunk,s,9)
          -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/126-000008c6", "0?skipoutcid") in new stack
          -- Executing [s@macro-dialout-trunk:10] Set("SIP/126-000008c6", "DIAL_TRUNK_OPTIONS=") in new stack
          -- Executing [s@macro-dialout-trunk:11] Macro("SIP/126-000008c6", "outbound-callerid,1") in new stack
          -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/126-000008c6", "0?Set(CALLERPRES()=)") in new stack
          -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/126-000008c6", "1?Set(REALCALLERIDNUM=126)") in new stack
          -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/126-000008c6", "1?normcid") in new stack
          -- Goto (macro-outbound-callerid,s,6)
          -- Executing [s@macro-outbound-callerid:6] Set("SIP/126-000008c6", "USEROUTCID=") in new stack
          -- Executing [s@macro-outbound-callerid:7] Set("SIP/126-000008c6", "EMERGENCYCID=") in new stack
          -- Executing [s@macro-outbound-callerid:8] Set("SIP/126-000008c6", "TRUNKOUTCID=") in new stack
          -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/126-000008c6", "1?trunkcid") in new stack
          -- Goto (macro-outbound-callerid,s,12)
          -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/126-000008c6", "0?Set(CALLERID(all)=)") in new stack
          -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/126-000008c6", "0?Set(CALLERID(all)=)") in new stack
          -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/126-000008c6", "0?Set(CALLERID(all)=)") in new stack
          -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/126-000008c6", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
          -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/126-000008c6", "0?sub-flp-1,s,1") in new stack
          -- Executing [s@macro-dialout-trunk:13] Set("SIP/126-000008c6", "OUTNUM=0445539486523") in new stack
          -- Executing [s@macro-dialout-trunk:14] Set("SIP/126-000008c6", "custom=DAHDI/g0") in new stack
          -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/126-000008c6", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))") in new stack
          -- Executing [s@macro-dialout-trunk:16] Macro("SIP/126-000008c6", "dialout-trunk-predial-hook,") in new stack
          -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/126-000008c6", "") in new stack
          -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/126-000008c6", "0?bypass,1") in new stack
          -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/126-000008c6", "0?customtrunk") in new stack
          -- Executing [s@macro-dialout-trunk:19] Dial("SIP/126-000008c6", "DAHDI/g0/0445539486523,300,") in new stack
          -- Called DAHDI/g0/0445539486523
          MFC/R2 call has been accepted on forward channel 1
          -- DAHDI/1-1 is ringing
          -- DAHDI/1-1 is making progress passing it to SIP/126-000008c6
          MFC/R2 call has been answered on channel 1
          -- DAHDI/1-1 answered SIP/126-000008c6
          -- Executing [h@macro-dialout-trunk:1] Macro("SIP/126-000008c6", "hangupcall,") in new stack
          -- Executing [s@macro-hangupcall:1] GotoIf("SIP/126-000008c6", "1?endmixmoncheck") in new stack
          -- Goto (macro-hangupcall,s,9)
          -- Executing [s@macro-hangupcall:9] NoOp("SIP/126-000008c6", "End of MIXMON check") in new stack
          -- Executing [s@macro-hangupcall:10] GotoIf("SIP/126-000008c6", "1?nomeetmemon") in new stack
          -- Goto (macro-hangupcall,s,28)
          -- Executing [s@macro-hangupcall:28] NoOp("SIP/126-000008c6", "End of MEETME check") in new stack
          -- Executing [s@macro-hangupcall:29] GotoIf("SIP/126-000008c6", "1?noautomon") in new stack
          -- Goto (macro-hangupcall,s,34)
          -- Executing [s@macro-hangupcall:34] NoOp("SIP/126-000008c6", "TOUCH_MONITOR_OUTPUT=") in new stack
          -- Executing [s@macro-hangupcall:35] GotoIf("SIP/126-000008c6", "1?noautomon2") in new stack
          -- Goto (macro-hangupcall,s,41)
          -- Executing [s@macro-hangupcall:41] NoOp("SIP/126-000008c6", "MONITOR_FILENAME=") in new stack
          -- Executing [s@macro-hangupcall:42] GotoIf("SIP/126-000008c6", "1?skiprg") in new stack
          -- Goto (macro-hangupcall,s,45)
          -- Executing [s@macro-hangupcall:45] GotoIf("SIP/126-000008c6", "1?skipblkvm") in new stack
          -- Goto (macro-hangupcall,s,48)
          -- Executing [s@macro-hangupcall:48] GotoIf("SIP/126-000008c6", "1?theend") in new stack
          -- Goto (macro-hangupcall,s,50)
          -- Executing [s@macro-hangupcall:50] AGI("SIP/126-000008c6", "hangup.agi") in new stack
          -- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
          -- <SIP/126-000008c6>AGI Script hangup.agi completed, returning 0
          -- Executing [s@macro-hangupcall:51] Hangup("SIP/126-000008c6", "") in new stack
          == Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'SIP/126-000008c6' in macro 'hangupcall'
          == Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/126-000008c6'
          -- Hungup 'DAHDI/1-1'
          == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'SIP/126-000008c6' in macro 'dialout-trunk'
          == Spawn extension (from-internal, 90445539486523, 5) exited non-zero on 'SIP/126-000008c6'
          == Extension Changed 126[ext-local] new state Idle for Notify User 100
          MFC/R2 call end on channel 1

          Comentario


          • #6
            ya lo solucione y fue que en el archivo extensions_override elastix-conf le hacia falta la antepenúltima linea al contexto macro record enable.

            Comentario

            Nube de Etiquetas

            Colapsar

            Principales Usuarios Activos

            Colapsar

            No hay usuarios activos superiores.
            Trabajando...
            X