Cursos Asterisk en México

No se escucha tono de timbre

Colapsar

Anuncio

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

  • No se escucha tono de timbre

    Buen día

    he instalado un equipo con Elastix y una troncal SIP de Alestra, el problema que tengo es que las llamadas entrantes no escuchan el timbre en la extensión, de hecho no se escucha nada y da la sensación que la llamada no estuviera entrando al PBX cuando en realidad si, ¿hay alguna forma de modificar esto para que la persona que llama de fuera escuche este tono?

    gracias

  • #2
    Intenta activando la señal de ring(SIGNAL RINGING) desde tu Ruta de Entrada(Inbound Route).

    Comentario


    • #3
      Gracias por tu respuesta Navaismo, así lo tengo y no suena

      ¿alguna otra sugerencia?

      Comentario


      • #4
        Captura el SIP DEBUG completo de una llamada entrante para ver si el pbx está enviando el 180/183.

        Comentario


        • #5
          Te comparto el LOG

          Saludos

          pbxhmo*CLI>
           -- Executing [2156@from-trunk-sip-alestra:1] Set("SIP/alestra-00000052", "GROUP()=OUT_2") in new stack

          pbxhmo*CLI>
           -- Executing [2156@from-trunk-sip-alestra:2] Goto("SIP/alestra-00000052", "from-trunk,2156,1") in new stack

          pbxhmo*CLI>
           -- Goto (from-trunk,2156,1)
          -- Executing [2156@from-trunk:1] Set("SIP/alestra-00000052", "__FROM_DID=2156") in new stack

          pbxhmo*CLI>
           -- Executing [2156@from-trunk:2] Gosub("SIP/alestra-00000052", "app-blacklist-check,s,1") in new stack
          -- Executing [s@app-blacklist-check:1] GotoIf("SIP/alestra-00000052", "0?blacklisted") in new stack

          pbxhmo*CLI>
           -- Executing [s@app-blacklist-check:2] Set("SIP/alestra-00000052", "CALLED_BLACKLIST=1") in new stack
          -- Executing [s@app-blacklist-check:3] Return("SIP/alestra-00000052", "") in new stack

          pbxhmo*CLI>
           -- Executing [2156@from-trunk:3] ExecIf("SIP/alestra-00000052", "1 ?Set(CALLERID(name)=6699156000)") in new stack
          -- Executing [2156@from-trunk:4] Set("SIP/alestra-00000052", "__CALLINGPRES_SV=allowed_not_screened") in new stack

          pbxhmo*CLI>
           -- Executing [2156@from-trunk:5] Set("SIP/alestra-00000052", "CALLERPRES()=allowed_not_screened") in new stack

          pbxhmo*CLI>
           -- Executing [2156@from-trunk:6] Goto("SIP/alestra-00000052", "from-did-direct,104,1") in new stack
          -- Goto (from-did-direct,104,1)

          pbxhmo*CLI>
           -- Executing [104@from-did-direct:1] Macro("SIP/alestra-00000052", "exten-vm,novm,104") in new stack

          pbxhmo*CLI>
           -- Executing [s@macro-exten-vm:1] Macro("SIP/alestra-00000052", "user-callerid,") in new stack
          -- Executing [s@macro-user-callerid:1] Set("SIP/alestra-00000052", "AMPUSER=6699156000") in new stack

          pbxhmo*CLI>
           -- Executing [s@macro-user-callerid:2] GotoIf("SIP/alestra-00000052", "0?report") in new stack

          pbxhmo*CLI>
           -- Executing [s@macro-user-callerid:3] ExecIf("SIP/alestra-00000052", "1?Set(REALCALLERIDNUM=6699156000)") in new stack

          pbxhmo*CLI>
           -- Executing [s@macro-user-callerid:4] Set("SIP/alestra-00000052", "AMPUSER=") in new stack
          -- Executing [s@macro-user-callerid:5] Set("SIP/alestra-00000052", "AMPUSERCIDNAME=") in new stack

          pbxhmo*CLI>
           -- Executing [s@macro-user-callerid:6] GotoIf("SIP/alestra-00000052", "1?report") in new stack

          pbxhmo*CLI>
           -- Goto (macro-user-callerid,s,10)

          pbxhmo*CLI>
           -- Executing [s@macro-user-callerid:10] GotoIf("SIP/alestra-00000052", "0?continue") in new stack
          -- Executing [s@macro-user-callerid:11] Set("SIP/alestra-00000052", "__TTL=64") in new stack

          pbxhmo*CLI>
           -- Executing [s@macro-user-callerid:12] GotoIf("SIP/alestra-00000052", "1?continue") in new stack

          pbxhmo*CLI>
           -- Goto (macro-user-callerid,s,19)
          -- Executing [s@macro-user-callerid:19] Set("SIP/alestra-00000052", "CALLERID(number)=6699156000") in new stack
          -- Executing [s@macro-user-callerid:20] Set("SIP/alestra-00000052", "CALLERID(name)=6699156000") in new stack

          pbxhmo*CLI>
           -- Executing [s@macro-user-callerid:21] NoOp("SIP/alestra-00000052", "Using CallerID "6699156000" <6699156000>") in new stack

          pbxhmo*CLI>
           -- Executing [s@macro-exten-vm:2] Set("SIP/alestra-00000052", "RingGroupMethod=none") in new stack
          -- Executing [s@macro-exten-vm:3] Set("SIP/alestra-00000052", "VMBOX=novm") in new stack

          pbxhmo*CLI>
           -- Executing [s@macro-exten-vm:4] Set("SIP/alestra-00000052", "__EXTTOCALL=104") in new stack

          pbxhmo*CLI>
           -- Executing [s@macro-exten-vm:5] Set("SIP/alestra-00000052", "CFUEXT=") in new stack

          pbxhmo*CLI>
           -- Executing [s@macro-exten-vm:6] Set("SIP/alestra-00000052", "CFBEXT=") in new stack

          pbxhmo*CLI>
           -- Executing [s@macro-exten-vm:7] Set("SIP/alestra-00000052", "RT=""") in new stack

          pbxhmo*CLI>
           -- Executing [s@macro-exten-vm:8] Macro("SIP/alestra-00000052", "record-enable,104,IN") in new stack

          pbxhmo*CLI>
           -- Executing [s@macro-record-enable:1] GotoIf("SIP/alestra-00000052", "1?check") in new stack
          -- Goto (macro-record-enable,s,4)

          pbxhmo*CLI>
           -- Executing [s@macro-record-enable:4] ExecIf("SIP/alestra-00000052", "0?MacroExit()") in new stack

          pbxhmo*CLI>
           -- Executing [s@macro-record-enable:5] GotoIf("SIP/alestra-00000052", "0?Group:OUT") in new stack
          -- Goto (macro-record-enable,s,15)

          pbxhmo*CLI>
           -- Executing [s@macro-record-enable:15] GotoIf("SIP/alestra-00000052", "1?IN") in new stack

          pbxhmo*CLI>
           -- Goto (macro-record-enable,s,20)
          -- Executing [s@macro-record-enable:20] ExecIf("SIP/alestra-00000052", "1?MacroExit()") in new stack

          pbxhmo*CLI>
           -- Executing [s@macro-exten-vm:9] Macro("SIP/alestra-00000052", "dial-one,"",tr,104") in new stack

          pbxhmo*CLI>
           -- Executing [s@macro-dial-one:1] Set("SIP/alestra-00000052", "DEXTEN=104") in new stack

          pbxhmo*CLI>
           -- Executing [s@macro-dial-one:2] Set("SIP/alestra-00000052", "DIALSTATUS_CW=") in new stack

          pbxhmo*CLI>
           -- Executing [s@macro-dial-one:3] GosubIf("SIP/alestra-00000052", "0?screen,1") in new stack

          pbxhmo*CLI>
           -- Executing [s@macro-dial-one:4] GosubIf("SIP/alestra-00000052", "0?cf,1") in new stack

          pbxhmo*CLI>
           -- Executing [s@macro-dial-one:5] GotoIf("SIP/alestra-00000052", "1?skip1") in new stack

          pbxhmo*CLI>
           -- Goto (macro-dial-one,s,8)

          Comentario


          • #6
            Segunda parte del Log

            pbxhmo*CLI>
             -- Executing [s@macro-dial-one:8] GotoIf("SIP/alestra-00000052", "0?nodial") in new stack
            pbxhmo*CLI>
             -- Executing [s@macro-dial-one:9] GotoIf("SIP/alestra-00000052", "0?continue") in new stack
            pbxhmo*CLI>
             -- Executing [s@macro-dial-one:10] Set("SIP/alestra-00000052", "EXTHASCW=") in new stack
            pbxhmo*CLI>
             -- Executing [s@macro-dial-one:11] GotoIf("SIP/alestra-00000052", "1?next1:cwinusebusy") in new stack
            pbxhmo*CLI>
             -- Goto (macro-dial-one,s,12)
            pbxhmo*CLI>
             -- Executing [s@macro-dial-one:12] GotoIf("SIP/alestra-00000052", "0?docfu:skip3") in new stack
            pbxhmo*CLI>
             -- Goto (macro-dial-one,s,16)
            pbxhmo*CLI>
             -- Executing [s@macro-dial-one:16] GotoIf("SIP/alestra-00000052", "1?next2:continue") in new stack
            pbxhmo*CLI>
             -- Goto (macro-dial-one,s,17)
            pbxhmo*CLI>
             -- Executing [s@macro-dial-one:17] GotoIf("SIP/alestra-00000052", "1?continue") in new stack
            pbxhmo*CLI>
             -- Goto (macro-dial-one,s,25)
            pbxhmo*CLI>
             -- Executing [s@macro-dial-one:25] GotoIf("SIP/alestra-00000052", "0?nodial") in new stack
            pbxhmo*CLI>
             -- Executing [s@macro-dial-one:26] GosubIf("SIP/alestra-00000052", "1?dstring,1:dlocal,1") in new stack
            pbxhmo*CLI>
             -- Executing [dstring@macro-dial-one:1] Set("SIP/alestra-00000052", "DSTRING=") in new stack
            pbxhmo*CLI>
             -- Executing [dstring@macro-dial-one:2] Set("SIP/alestra-00000052", "DEVICES=104") in new stack
            pbxhmo*CLI>
             -- Executing [dstring@macro-dial-one:3] ExecIf("SIP/alestra-00000052", "0?Return()") in new stack
            pbxhmo*CLI>
             -- Executing [dstring@macro-dial-one:4] ExecIf("SIP/alestra-00000052", "0?Set(DEVICES=04)") in new stack
            pbxhmo*CLI>
             -- Executing [dstring@macro-dial-one:5] Set("SIP/alestra-00000052", "LOOPCNT=1") in new stack
            pbxhmo*CLI>
             -- Executing [dstring@macro-dial-one:6] Set("SIP/alestra-00000052", "ITER=1") in new stack
            pbxhmo*CLI>
             -- Executing [dstring@macro-dial-one:7] Set("SIP/alestra-00000052", "THISDIAL=SIP/104") in new stack
            pbxhmo*CLI>
             -- Executing [dstring@macro-dial-one:8] GosubIf("SIP/alestra-00000052", "1?zap2dahdi,1") in new stack
            pbxhmo*CLI>
             -- Executing [zap2dahdi@macro-dial-one:1] ExecIf("SIP/alestra-00000052", "0?Return()") in new stack
            pbxhmo*CLI>
             -- Executing [zap2dahdi@macro-dial-one:2] Set("SIP/alestra-00000052", "NEWDIAL=") in new stack
            pbxhmo*CLI>
             -- Executing [zap2dahdi@macro-dial-one:3] Set("SIP/alestra-00000052", "LOOPCNT2=1") in new stack
            pbxhmo*CLI>
             -- Executing [zap2dahdi@macro-dial-one:4] Set("SIP/alestra-00000052", "ITER2=1") in new stack
            pbxhmo*CLI>
             -- Executing [zap2dahdi@macro-dial-one:5] Set("SIP/alestra-00000052", "THISPART2=SIP/104") in new stack
            pbxhmo*CLI>
             -- Executing [zap2dahdi@macro-dial-one:6] ExecIf("SIP/alestra-00000052", "0?Set(THISPART2=DAHDI/104)") in new stack
            -- Executing [zap2dahdi@macro-dial-one:7] Set("SIP/alestra-00000052", "NEWDIAL=SIP/104&") in new stack
            -- Executing [zap2dahdi@macro-dial-one:8] Set("SIP/alestra-00000052", "ITER2=2") in new stack
            -- Executing [zap2dahdi@macro-dial-one:9] GotoIf("SIP/alestra-00000052", "0?begin2") in new stack
            -- Executing [zap2dahdi@macro-dial-one:10] Set("SIP/alestra-00000052", "THISDIAL=SIP/104") in new stack
            -- Executing [zap2dahdi@macro-dial-one:11] Return("SIP/alestra-00000052", "") in new stack
            -- Executing [dstring@macro-dial-one:9] Set("SIP/alestra-00000052", "DSTRING=SIP/104&") in new stack
            -- Executing [dstring@macro-dial-one:10] Set("SIP/alestra-00000052", "ITER=2") in new stack
            -- Executing [dstring@macro-dial-one:11] GotoIf("SIP/alestra-00000052", "0?begin") in new stack
            -- Executing [dstring@macro-dial-one:12] Set("SIP/alestra-00000052", "DSTRING=SIP/104") in new stack
            -- Executing [dstring@macro-dial-one:13] Return("SIP/alestra-00000052", "") in new stack
            -- Executing [s@macro-dial-one:27] GotoIf("SIP/alestra-00000052", "0?nodial") in new stack
            -- Executing [s@macro-dial-one:28] GotoIf("SIP/alestra-00000052", "0?skiptrace") in new stack
            -- Executing [s@macro-dial-one:29] GosubIf("SIP/alestra-00000052", "1?ctset,1:ctclear,1") in new stack
            -- Executing [ctset@macro-dial-one:1] Set("SIP/alestra-00000052", "DB(CALLTRACE/104)=6699156000") in new stack
            -- Executing [ctset@macro-dial-one:2] Return("SIP/alestra-00000052", "") in new stack
            -- Executing [s@macro-dial-one:30] Set("SIP/alestra-00000052", "D_OPTIONS=tr") in new stack
            -- Executing [s@macro-dial-one:31] ExecIf("SIP/alestra-00000052", "0?SIPAddHeader(Alert-Info: )") in new stack
            -- Executing [s@macro-dial-one:32] ExecIf("SIP/alestra-00000052", "0?SIPAddHeader()") in new stack
            pbxhmo*CLI>

            Comentario


            • #7
              Tercera Parte

               -- Executing [s@macro-dial-one:33] ExecIf("SIP/alestra-00000052", "0?Set(CHANNEL(musicclass)=)") in new stack
              pbxhmo*CLI>
               -- Executing [s@macro-dial-one:34] GosubIf("SIP/alestra-00000052", "0?qwait,1") in new stack
              pbxhmo*CLI>
               -- Executing [s@macro-dial-one:35] Set("SIP/alestra-00000052", "__CWIGNORE=") in new stack
              pbxhmo*CLI>
               -- Executing [s@macro-dial-one:36] Set("SIP/alestra-00000052", "__KEEPCID=TRUE") in new stack
              pbxhmo*CLI>
               -- Executing [s@macro-dial-one:37] Dial("SIP/alestra-00000052", "SIP/104,"",tr") in new stack
              pbxhmo*CLI>
               == Using SIP RTP TOS bits 184
              == Using SIP RTP CoS mark 5
              pbxhmo*CLI>
               -- Called SIP/104
              pbxhmo*CLI>
               -- SIP/104-00000053 is ringing
              pbxhmo*CLI>
               == Spawn extension (macro-dial-one, s, 37) exited non-zero on 'SIP/alestra-00000052' in macro 'dial-one'
              == Spawn extension (macro-exten-vm, s, 9) exited non-zero on 'SIP/alestra-00000052' in macro 'exten-vm'
              pbxhmo*CLI>
               == Spawn extension (from-did-direct, 104, 1) exited non-zero on 'SIP/alestra-00000052'
              pbxhmo*CLI>
               -- Executing [h@from-did-direct:1] Macro("SIP/alestra-00000052", "hangupcall,") in new stack
              pbxhmo*CLI>
               -- Executing [s@macro-hangupcall:1] GotoIf("SIP/alestra-00000052", "1?endmixmoncheck") in new stack
              -- Goto (macro-hangupcall,s,9)
              pbxhmo*CLI>
               -- Executing [s@macro-hangupcall:9] NoOp("SIP/alestra-00000052", "End of MIXMON check") in new stack
              pbxhmo*CLI>
               -- Executing [s@macro-hangupcall:10] GotoIf("SIP/alestra-00000052", "1?nomeetmemon") in new stack
              -- Goto (macro-hangupcall,s,28)
              pbxhmo*CLI>
               -- Executing [s@macro-hangupcall:28] NoOp("SIP/alestra-00000052", "End of MEETME check") in new stack
              pbxhmo*CLI>
               -- Executing [s@macro-hangupcall:29] GotoIf("SIP/alestra-00000052", "1?noautomon") in new stack
              -- Goto (macro-hangupcall,s,34)
              pbxhmo*CLI>
               -- Executing [s@macro-hangupcall:34] NoOp("SIP/alestra-00000052", "TOUCH_MONITOR_OUTPUT=") in new stack
              pbxhmo*CLI>
               -- Executing [s@macro-hangupcall:35] GotoIf("SIP/alestra-00000052", "1?noautomon2") in new stack
              pbxhmo*CLI>
               -- Goto (macro-hangupcall,s,41)
              -- Executing [s@macro-hangupcall:41] NoOp("SIP/alestra-00000052", "MONITOR_FILENAME=") in new stack
              pbxhmo*CLI>
               -- Executing [s@macro-hangupcall:42] GotoIf("SIP/alestra-00000052", "1?skiprg") in new stack
              pbxhmo*CLI>
               -- Goto (macro-hangupcall,s,45)
              pbxhmo*CLI>
               -- Executing [s@macro-hangupcall:45] GotoIf("SIP/alestra-00000052", "1?skipblkvm") in new stack
              pbxhmo*CLI>
               -- Goto (macro-hangupcall,s,48)
              pbxhmo*CLI>
               -- Executing [s@macro-hangupcall:48] GotoIf("SIP/alestra-00000052", "1?theend") in new stack
              pbxhmo*CLI>
               -- Goto (macro-hangupcall,s,50)
              pbxhmo*CLI>
               -- Executing [s@macro-hangupcall:50] AGI("SIP/alestra-00000052", "hangup.agi") in new stack
              pbxhmo*CLI>
               -- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
              pbxhmo*CLI>
               -- <SIP/alestra-00000052>AGI Script hangup.agi completed, returning 0
              pbxhmo*CLI>
               -- Executing [s@macro-hangupcall:51] Hangup("SIP/alestra-00000052", "") in new stack
              == Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'SIP/alestra-00000052' in macro 'hangupcall'
              == Spawn extension (from-did-direct, h, 1) exited non-zero on 'SIP/alestra-00000052'

              Comentario


              • #8
                Lo necesitamos con el SIP Debug habilitado, si quieres usa pastebin.com para subirlo completo y nos pegas el link. Usa esta línea de sed para quitar la mayoría de los caracteres raros del log: sed -i "s:\x1B\[[0-9;]*[mK]::g" tuarchivo.txt

                Comentario


                • #9
                  Aqui esta la liga

                  Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.


                  Gracias

                  Comentario


                  • #10
                    En esta porción del Log se ve que envía el método ringing a tu trunk vía NAT:

                    Código:
                    386.
                    pbxhmo*CLI> 
                    
                    387.
                        -- Called SIP/104
                    
                     388.
                     
                    
                     389.
                    pbxhmo*CLI> 
                    
                    390.
                    <--- Transmitting (NAT) to 10.6.58.195:5060 --->
                    
                     391.
                    SIP/2.0 180 Ringing
                    
                     392.
                    Via: SIP/2.0/UDP
                    Debes checar con tu proveedor si ellos lo están recibiendo.

                    Comentario


                    • #11
                      Muchas Gracias, lo revisaré con ellos

                      Saludos

                      Comentario

                      Principales Usuarios Activos

                      Colapsar

                      No hay usuarios activos superiores.
                      Trabajando...
                      X