Cursos Asterisk en México

[RESUELTO] Conectar 2 elastix con IAX

Colapsar

Anuncio

Colapsar
No hay anuncio todavía.
Este tema está cerrado
X
X
 
  • Filtrar
  • Tiempo
  • Mostrar
Limpiar Todo
nuevos mensajes

  • [RESUELTO] Conectar 2 elastix con IAX

    Buen día, solicitando nuevamente su ayuda con otra consulta, comento como dice el post que estoy intentando enlazar dos elastix mediante IAX el PBX1 (elastix 2.3) extenciones 1xx y PBX2 (elastix 2.2) extenciones 2xx; anteriormente los tenia funcionando, pero el internet era del ISP telmex con IP dinámicas y usaba el no-ip, ahora se contrato el servicio con cablemas con IP fijas en las sucursales y no logro hacer que funcionen, en los routers ya redireccione el puerto 4569 hacia los PBX pero al marcar las líneas estan ocupadas, verifique ping, con nmap los puertos, ya busque en los diferentes post, así como en google y no doy con la respuesta, viendo un post en donde Christian habla del bloqueo del puerto por parte del ISP pero es sin IP fija.

    ¿Alguien tendrá algún problema similar?.

    Mis trocales:

    PEER Details:

    PBX1
    host=xxx.xxx.xxx.xxx
    username=servidora
    secret=123456
    encryption=aes128
    auth=md5
    type=friend
    context=from-internal
    trunk=yes
    requirecalltoken=no
    allow=all

    PBX2
    host=xxx.xxx.xxx.xxx
    username=servidorb
    secret=123456
    encryption=aes128
    auth=md5
    type=friend
    context=from-internal
    trunk=yes
    requirecalltoken=no
    allow=all

    Ya probe con diferentes codecs, habilitando y deshabilitando, etc.

    De antemano gracias por cualquier dato que pudieran brindarme.
    Editado por última vez por aldoruiz; https://asteriskmx.org/foros/member/1636-aldoruiz en 02-15-2013, 10:53 AM.

  • #2
    Continuación.

    La salida del CLI al marcar con las ultimas configuraciones:

    == Using SIP RTP TOS bits 184
    == Using SIP RTP CoS mark 5
    -- Executing [8201@from-internal:1] Macro("SIP/101-0000000e", "user-callerid,SKIPTTL,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/101-0000000e", "AMPUSER=101") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("SIP/101-0000000e", "0?report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("SIP/101-0000000e", "1?Set(REALCALLERIDNUM=101)") in new stack
    -- Executing [s@macro-user-callerid:4] Set("SIP/101-0000000e", "AMPUSER=101") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/101-0000000e", "AMPUSERCIDNAME=Operadora") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/101-0000000e", "0?report") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/101-0000000e", "AMPUSERCID=101") in new stack
    -- Executing [s@macro-user-callerid:8] Set("SIP/101-0000000e", "CALLERID(all)="Operadora" <101>") in new stack
    -- Executing [s@macro-user-callerid:9] ExecIf("SIP/101-0000000e", "0?Set(CHANNEL(language)=)") in new stack
    -- Executing [s@macro-user-callerid:10] GotoIf("SIP/101-0000000e", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,19)
    -- Executing [s@macro-user-callerid:19] Set("SIP/101-0000000e", "CALLERID(number)=101") in new stack
    -- Executing [s@macro-user-callerid:20] Set("SIP/101-0000000e", "CALLERID(name)=Operadora") in new stack
    -- Executing [s@macro-user-callerid:21] NoOp("SIP/101-0000000e", "Using CallerID "Operadora" <101>") in new stack
    -- Executing [8201@from-internal:2] NoOp("SIP/101-0000000e", "Calling Out Route: Conmutareyes") in new stack
    -- Executing [8201@from-internal:3] Set("SIP/101-0000000e", "MOHCLASS=default") in new stack
    -- Executing [8201@from-internal:4] Set("SIP/101-0000000e", "_NODEST=") in new stack
    -- Executing [8201@from-internal:5] Macro("SIP/101-0000000e", "record-enable,101,OUT,") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("SIP/101-0000000e", "1?check") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] ExecIf("SIP/101-0000000e", "0?MacroExit()") in new stack
    -- Executing [s@macro-record-enable:5] GotoIf("SIP/101-0000000e", "0?Group:OUT") in new stack
    -- Goto (macro-record-enable,s,15)
    -- Executing [s@macro-record-enable:15] GotoIf("SIP/101-0000000e", "0?IN") in new stack
    -- Executing [s@macro-record-enable:16] ExecIf("SIP/101-0000000e", "1?MacroExit()") in new stack
    -- Executing [8201@from-internal:6] Macro("SIP/101-0000000e", "dialout-trunk,3,201,") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/101-0000000e", "DIAL_TRUNK=3") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/101-0000000e", "0?sub-pincheck,s,1") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/101-0000000e", "0?disabletrunk,1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("SIP/101-0000000e", "DIAL_NUMBER=201") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("SIP/101-0000000e", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("SIP/101-0000000e", "OUTBOUND_GROUP=OUT_3") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/101-0000000e", "0?nomax") in new stack
    -- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/101-0000000e", "0?chanfull") in new stack
    -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/101-0000000e", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("SIP/101-0000000e", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("SIP/101-0000000e", "outbound-callerid,3") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/101-0000000e", "0?Set(CALLERPRES()=)") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/101-0000000e", "0?Set(REALCALLERIDNUM=101)") in new stack
    -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/101-0000000e", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s@macro-outbound-callerid:6] Set("SIP/101-0000000e", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("SIP/101-0000000e", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("SIP/101-0000000e", "TRUNKOUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/101-0000000e", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,12)
    -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/101-0000000e", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/101-0000000e", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/101-0000000e", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/101-0000000e", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
    -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/101-0000000e", "0?sub-flp-3,s,1") in new stack
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/101-0000000e", "OUTNUM=201") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/101-0000000e", "custom=IAX2/Conmutareyes") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/101-0000000e", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)) ") in new stack
    -- Executing [s@macro-dialout-trunk:16] Macro("SIP/101-0000000e", "dialout-trunk-predial-hook,") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/101-0000000e", "") in new stack
    -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/101-0000000e", "0?bypass,1") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/101-0000000e", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:19] Dial("SIP/101-0000000e", "IAX2/Conmutareyes/201,300,") in new stack
    -- Called IAX2/Conmutareyes/201
    -- Hungup 'IAX2/Conmutareyes-16723'
    == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing [s@macro-dialout-trunk:20] NoOp("SIP/101-0000000e", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 50") in new stack
    -- Executing [s@macro-dialout-trunk:21] Goto("SIP/101-0000000e", "s-CHANUNAVAIL,1") in new stack
    -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
    -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("SIP/101-0000000e", "RC=50") in new stack
    -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("SIP/101-0000000e", "50,1") in new stack
    -- Goto (macro-dialout-trunk,50,1)
    -- Executing [50@macro-dialout-trunk:1] Goto("SIP/101-0000000e", "continue,1") in new stack
    -- Goto (macro-dialout-trunk,continue,1)
    -- Executing [continue@macro-dialout-trunk:1] GotoIf("SIP/101-0000000e", "1?noreport") in new stack
    -- Goto (macro-dialout-trunk,continue,3)
    -- Executing [continue@macro-dialout-trunk:3] NoOp("SIP/101-0000000e", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 50 - failing through to other trunks") in new stack
    -- Executing [continue@macro-dialout-trunk:4] Set("SIP/101-0000000e", "CALLERID(number)=101") in new stack
    -- Executing [8201@from-internal:7] Macro("SIP/101-0000000e", "outisbusy,") in new stack
    -- Executing [s@macro-outisbusy:1] Progress("SIP/101-0000000e", "") in new stack
    -- Executing [s@macro-outisbusy:2] GotoIf("SIP/101-0000000e", "0?emergency,1") in new stack
    -- Executing [s@macro-outisbusy:3] GotoIf("SIP/101-0000000e", "0?intracompany,1") in new stack
    -- Executing [s@macro-outisbusy:4] Playback("SIP/101-0000000e", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack
    -- <SIP/101-0000000e> Playing 'all-circuits-busy-now.gsm' (language 'en')
    -- <SIP/101-0000000e> Playing 'pls-try-call-later.gsm' (language 'en')
    -- Executing [s@macro-outisbusy:5] Congestion("SIP/101-0000000e", "20") in new stack
    == Spawn extension (macro-outisbusy, s, 5) exited non-zero on 'SIP/101-0000000e' in macro 'outisbusy'
    == Spawn extension (from-internal, 8201, 7) exited non-zero on 'SIP/101-0000000e'
    -- Executing [h@from-internal:1] Macro("SIP/101-0000000e", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/101-0000000e", "1?endmixmoncheck") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] NoOp("SIP/101-0000000e", "End of MIXMON check") in new stack
    -- Executing [s@macro-hangupcall:10] GotoIf("SIP/101-0000000e", "1?nomeetmemon") in new stack
    -- Goto (macro-hangupcall,s,15)
    -- Executing [s@macro-hangupcall:15] NoOp("SIP/101-0000000e", "MEETME_RECORDINGFILE=") in new stack
    -- Executing [s@macro-hangupcall:16] GotoIf("SIP/101-0000000e", "1?noautomon") in new stack
    -- Goto (macro-hangupcall,s,18)
    -- Executing [s@macro-hangupcall:18] NoOp("SIP/101-0000000e", "TOUCH_MONITOR_OUTPUT=") in new stack
    -- Executing [s@macro-hangupcall:19] GotoIf("SIP/101-0000000e", "1?noautomon2") in new stack
    -- Goto (macro-hangupcall,s,25)
    -- Executing [s@macro-hangupcall:25] NoOp("SIP/101-0000000e", "MONITOR_FILENAME=") in new stack
    -- Executing [s@macro-hangupcall:26] GotoIf("SIP/101-0000000e", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,29)
    -- Executing [s@macro-hangupcall:29] GotoIf("SIP/101-0000000e", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,32)
    -- Executing [s@macro-hangupcall:32] GotoIf("SIP/101-0000000e", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,34)
    -- Executing [s@macro-hangupcall:34] Hangup("SIP/101-0000000e", "") in new stack
    == Spawn extension (macro-hangupcall, s, 34) exited non-zero on 'SIP/101-0000000e' in macro 'hangupcall'
    == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/101-0000000e'

    Comentario


    • #3
      -- Hungup 'IAX2/Conmutareyes-16723'
      == Everyone is busy/congested at this time (1:0/0/1)
      Quiere decir que no estan disponibles, habilita el debug de iax en ambos servidores tambien el qualify y recarga la configuración para ver si los paquetes estan llegando a ambos servidores. De ese modo sabremos si se alcanzan o de plano no llegan los paquetes.

      Comentario


      • #4
        Buen día; Navismo hice lo que me comentaste y el error fue que los paquetes no llegaban asi mismo note que nunca se registraban los peers IAX; por lo que deduje algún error en mi router, podia hacer ping sin embargo el puerto IAX aparecia como blocked, en la configuración solo tenia UDP y en las reglas de entrada del firewall solo a Internet como entrada, por lo que al probar diferentes configuraciones tuve que dejar en puerto tanto UDP como TCP y en la salida ANY, menciono que uso como router el BRAZILFW, ahora todo funciona bien, por lo que doy como solucionado el tema, nuevamente gracias a todos por la ayuda.

        Comentario

        Principales Usuarios Activos

        Colapsar

        No hay usuarios activos superiores.
        Trabajando...
        X