Cursos Asterisk en México

llamadas se cortan o no se escuchan

Colapsar

Anuncio

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

  • llamadas se cortan o no se escuchan

    Que tal , hace tiempo que habia dejado de usar asterisk, pero actualmente es un requerimiento en mi trabajo. por lo cual deje de familiarizarme con el, lo que hace que aprenda desde cero nuevamente..
    bueno mi problema es este , estoy utilizando la herramienta freepbx y en ella configure una extension sip para que se conecte desde el exterior, se contecta correctamente. pero al marcar llega la llamada al destino pero no se escuchan o a veces no llegan :. el log que me manda esta adjunto al archivo
    -- Executing [s@macro-user-callerid:9] Set("SIP/100011-00018d73", "AMPUSERCID=100011") in new stack
    -- Executing [s@macro-user-callerid:10] Set("SIP/100011-00018d73", "__DIAL_OPTIONS=Ttr") in new stack
    -- Executing [s@macro-user-callerid:11] Set("SIP/100011-00018d73", "CALLERID(all)="Usuario Dora Despacho" <100011>") in new stack
    -- Executing [s@macro-user-callerid:12] GotoIf("SIP/100011-00018d73", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:13] ExecIf("SIP/100011-00018d73", "1?Set(GROUP(concurrency_limit)=100011)") in new stack
    -- Executing [s@macro-user-callerid:14] ExecIf("SIP/100011-00018d73", "0?Set(CHANNEL(language)=)") in new stack
    -- Executing [s@macro-user-callerid:31] Set("SIP/100011-00018d73", "CDR(cnum)=100011") in new stack
    -- Executing [s@macro-user-callerid:32] Set("SIP/100011-00018d73", "CDR(cnam)=Usuario Dora Despacho") in new stack
    -- Executing [s@macro-user-callerid:33] Set("SIP/100011-00018d73", "CHANNEL(language)=es") in new stack
    -- Executing [9019********7@from-internal:2] Gosub("SIP/100011-00018d73", "sub-record-check,s,1(out,9019********7,dontcare)") in new stack
    -- Executing [s@sub-record-check:1] GotoIf("SIP/100011-00018d73", "0?initialized") in new stack
    -- Executing [s@sub-record-check:2] Set("SIP/100011-00018d73", "__REC_STATUS=INITIALIZED") in new stack
    -- Executing [s@sub-record-check:3] Set("SIP/100011-00018d73", "NOW=1464116644") in new stack
    -- Executing [s@sub-record-check:7] Set("SIP/100011-00018d73", "__TIMESTR=20160524-150404") in new stack
    -- Executing [s@sub-record-check:8] Set("SIP/100011-00018d73", "__FROMEXTEN=100011") in new stack
    -- Executing [s@sub-record-check:9] Set("SIP/100011-00018d73", "__MON_FMT=wav") in new stack
    -- Executing [s@sub-record-check:10] NoOp("SIP/100011-00018d73", "Recordings initialized") in new stack
    -- Executing [s@sub-record-check:11] ExecIf("SIP/100011-00018d73", "0?Set(ARG3=dontcare)") in new stack
    -- Executing [s@sub-record-check:12] Set("SIP/100011-00018d73", "REC_POLICY_MODE_SAVE=") in new stack
    -- Executing [s@sub-record-check:13] ExecIf("SIP/100011-00018d73", "0?Set(REC_STATUS=NO)") in new stack
    -- Executing [s@sub-record-check:14] GotoIf("SIP/100011-00018d73", "3?checkaction") in new stack
    -- Goto (sub-record-check,s,17)
    -- Executing [s@sub-record-check:17] GotoIf("SIP/100011-00018d73", "1?sub-record-check,out,1") in new stack
    -- Goto (sub-record-check,out,1)
    -- Executing [out@sub-record-check:1] NoOp("SIP/100011-00018d73", "Outbound Recording Check from 100011 to 9019********7") in new stack
    -- Executing [out@sub-record-check:2] Set("SIP/100011-00018d73", "RECMODE=dontcare") in new stack
    -- Goto (sub-record-check,out,7)
    -- Executing [out@sub-record-check:7] Gosub("SIP/100011-00018d73", "recordcheck,1(dontcare,out,9019********7)") in new stack
    -- Executing [recordcheck@sub-record-check:1] NoOp("SIP/100011-00018d73", "Starting recording check against dontcare") in new stack
    -- Executing [recordcheck@sub-record-check:2] Goto("SIP/100011-00018d73", "dontcare") in new stack
    -- Goto (sub-record-check,recordcheck,3)
    -- Executing [recordcheck@sub-record-check:3] Return("SIP/100011-00018d73", "") in new stack
    -- Executing [out@sub-record-check:8] Return("SIP/100011-00018d73", "") in new stack
    -- Executing [9019********7@from-internal:3] ExecIf("SIP/100011-00018d73", "0 ?Set(CDR(accountcode)=)") in new stack
    -- Executing [9019********7@from-internal:4] Set("SIP/100011-00018d73", "MOHCLASS=default") in new stack
    -- Executing [9019********7@from-internal:5] ExecIf("SIP/100011-00018d73", "1?Set(TRUNKCIDOVERRIDE=8*********)") in new stack
    -- Executing [9019********7@from-internal:6] Set("SIP/100011-00018d73", "_NODEST=") in new stack
    -- Executing [9019********7@from-internal:7] Macro("SIP/100011-00018d73", "dialout-trunk,1,019********7,,off") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/100011-00018d73", "DIAL_TRUNK=1") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/100011-00018d73", "0?sub-pincheck,s,1()") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/100011-00018d73", "0?disabletrunk,1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("SIP/100011-00018d73", "DIAL_NUMBER=019********7") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("SIP/100011-00018d73", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("SIP/100011-00018d73", "OUTBOUND_GROUP=OUT_1") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/100011-00018d73", "0?nomax") in new stack
    -- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/100011-00018d73", "0?chanfull") in new stack
    -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/100011-00018d73", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("SIP/100011-00018d73", "DIAL_TRUNK_OPTIONS=Tt") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("SIP/100011-00018d73", "outbound-callerid,1") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/100011-00018d73", "0?Set(CALLERPRES(name-pres)=)") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/100011-00018d73", "0?Set(CALLERPRES(num-pres)=)") in new stack
    -- Executing [s@macro-outbound-callerid:3] ExecIf("SIP/100011-00018d73", "0?Set(REALCALLERIDNUM=100011)") in new stack
    -- Executing [s@macro-outbound-callerid:4] GotoIf("SIP/100011-00018d73", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,7)
    -- Executing [s@macro-outbound-callerid:7] Set("SIP/100011-00018d73", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("SIP/100011-00018d73", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:9] Set("SIP/100011-00018d73", "TRUNKOUTCID=8*********") in new stack
    -- Executing [s@macro-outbound-callerid:10] GotoIf("SIP/100011-00018d73", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,15)
    -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/100011-00018d73", "1?Set(CALLERID(all)=8*********)") in new stack
    -- Executing [s@macro-outbound-callerid:16] ExecIf("SIP/100011-00018d73", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:17] ExecIf("SIP/100011-00018d73", "1?Set(CALLERID(all)=8*********)") in new stack
    -- Executing [s@macro-outbound-callerid:18] ExecIf("SIP/100011-00018d73", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
    -- Executing [s@macro-outbound-callerid:19] ExecIf("SIP/100011-00018d73", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
    -- Executing [s@macro-outbound-callerid:20] Set("SIP/100011-00018d73", "CDR(outbound_cnum)=8*********") in new stack
    -- Executing [s@macro-outbound-callerid:21] Set("SIP/100011-00018d73", "CDR(outbound_cnam)=") in new stack
    -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/100011-00018d73", "1?sub-flp-1,s,1()") in new stack
    -- Executing [s@sub-flp-1:1] ExecIf("SIP/100011-00018d73", "0?Return()") in new stack
    -- Executing [s@sub-flp-1:2] ExecIf("SIP/100011-00018d73", "1?Return()") in new stack
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/100011-00018d73", "OUTNUM=019********7") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/100011-00018d73", "custom=DAHDI/r0") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/100011-00018d73", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T t)") in new stack
    -- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/100011-00018d73", "0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))") in new stack
    -- Executing [s@macro-dialout-trunk:17] Macro("SIP/100011-00018d73", "dialout-trunk-predial-hook,") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/100011-00018d73", "") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/100011-00018d73", "0?bypass,1") in new stack
    -- Executing [s@macro-dialout-trunk:19] ExecIf("SIP/100011-00018d73", "1?Set(CONNECTEDLINE(num,i)=019********7)") in new stack
    -- Executing [s@macro-dialout-trunk:20] ExecIf("SIP/100011-00018d73", "1?Set(CONNECTEDLINE(name,i)=CID:8*********)") in new stack
    -- Executing [s@macro-dialout-trunk:21] ExecIf("SIP/100011-00018d73", "0?Set(CONNECTEDLINE(name,i)=CID: (Hidden)8*********)") in new stack
    -- Executing [s@macro-dialout-trunk:22] GotoIf("SIP/100011-00018d73", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:23] Dial("SIP/100011-00018d73", "DAHDI/r0/019********7,300,Tt") in new stack
    -- Called DAHDI/r0/019********7
    -- DAHDI/1-1 answered SIP/100011-00018d73
    -- Executing [h@macro-dialout-trunk:1] Macro("SIP/100011-00018d73", "hangupcall,") in new stack
    -- Executing [s@macro-hangupcall:1] ExecIf("SIP/100011-00018d73", "0?Set(CDR(recordingfile)=.wav)") in new stack
    -- Executing [s@macro-hangupcall:2] GotoIf("SIP/100011-00018d73", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,4)
    -- Executing [s@macro-hangupcall:4] ExecIf("SIP/100011-00018d73", "0?Set(CDR(recordingfile)=)") in new stack
    -- Executing [s@macro-hangupcall:5] Hangup("SIP/100011-00018d73", "") in new stack
    == Spawn extension (macro-hangupcall, s, 5) exited non-zero on 'SIP/100011-00018d73' in macro 'hangupcall'
    == Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/100011-00018d73'
    -- Hanging up on 'DAHDI/1-1'
    -- Hungup 'DAHDI/1-1'
    == Spawn extension (macro-dialout-trunk, s, 23) exited non-zero on 'SIP/100011-00018d73' in macro 'dialout-trunk'
    == Spawn extension (from-internal, 9019********7, 7) exited non-zero on 'SIP/100011-00018d73'
    "Prefiero ser un tonto momentaneo que un eterno ignorante"
    “¡El éxito es resultado de los aciertos,los aciertos resultado de la experiencia y la experiencia resultado de los errores!”

  • #2
    Debe ser un problema de NAT, configura tu PBX para que sepa cual es su IP externa(externhost o externIP), que sepa cual es su red local(localnet) y a la extensión remota hazla con propiedades de NAT=yes(rport_comedia).

    También verifica que en tu firewall tengas permitido el rango de puertos RTP de tu asterisk para que el flujo de la voz no sea bloqueado.

    Finalmente, lo mejor es que uses una VPN o puertos IAX2, ya que el abrir puertos de SIP al mundo hará que no tarden los ataques a tu PBX y en una de esas a pagar una factura de telefonía muy cara.

    Comentario


    • #3
      Gracias por la respuesta,
      opte por sip por que mi cuenta de iax ni siquiera llega a mi servidor para conectarse, tengo abierto el puerto
      4569 y no me llega la peticion de
      conexion, que mas debo configurar para que iax pueda conectarse desde afuera?
      cabe mencionar que en la misma red si funciona
      "Prefiero ser un tonto momentaneo que un eterno ignorante"
      “¡El éxito es resultado de los aciertos,los aciertos resultado de la experiencia y la experiencia resultado de los errores!”

      Comentario

      Principales Usuarios Activos

      Colapsar

      No hay usuarios activos superiores.
      Trabajando...
      X