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

    FreePBX Remote Extension Problems

    IT Discussion
    freepbx sip voip pbx telephony udp networking security
    5
    32
    4.3k
    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.
    • RamblingBipedR
      RamblingBiped
      last edited by scottalanmiller

      I'm doing testing with a remote extension that I'm setting up for use by an employee that will be working across the pond in the near future. I've recently been getting unsolicited calls from extensions that do not exist on our network. The caller is not originating from our FreePBX instance, and is spamming the device directly.

      From everything I've read changing the port number that the client registers on from the default of 5060 should pretty much take care of the calls, but every time I try to change it on the extension in FreePBX GUI it does nothing.

      Any pointers on how I can make this change?

      coliverC 1 Reply Last reply Reply Quote 2
      • scottalanmillerS
        scottalanmiller
        last edited by

        What do you mean that it does nothing? Do you mean that the change does not take effect, or that calls keep coming in regardless?

        RamblingBipedR 2 Replies Last reply Reply Quote 2
        • RamblingBipedR
          RamblingBiped @scottalanmiller
          last edited by

          @scottalanmiller said in FreePBX Remote Extension Problems:

          What do you mean that it does nothing? Do you mean that the change does not take effect, or that calls keep coming in regardless?

          I change the port number on the extension from 5060 to a nonstandard port, save the changes, and apply configuration and there is no change. The phone stays registered and continues receiving calls.

          If I go into the phone and change the registration port manually it immediately loses registration until I change it back to the standard 5060.

          (Yealink T23G)

          1 Reply Last reply Reply Quote 0
          • coliverC
            coliver
            last edited by

            With that Yealink I'm pretty sure you can limit communication over SIP to just the Asterisk server. I think it is the security section.

            scottalanmillerS 1 Reply Last reply Reply Quote 1
            • scottalanmillerS
              scottalanmiller @coliver
              last edited by

              @coliver said in FreePBX Remote Extension Problems:

              With that Yealink I'm pretty sure you can limit communication over SIP to just the Asterisk server. I think it is the security section.

              That's not where the security concern is, though. It's the other way, you want to limit it on the PBX. That people can use your handset for other things really doesn't matter.

              coliverC RamblingBipedR 2 Replies Last reply Reply Quote 0
              • RamblingBipedR
                RamblingBiped @scottalanmiller
                last edited by

                @scottalanmiller said in FreePBX Remote Extension Problems:

                What do you mean that it does nothing? Do you mean that the change does not take effect, or that calls keep coming in regardless?

                Yes, it is like it does not recognize the port number being changed. It still registers the device on 5060 instead of say, 5072. I'm not sure what I'm missing.

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

                  @scottalanmiller said in FreePBX Remote Extension Problems:

                  @coliver said in FreePBX Remote Extension Problems:

                  With that Yealink I'm pretty sure you can limit communication over SIP to just the Asterisk server. I think it is the security section.

                  That's not where the security concern is, though. It's the other way, you want to limit it on the PBX. That people can use your handset for other things really doesn't matter.

                  Wouldn't that also prevent these calls from coming in or am I missing the point?

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

                    @coliver said in FreePBX Remote Extension Problems:

                    @scottalanmiller said in FreePBX Remote Extension Problems:

                    @coliver said in FreePBX Remote Extension Problems:

                    With that Yealink I'm pretty sure you can limit communication over SIP to just the Asterisk server. I think it is the security section.

                    That's not where the security concern is, though. It's the other way, you want to limit it on the PBX. That people can use your handset for other things really doesn't matter.

                    Wouldn't that also prevent these calls from coming in or am I missing the point?

                    Phones reach out to the PBX, not the other way around. It's a one way thing. Like a browser to a web server, exactly the same. The phones are never the servers.

                    1 Reply Last reply Reply Quote 0
                    • coliverC
                      coliver @RamblingBiped
                      last edited by

                      @RamblingBiped said in FreePBX Remote Extension Problems:

                      The caller is not originating from our FreePBX instance, and is spamming the device directly.

                      Wouldn't that seem to indicate that blocking all traffic but the SIP traffic from the PBX would resolve the issue of unsolicited calls?

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

                        @coliver said in FreePBX Remote Extension Problems:

                        @RamblingBiped said in FreePBX Remote Extension Problems:

                        The caller is not originating from our FreePBX instance, and is spamming the device directly.

                        Wouldn't that seem to indicate that blocking all traffic but the SIP traffic from the PBX would resolve the issue of unsolicited calls?

                        I guess I might have the wrong end of the stick... are the phones getting calls that are NOT from the PBX? Rather than the PBX having anonymous calls routed through it?

                        RamblingBipedR coliverC 2 Replies Last reply Reply Quote 2
                        • RamblingBipedR
                          RamblingBiped @scottalanmiller
                          last edited by

                          @scottalanmiller said in FreePBX Remote Extension Problems:

                          @coliver said in FreePBX Remote Extension Problems:

                          With that Yealink I'm pretty sure you can limit communication over SIP to just the Asterisk server. I think it is the security section.

                          That's not where the security concern is, though. It's the other way, you want to limit it on the PBX. That people can use your handset for other things really doesn't matter.

                          The problem is the calls are being made directly to the device, circumventing the PBX completely... I'm getting odd extensions like 10001 and 1001 ringing the phone constantly.

                          I found an option in the devices configuration for IP calling that was enabled. So far (fingers crossed) since disabling that the problem has stopped.

                          For anyone else experiencing the issue, the option is:

                          Yealink WEB UI > Features tab > General Information Page > "Allow IP Calling"

                          Set the above to Disabled and confirm changes.

                          scottalanmillerS 1 Reply Last reply Reply Quote 1
                          • scottalanmillerS
                            scottalanmiller @RamblingBiped
                            last edited by

                            @RamblingBiped said in FreePBX Remote Extension Problems:

                            @scottalanmiller said in FreePBX Remote Extension Problems:

                            @coliver said in FreePBX Remote Extension Problems:

                            With that Yealink I'm pretty sure you can limit communication over SIP to just the Asterisk server. I think it is the security section.

                            That's not where the security concern is, though. It's the other way, you want to limit it on the PBX. That people can use your handset for other things really doesn't matter.

                            The problem is the calls are being made directly to the device, circumventing the PBX completely... I'm getting odd extensions like 10001 and 1001 ringing the phone constantly.

                            I found an option in the devices configuration for IP calling that was enabled. So far (fingers crossed) since disabling that the problem has stopped.

                            For anyone else experiencing the issue, the option is:

                            Yealink WEB UI > Features tab > General Information Page > "Allow IP Calling"

                            Set the above to Disabled and confirm changes.

                            Sorry, I had misunderstood. Yes, disabling IP calling would likely solve the issue.

                            RamblingBipedR 1 Reply Last reply Reply Quote 1
                            • RamblingBipedR
                              RamblingBiped @scottalanmiller
                              last edited by

                              @scottalanmiller said in FreePBX Remote Extension Problems:

                              @coliver said in FreePBX Remote Extension Problems:

                              @RamblingBiped said in FreePBX Remote Extension Problems:

                              The caller is not originating from our FreePBX instance, and is spamming the device directly.

                              Wouldn't that seem to indicate that blocking all traffic but the SIP traffic from the PBX would resolve the issue of unsolicited calls?

                              I guess I might have the wrong end of the stick... are the phones getting calls that are NOT from the PBX? Rather than the PBX having anonymous calls routed through it?

                              Exactly. It seems that there are scripts running constantly looking for open sip ports on public IPs. When they find them they attempt to make calls directly to the IP hoping to uncover an avenue of exploitation.

                              1 Reply Last reply Reply Quote 1
                              • RamblingBipedR
                                RamblingBiped @scottalanmiller
                                last edited by

                                @scottalanmiller said in FreePBX Remote Extension Problems:

                                @RamblingBiped said in FreePBX Remote Extension Problems:

                                @scottalanmiller said in FreePBX Remote Extension Problems:

                                @coliver said in FreePBX Remote Extension Problems:

                                With that Yealink I'm pretty sure you can limit communication over SIP to just the Asterisk server. I think it is the security section.

                                That's not where the security concern is, though. It's the other way, you want to limit it on the PBX. That people can use your handset for other things really doesn't matter.

                                The problem is the calls are being made directly to the device, circumventing the PBX completely... I'm getting odd extensions like 10001 and 1001 ringing the phone constantly.

                                I found an option in the devices configuration for IP calling that was enabled. So far (fingers crossed) since disabling that the problem has stopped.

                                For anyone else experiencing the issue, the option is:

                                Yealink WEB UI > Features tab > General Information Page > "Allow IP Calling"

                                Set the above to Disabled and confirm changes.

                                Sorry, I had misunderstood. Yes, disabling IP calling would likely solve the issue.

                                Yep, seems to have fixed the issue. However, I do find it kind of odd that FreePBX GUI has an option for defining a specific port number for an extension that basically does nothing...

                                Either way, problem resolved! Thanks to @coliver for pointing me in the right direction. I had initially looked through the configuration and not found the BURIED option that I was needing.

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

                                  @scottalanmiller said in FreePBX Remote Extension Problems:

                                  @coliver said in FreePBX Remote Extension Problems:

                                  @RamblingBiped said in FreePBX Remote Extension Problems:

                                  The caller is not originating from our FreePBX instance, and is spamming the device directly.

                                  Wouldn't that seem to indicate that blocking all traffic but the SIP traffic from the PBX would resolve the issue of unsolicited calls?

                                  I guess I might have the wrong end of the stick... are the phones getting calls that are NOT from the PBX? Rather than the PBX having anonymous calls routed through it?

                                  That's how I read it. But that brings up another issues, shouldn't the registration process prevent this from happening?

                                  mlnewsM 1 Reply Last reply Reply Quote 0
                                  • mlnewsM
                                    mlnews @coliver
                                    last edited by

                                    @coliver said in FreePBX Remote Extension Problems:

                                    @scottalanmiller said in FreePBX Remote Extension Problems:

                                    @coliver said in FreePBX Remote Extension Problems:

                                    @RamblingBiped said in FreePBX Remote Extension Problems:

                                    The caller is not originating from our FreePBX instance, and is spamming the device directly.

                                    Wouldn't that seem to indicate that blocking all traffic but the SIP traffic from the PBX would resolve the issue of unsolicited calls?

                                    I guess I might have the wrong end of the stick... are the phones getting calls that are NOT from the PBX? Rather than the PBX having anonymous calls routed through it?

                                    That's how I read it. But that brings up another issues, shouldn't the registration process prevent this from happening?

                                    No registration used when there is no PBX involved.

                                    coliverC 1 Reply Last reply Reply Quote 0
                                    • coliverC
                                      coliver @mlnews
                                      last edited by

                                      @mlnews said in FreePBX Remote Extension Problems:

                                      @coliver said in FreePBX Remote Extension Problems:

                                      @scottalanmiller said in FreePBX Remote Extension Problems:

                                      @coliver said in FreePBX Remote Extension Problems:

                                      @RamblingBiped said in FreePBX Remote Extension Problems:

                                      The caller is not originating from our FreePBX instance, and is spamming the device directly.

                                      Wouldn't that seem to indicate that blocking all traffic but the SIP traffic from the PBX would resolve the issue of unsolicited calls?

                                      I guess I might have the wrong end of the stick... are the phones getting calls that are NOT from the PBX? Rather than the PBX having anonymous calls routed through it?

                                      That's how I read it. But that brings up another issues, shouldn't the registration process prevent this from happening?

                                      No registration used when there is no PBX involved.

                                      So the phone was just accepting all SIP requests. Glad you fixed it @RamblingBiped .

                                      scottalanmillerS 1 Reply Last reply Reply Quote 1
                                      • RamblingBipedR
                                        RamblingBiped
                                        last edited by

                                        Aaaaaand I just received another call from some random extension. 😐

                                        Problem un-resolved.

                                        scottalanmillerS wirestyle22W 2 Replies Last reply Reply Quote 0
                                        • scottalanmillerS
                                          scottalanmiller @coliver
                                          last edited by

                                          @coliver said in FreePBX Remote Extension Problems:

                                          @mlnews said in FreePBX Remote Extension Problems:

                                          @coliver said in FreePBX Remote Extension Problems:

                                          @scottalanmiller said in FreePBX Remote Extension Problems:

                                          @coliver said in FreePBX Remote Extension Problems:

                                          @RamblingBiped said in FreePBX Remote Extension Problems:

                                          The caller is not originating from our FreePBX instance, and is spamming the device directly.

                                          Wouldn't that seem to indicate that blocking all traffic but the SIP traffic from the PBX would resolve the issue of unsolicited calls?

                                          I guess I might have the wrong end of the stick... are the phones getting calls that are NOT from the PBX? Rather than the PBX having anonymous calls routed through it?

                                          That's how I read it. But that brings up another issues, shouldn't the registration process prevent this from happening?

                                          No registration used when there is no PBX involved.

                                          So the phone was just accepting all SIP requests. Glad you fixed it @RamblingBiped .

                                          Yeah, that's actually pretty standard. You can just throw a bunch of phones on a network and dial each other via IP. No one does it, but nearly all phones support it out of the box.

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

                                            @RamblingBiped said in FreePBX Remote Extension Problems:

                                            Aaaaaand I just received another call from some random extension. 😐

                                            Problem un-resolved.

                                            Well that sucks. Look for a setting called something like "Anonymous SIP".

                                            RamblingBipedR 1 Reply Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post