ML
    • Register
    • Login
    • Search
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups

    Remote VoIP Phone Unifi Network

    IT Discussion
    unifi freepbx 14
    6
    31
    418
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • NashBrydges
      NashBrydges last edited by

      I'm sure that once I hear how to fix this I will probably have a "doh" moment but for now, I have an issue I can't seem to be able to fix. Here is the setup.

      FreePBX Location:

      • Unifi network with all devices running latest firmware
      • Unifi controller v6.0.22
      • FreePBX v14.0.13.40 setup and running onsite with 55 extensions.
      • Everything is working as expected here with no issues.
      • Fixed public IP
      • Local network 192.168.0.0/24 - flat network - no VLAN for voip

      Remote Network:

      • Unifi network with all devices running latest firmware
      • Unifi controller v6.0.22
      • 1 single phone to be connected back to the main office FreePBX (no local PBX)
      • Fixed public IP
      • Local network 192.168.100.0/24 - flat network - no VLAN for voip

      I've disabled SIP CONNTRACK MODULE for both networks.
      I've port forwarded 5060 to the FreePBX server limiting access to the remote public IP
      I've added the remote IP to the "networks" tab on FreePBX
      Asterisk info shows the remote extension is registered however "UNREACHABLE" (see screenshot)
      I've checked FreePBX and the IP address is not banned/blocked.

      579f177f-8dd2-44f8-bb2a-e37a0f15150a-image.png

      I can make a call from the remote extension and it rings at its destination however once I answer, there is no sound from either phones. This is true whether I'm dialing a direct extension or calling a landline or cell phone. It rings but no audio so I suspect some firewall setting may have been missed.
      The issue appears to be RTP related.

      Wondering if anyone can help me figure out what I've missed.

      JaredBusch 4 Replies Last reply Reply Quote 0
      • JaredBusch
        JaredBusch last edited by JaredBusch

        @NashBrydges said in Remote VoIP Phone Unifi Network:

        I've port forwarded 5060 to the FreePBX server limiting access to the remote public IP

        You have to port forward the RTP range also. It is UDP 10000-20000 by default.

        1 Reply Last reply Reply Quote 1
        • JaredBusch
          JaredBusch @NashBrydges last edited by JaredBusch

          @NashBrydges said in Remote VoIP Phone Unifi Network:

          Asterisk info shows the remote extension is registered however "UNREACHABLE" (see screenshot)

          This is not registered. this is an issue with NAT.

          1 Reply Last reply Reply Quote 0
          • JaredBusch
            JaredBusch @NashBrydges last edited by JaredBusch

            @NashBrydges said in Remote VoIP Phone Unifi Network:

            I've added the remote IP to the "networks" tab on FreePBX

            Have you restarted the server or issued fwconsole restart?

            NashBrydges 1 Reply Last reply Reply Quote 0
            • NashBrydges
              NashBrydges @JaredBusch last edited by

              @JaredBusch Yeah that was the first thing I tried but didn't help. I am going to port forward the RTP ports on the FreePBX network and give that another try.

              JaredBusch 1 Reply Last reply Reply Quote 0
              • JaredBusch
                JaredBusch @NashBrydges last edited by

                @NashBrydges said in Remote VoIP Phone Unifi Network:

                FreePBX v14.0.13.40 setup and running onsite with 55 extensions.

                FYI, this needs updated.
                https://www.mangolassi.it/topic/21589/upgrade-freepbx-14-to-freepbx-15

                1 Reply Last reply Reply Quote 0
                • JaredBusch
                  JaredBusch @NashBrydges last edited by

                  @NashBrydges said in Remote VoIP Phone Unifi Network:

                  I am going to port forward the RTP ports on the FreePBX network and give that another try.

                  That should resolve the RTP audio issues.

                  NashBrydges 1 Reply Last reply Reply Quote 0
                  • NashBrydges
                    NashBrydges @JaredBusch last edited by

                    @JaredBusch Are you suggesting that an upgrade could fix this issue?

                    I port forwarded 10000-20000 to the FreePBX and still no joy.

                    JaredBusch 2 Replies Last reply Reply Quote 0
                    • JaredBusch
                      JaredBusch @NashBrydges last edited by

                      @NashBrydges said in Remote VoIP Phone Unifi Network:

                      Are you suggesting that an upgrade could fix this issue?

                      No, the things are unrelated. Simply behind by almost a year is not normally a good thing.

                      NashBrydges 1 Reply Last reply Reply Quote 0
                      • JaredBusch
                        JaredBusch @NashBrydges last edited by

                        @NashBrydges said in Remote VoIP Phone Unifi Network:

                        @JaredBusch Are you suggesting that an upgrade could fix this issue?

                        I port forwarded 10000-20000 to the FreePBX and still no joy.

                        Then you have something wrong in your network settings, because no RTP is 100% a NAT issue.

                        1 Reply Last reply Reply Quote 0
                        • NashBrydges
                          NashBrydges @JaredBusch last edited by

                          @JaredBusch Yeah, I'm relatively new with this client and trying to fix their most critical problems first. Agree, that needs to be upgraded.

                          1 Reply Last reply Reply Quote 0
                          • scottalanmiller
                            scottalanmiller last edited by

                            Have you considered putting a VPN between the sites? That will remove the NAT completely.

                            syko24 NashBrydges 2 Replies Last reply Reply Quote 1
                            • syko24
                              syko24 @scottalanmiller last edited by

                              @scottalanmiller said in Remote VoIP Phone Unifi Network:

                              Have you considered putting a VPN between the sites? That will remove the NAT completely.

                              @scottalanmiller - Agreed, especially if you have unifi at both sites it should be quick and easy (assuming they are on the same controller).

                              scottalanmiller 1 Reply Last reply Reply Quote 0
                              • syko24
                                syko24 last edited by

                                @NashBrydges - What phone are you using? Is it a Grandstream by chance?

                                NashBrydges 1 Reply Last reply Reply Quote 0
                                • scottalanmiller
                                  scottalanmiller @syko24 last edited by

                                  @syko24 said in Remote VoIP Phone Unifi Network:

                                  @scottalanmiller said in Remote VoIP Phone Unifi Network:

                                  Have you considered putting a VPN between the sites? That will remove the NAT completely.

                                  @scottalanmiller - Agreed, especially if you have unifi at both sites it should be quick and easy (assuming they are on the same controller).

                                  Exactly, that's what I was thinking.

                                  1 Reply Last reply Reply Quote 0
                                  • NashBrydges
                                    NashBrydges @scottalanmiller last edited by

                                    @scottalanmiller Yes I have, and given the phone is a Yealink, I think that capability exists however this is not my ideal workaround. I'd like to fix the actual problem without having to go VPN. But if there is no fix that I can find, I may not have any other choice.

                                    NashBrydges JaredBusch 2 Replies Last reply Reply Quote 0
                                    • NashBrydges
                                      NashBrydges @syko24 last edited by

                                      @syko24 Yealink T57W

                                      1 Reply Last reply Reply Quote 0
                                      • JaredBusch
                                        JaredBusch @NashBrydges last edited by

                                        @NashBrydges said in Remote VoIP Phone Unifi Network:

                                        I've added the remote IP to the "networks" tab on FreePBX

                                        My brain just caught up.

                                        Remove this. It is not a "local" network because it is going through NAT.

                                        1 Reply Last reply Reply Quote 0
                                        • NashBrydges
                                          NashBrydges @NashBrydges last edited by

                                          @NashBrydges said in Remote VoIP Phone Unifi Network:

                                          @scottalanmiller Yes I have, and given the phone is a Yealink, I think that capability exists however this is not my ideal workaround. I'd like to fix the actual problem without having to go VPN. But if there is no fix that I can find, I may not have any other choice.

                                          I shoudl clarify that I don't want a site to site VPN. The only acceptable VPN solution would be the device VPN.

                                          1 Reply Last reply Reply Quote 0
                                          • JaredBusch
                                            JaredBusch @NashBrydges last edited by

                                            @NashBrydges said in Remote VoIP Phone Unifi Network:

                                            @scottalanmiller Yes I have, and given the phone is a Yealink, I think that capability exists however this is not my ideal workaround. I'd like to fix the actual problem without having to go VPN. But if there is no fix that I can find, I may not have any other choice.

                                            The phones have nothing to do with a site to site VPN between two routers.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post