Cursos Asterisk en México

No se registran las Extensiones

Colapsar

Anuncio

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

  • No se registran las Extensiones

    Tengo un problema muy grave!!! mis extensiones estaban funcionando muy bien, pero estuve modificando algunas cosas en el PBX para poder registrar una extension foranea y de pronto todas mis extensiones dejaron de funcionar, alguien me puede ayudar?, no se que le movi de mas, segun yo me estaba metiendo unicamente con NAT y con la extension que quiero que se conecte de fuera, pero ya no se que le movi, esto es en TRIXBOX 2.6.2.3

  • #2
    Re: No se registran las Extensiones

    Sería más sencillo si nos pegas la configuración que modificaste. De otra manera, no sabemos que fue lo que cambiaste y que ahora no te permite la conexión.
    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: No se registran las Extensiones

      Es muy curioso, por que lo unico que le modifique fue el SIP_NAT.CONF, tengo 3 telefonos Linksys SPA942 y 2 Telefonos Grandstream, los grand stream se conectan sin problemas, los linksys no, y localmente en el telefono me sale un error FAIL(404).


      esto fue lo que le modifique

      nat=yes
      localnet=192.168.1.0/255.255.255.0
      externhost=xxxxxxxxxxxx.dyndns.tv
      domain=xxxxxxxxxxxx.dyndns.tv
      externrefresh=120

      Comentario


      • #4
        Re: No se registran las Extensiones

        Esto en verdad esta muy extraño, corrigiendo un poco el post anterior, los linksys no se conectan y de los grandstream, uno si se registra y el otro no, pero si yo llamo de fuera y marco alguna de esas 2 extensiones, las 2 se dirigen al mismo equipo y ese equipo solo tiene configurada una extension, me pueden ayudar?

        Comentario


        • #5
          Re: No se registran las Extensiones

          en verdad estoy desesperado, no encuentro como solucionar ese problema, alguien me podria ayudar?

          muchas gracias

          Comentario


          • #6
            Re: No se registran las Extensiones

            Necesitamos que por lo menos pongas el sip debug de cuando los teléfonos intentan registrarse, habilitalo usando: "sip set debug on" desde la consola de asterisk, el código 404 me suena a: No encontrado.

            Comentario


            • #7
              Re: No se registran las Extensiones

              al momento de poner ese codigo que me dices, me sale sip: command not found, me podrias ayudar un poco mas? ya que soy nuevo en esto, muchas gracias!

              Comentario


              • #8
                Re: No se registran las Extensiones

                Ya ya me dejo, ahorita se los posteo

                Comentario


                • #9
                  Re: No se registran las Extensiones

                  <--- Transmitting (NAT) to 192.168.1.66:5060 --->
                  SIP/2.0 404 Not found (unknown domain)
                  Via: SIP/2.0/UDP 72.172.83.110;branch=z9hG4bKf2ebb47e71d09a33;recei ved=192.168.1.66
                  From: "Soporte" <sip:2008@192.168.1.235>;tag=efeb8b5ab2cf98d5
                  To: <sip:2008@192.168.1.235>;tag=as619c0f22
                  Call-ID: b151a401a7f1b4a1@192.168.1.66
                  CSeq: 225 REGISTER
                  User-Agent: Asterisk PBX 1.6.0.10-FONCORE-r40
                  Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
                  Supported: replaces, timer
                  Content-Length: 0


                  <------------>
                  Scheduling destruction of SIP dialog 'b151a401a7f1b4a1@192.168.1.66' in 32000 ms (Method: REGISTER)
                  trixbox1*CLI>
                  <--- SIP read from UDP://192.168.1.66:5060 --->
                  REGISTER sip:192.168.1.235 SIP/2.0
                  Via: SIP/2.0/UDP 72.172.83.110;branch=z9hG4bKa1260743867ae6ec
                  From: "Soporte" <sip:2008@192.168.1.235>;tag=efeb8b5ab2cf98d5
                  To: <sip:2008@192.168.1.235>
                  Contact: <sip:2008@72.172.83.110>
                  Call-ID: b151a401a7f1b4a1@192.168.1.66
                  CSeq: 226 REGISTER
                  Expires: 3600
                  User-Agent: Grandstream BT100 1.0.5.11
                  Max-Forwards: 70
                  Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SU BSCRIBE
                  Content-Length: 0


                  <------------->
                  --- (12 headers 0 lines) ---
                  Sending to 192.168.1.66 : 5060 (NAT)

                  <--- Transmitting (NAT) to 192.168.1.66:5060 --->
                  SIP/2.0 404 Not found (unknown domain)
                  Via: SIP/2.0/UDP 72.172.83.110;branch=z9hG4bKa1260743867ae6ec;recei ved=192.168.1.66
                  From: "Soporte" <sip:2008@192.168.1.235>;tag=efeb8b5ab2cf98d5
                  To: <sip:2008@192.168.1.235>;tag=as619c0f22
                  Call-ID: b151a401a7f1b4a1@192.168.1.66
                  CSeq: 226 REGISTER
                  User-Agent: Asterisk PBX 1.6.0.10-FONCORE-r40
                  Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
                  Supported: replaces, timer
                  Content-Length: 0


                  <------------>
                  Scheduling destruction of SIP dialog 'b151a401a7f1b4a1@192.168.1.66' in 32000 ms (Method: REGISTER)
                  trixbox1*CLI>
                  <--- SIP read from UDP://192.168.1.66:5060 --->
                  REGISTER sip:192.168.1.235 SIP/2.0
                  Via: SIP/2.0/UDP 72.172.83.110;branch=z9hG4bKb75b8b78487e48e8
                  From: "Soporte" <sip:2008@192.168.1.235>;tag=efeb8b5ab2cf98d5
                  To: <sip:2008@192.168.1.235>
                  Contact: <sip:2008@72.172.83.110>
                  Call-ID: b151a401a7f1b4a1@192.168.1.66
                  CSeq: 227 REGISTER
                  Expires: 3600
                  User-Agent: Grandstream BT100 1.0.5.11
                  Max-Forwards: 70
                  Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SU BSCRIBE
                  Content-Length: 0


                  <------------->
                  --- (12 headers 0 lines) ---
                  Sending to 192.168.1.66 : 5060 (NAT)

                  <--- Transmitting (NAT) to 192.168.1.66:5060 --->
                  SIP/2.0 404 Not found (unknown domain)
                  Via: SIP/2.0/UDP 72.172.83.110;branch=z9hG4bKb75b8b78487e48e8;recei ved=192.168.1.66
                  From: "Soporte" <sip:2008@192.168.1.235>;tag=efeb8b5ab2cf98d5
                  To: <sip:2008@192.168.1.235>;tag=as619c0f22
                  Call-ID: b151a401a7f1b4a1@192.168.1.66
                  CSeq: 227 REGISTER
                  User-Agent: Asterisk PBX 1.6.0.10-FONCORE-r40
                  Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
                  Supported: replaces, timer
                  Content-Length: 0


                  <------------>
                  Scheduling destruction of SIP dialog 'b151a401a7f1b4a1@192.168.1.66' in 32000 ms (Method: REGISTER)
                  trixbox1*CLI>
                  <--- SIP read from UDP://192.168.1.66:5060 --->
                  REGISTER sip:192.168.1.235 SIP/2.0
                  Via: SIP/2.0/UDP 72.172.83.110;branch=z9hG4bKc8e23b10cf699b26
                  From: "Soporte" <sip:2008@192.168.1.235>;tag=efeb8b5ab2cf98d5
                  To: <sip:2008@192.168.1.235>
                  Contact: <sip:2008@72.172.83.110>
                  Call-ID: b151a401a7f1b4a1@192.168.1.66
                  CSeq: 228 REGISTER
                  Expires: 3600
                  User-Agent: Grandstream BT100 1.0.5.11
                  Max-Forwards: 70
                  Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SU BSCRIBE
                  Content-Length: 0


                  <------------->
                  --- (12 headers 0 lines) ---
                  Sending to 192.168.1.66 : 5060 (NAT)

                  <--- Transmitting (NAT) to 192.168.1.66:5060 --->
                  SIP/2.0 404 Not found (unknown domain)
                  Via: SIP/2.0/UDP 72.172.83.110;branch=z9hG4bKc8e23b10cf699b26;recei ved=192.168.1.66
                  From: "Soporte" <sip:2008@192.168.1.235>;tag=efeb8b5ab2cf98d5
                  To: <sip:2008@192.168.1.235>;tag=as619c0f22
                  Call-ID: b151a401a7f1b4a1@192.168.1.66
                  CSeq: 228 REGISTER
                  User-Agent: Asterisk PBX 1.6.0.10-FONCORE-r40
                  Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
                  Supported: replaces, timer
                  Content-Length: 0


                  <------------>
                  Scheduling destruction of SIP dialog 'b151a401a7f1b4a1@192.168.1.66' in 32000 ms (Method: REGISTER)
                  trixbox1*CLI>
                  <--- SIP read from UDP://192.168.1.66:5060 --->
                  REGISTER sip:192.168.1.235 SIP/2.0
                  Via: SIP/2.0/UDP 72.172.83.110;branch=z9hG4bKf3e9170768598602
                  From: "Soporte" <sip:2008@192.168.1.235>;tag=efeb8b5ab2cf98d5
                  To: <sip:2008@192.168.1.235>
                  Contact: <sip:2008@72.172.83.110>
                  Call-ID: b151a401a7f1b4a1@192.168.1.66
                  CSeq: 229 REGISTER
                  Expires: 3600
                  User-Agent: Grandstream BT100 1.0.5.11
                  Max-Forwards: 70
                  Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SU BSCRIBE
                  Content-Length: 0


                  <------------->
                  --- (12 headers 0 lines) ---
                  Sending to 192.168.1.66 : 5060 (NAT)

                  <--- Transmitting (NAT) to 192.168.1.66:5060 --->
                  SIP/2.0 404 Not found (unknown domain)
                  Via: SIP/2.0/UDP 72.172.83.110;branch=z9hG4bKf3e9170768598602;recei ved=192.168.1.66
                  From: "Soporte" <sip:2008@192.168.1.235>;tag=efeb8b5ab2cf98d5
                  To: <sip:2008@192.168.1.235>;tag=as619c0f22
                  Call-ID: b151a401a7f1b4a1@192.168.1.66
                  CSeq: 229 REGISTER
                  User-Agent: Asterisk PBX 1.6.0.10-FONCORE-r40
                  Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
                  Supported: replaces, timer
                  Content-Length: 0


                  <------------>
                  Scheduling destruction of SIP dialog 'b151a401a7f1b4a1@192.168.1.66' in 32000 ms (Method: REGISTER)
                  trixbox1*CLI>
                  <--- SIP read from UDP://192.168.1.66:5060 --->
                  REGISTER sip:192.168.1.235 SIP/2.0
                  Via: SIP/2.0/UDP 72.172.83.110;branch=z9hG4bKf079659665cdcff6
                  From: "Soporte" <sip:2008@192.168.1.235>;tag=efeb8b5ab2cf98d5
                  To: <sip:2008@192.168.1.235>
                  Contact: <sip:2008@72.172.83.110>
                  Call-ID: b151a401a7f1b4a1@192.168.1.66
                  CSeq: 230 REGISTER
                  Expires: 3600
                  User-Agent: Grandstream BT100 1.0.5.11
                  Max-Forwards: 70
                  Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SU BSCRIBE
                  Content-Length: 0


                  <------------->
                  --- (12 headers 0 lines) ---
                  Sending to 192.168.1.66 : 5060 (NAT)

                  <--- Transmitting (NAT) to 192.168.1.66:5060 --->
                  SIP/2.0 404 Not found (unknown domain)
                  Via: SIP/2.0/UDP 72.172.83.110;branch=z9hG4bKf079659665cdcff6;recei ved=192.168.1.66
                  From: "Soporte" <sip:2008@192.168.1.235>;tag=efeb8b5ab2cf98d5
                  To: <sip:2008@192.168.1.235>;tag=as619c0f22
                  Call-ID: b151a401a7f1b4a1@192.168.1.66
                  CSeq: 230 REGISTER
                  User-Agent: Asterisk PBX 1.6.0.10-FONCORE-r40
                  Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
                  Supported: replaces, timer
                  Content-Length: 0


                  <------------>
                  Scheduling destruction of SIP dialog 'b151a401a7f1b4a1@192.168.1.66' in 32000 ms (Method: REGISTER)
                  trixbox1*CLI>
                  <--- SIP read from UDP://192.168.1.66:5060 --->
                  REGISTER sip:192.168.1.235 SIP/2.0
                  Via: SIP/2.0/UDP 72.172.83.110;branch=z9hG4bKd6ae1bcb82d9bc3c
                  From: "Soporte" <sip:2008@192.168.1.235>;tag=efeb8b5ab2cf98d5
                  To: <sip:2008@192.168.1.235>
                  Contact: <sip:2008@72.172.83.110>
                  Call-ID: b151a401a7f1b4a1@192.168.1.66
                  CSeq: 231 REGISTER
                  Expires: 3600
                  User-Agent: Grandstream BT100 1.0.5.11
                  Max-Forwards: 70
                  Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SU BSCRIBE
                  Content-Length: 0


                  <------------->
                  --- (12 headers 0 lines) ---
                  Sending to 192.168.1.66 : 5060 (NAT)

                  <--- Transmitting (NAT) to 192.168.1.66:5060 --->
                  SIP/2.0 404 Not found (unknown domain)
                  Via: SIP/2.0/UDP 72.172.83.110;branch=z9hG4bKd6ae1bcb82d9bc3c;recei ved=192.168.1.66
                  From: "Soporte" <sip:2008@192.168.1.235>;tag=efeb8b5ab2cf98d5
                  To: <sip:2008@192.168.1.235>;tag=as619c0f22
                  Call-ID: b151a401a7f1b4a1@192.168.1.66
                  CSeq: 231 REGISTER
                  User-Agent: Asterisk PBX 1.6.0.10-FONCORE-r40
                  Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
                  Supported: replaces, timer
                  Content-Length: 0


                  <------------>
                  Scheduling destruction of SIP dialog 'b151a401a7f1b4a1@192.168.1.66' in 32000 ms (Method: REGISTER)
                  trixbox1*CLI>
                  <--- SIP read from UDP://192.168.1.66:5060 --->
                  REGISTER sip:192.168.1.235 SIP/2.0
                  Via: SIP/2.0/UDP 72.172.83.110;branch=z9hG4bK01565573951762d3
                  From: "Soporte" <sip:2008@192.168.1.235>;tag=efeb8b5ab2cf98d5
                  To: <sip:2008@192.168.1.235>
                  Contact: <sip:2008@72.172.83.110>
                  Call-ID: b151a401a7f1b4a1@192.168.1.66
                  CSeq: 232 REGISTER
                  Expires: 3600
                  User-Agent: Grandstream BT100 1.0.5.11
                  Max-Forwards: 70
                  Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SU BSCRIBE
                  Content-Length: 0


                  <------------->
                  --- (12 headers 0 lines) ---
                  Sending to 192.168.1.66 : 5060 (NAT)

                  <--- Transmitting (NAT) to 192.168.1.66:5060 --->
                  SIP/2.0 404 Not found (unknown domain)
                  Via: SIP/2.0/UDP 72.172.83.110;branch=z9hG4bK01565573951762d3;recei ved=192.168.1.66
                  From: "Soporte" <sip:2008@192.168.1.235>;tag=efeb8b5ab2cf98d5
                  To: <sip:2008@192.168.1.235>;tag=as619c0f22
                  Call-ID: b151a401a7f1b4a1@192.168.1.66
                  CSeq: 232 REGISTER
                  User-Agent: Asterisk PBX 1.6.0.10-FONCORE-r40
                  Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
                  Supported: replaces, timer
                  Content-Length: 0

                  Comentario


                  • #10
                    Re: No se registran las Extensiones

                    Aqui esta el error:

                    Código:
                    SIP/2.0 404 Not found (unknown domain)
                    Elimina esta linea en tu archivo de configuracion: domain=xxxxxxxxxxxx.dyndns.tv

                    Y despues ejecuta el comando "sip reload" e intenta de nuevo. O bien añade ese dominio al archivo /etc/hosts con la IP de tu PBX

                    Comentario


                    • #11
                      Re: No se registran las Extensiones

                      Perfecto, muchas gracias ya lo logre!!!!!, ahora, aprovechando de tu amabilidad y ayuda, estoy tratando de poner un par de extensiones foraneas, es decir, no en la red local, sino desde otra ubicacion, ya abri los puertos en el ruteador, los puertos 5060 y 10000-20000, el problema es que no me registra los softphones, me podrias ayudar con eso?

                      Comentario


                      • #12
                        Re: No se registran las Extensiones

                        Si usas Asterisk plano necesitas definir en el sip.conf:

                        -- externhost(dominio asignado) o externip(en caso de que tengas una IP publica estática).
                        -- Tu localnet(la red local)
                        -- externrefresh( cada cuando se registrara)
                        -- Que las extensiones remotas tengan NAT=yes

                        Finalmente verificar que en tu router si se estén pasando las peticiones a tu PBX, que tu router no tenga ninguna opción ALG/SIP habilitada ya que esas siempre rompen el funcionamiento y que el firewall de tu PBX este permitiendo los puertos de registro.

                        Si persisten los problemas igual pega el sip debug del intento de las extensiones remotas.

                        Comentario


                        • #13
                          Re: No se registran las Extensiones

                          Utilizo Trixbox, seria el mismo procedimiento?

                          Comentario


                          • #14
                            Re: No se registran las Extensiones

                            pues depende de la versión del freepbx en la que este basado, pero puedes usar el archivo que estabas editando o el _custom.conf

                            Comentario

                            Nube de Etiquetas

                            Colapsar

                            Principales Usuarios Activos

                            Colapsar

                            No hay usuarios activos superiores.
                            Trabajando...
                            X