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

    Changed local IP on PBX, can't call out or receive calls now

    IT Discussion
    7
    41
    4.6k
    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.
    • JaredBuschJ
      JaredBusch
      last edited by

      what does route -n show on your freepbx box?

      S 1 Reply Last reply Reply Quote 1
      • JaredBuschJ
        JaredBusch
        last edited by

        Or more to the point can you ping anything on the internet?

        1 Reply Last reply Reply Quote 1
        • JaredBuschJ
          JaredBusch
          last edited by

          cat /etc/sysconfig/network-scripts/ifcfg-eth0
          and
          cat /etc/sysconfig/network

          1 Reply Last reply Reply Quote 1
          • S
            SamSmart84 @JaredBusch
            last edited by

            @JaredBusch

            It shows the 192.168.3.0 for the Destination, the gateway was defaulted to 0.0.0.0. Just switched that to the router IP and it works now.
            Gah.. knew it would be something simple.

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

              @SamSmart84 said in Changed local IP on PBX, can't call out or receive calls now:

              @JaredBusch

              It shows the 192.168.3.0 for the Destination, the gateway was defaulted to 0.0.0.0. Just switched that to the router IP and it works now.
              Gah.. knew it would be something simple.

              1. You did not do what you were told.
              2. I did not tell you to change anything.
              3. The gateway SHOULD be 0.0.0.0 for everything.
              4. Do what you are told, not what you think you should do.
              1 Reply Last reply Reply Quote 0
              • JaredBuschJ
                JaredBusch
                last edited by

                You should then have a single default gateway line with destination 0.0.0.0 and a gateway of your router.

                Something like this.

                root@pbx:~ $ route -n
                Kernel IP routing table
                Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
                10.254.0.0      0.0.0.0         255.255.255.0   U     0      0        0 eth0
                10.254.1.0      0.0.0.0         255.255.255.0   U     0      0        0 zt0
                169.254.0.0     0.0.0.0         255.255.0.0     U     1002   0        0 eth0
                0.0.0.0         10.254.0.1      0.0.0.0         UG    0      0        0 eth0
                root@pbx:~ $
                
                S 1 Reply Last reply Reply Quote 1
                • S
                  SamSmart84 @JaredBusch
                  last edited by

                  @JaredBusch

                  I figured the IP change somehow defaulted that since switching it to the router is allowing calls in/out. However, it isn't letting me swap that back to 0.0.0.0, tells me I have a validation error. This is under Network Parameters in Elastix for the asterisk.pbx.com host

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

                    @SamSmart84 said in Changed local IP on PBX, can't call out or receive calls now:

                    @JaredBusch

                    I figured the IP change somehow defaulted that since switching it to the router is allowing calls in/out. However, it isn't letting me swap that back to 0.0.0.0, tells me I have a validation error. This is under Network Parameters in Elastix for the asterisk.pbx.com host

                    Elastix is not FreePBX. Details matter.............

                    S 1 Reply Last reply Reply Quote -1
                    • S
                      SamSmart84 @JaredBusch
                      last edited by

                      @JaredBusch

                      Sorry, new to the VOIP thing. So the routing table you posted looks similar to mine. I do see the Destination 0.0.0.0 and the Gate 192.168.3.x address for the gateway. This is correct then? The 192.168.3.0 destination still shows 0.0.0.0 for the gateway.

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

                        @SamSmart84 said in Changed local IP on PBX, can't call out or receive calls now:

                        @JaredBusch

                        Sorry, new to the VOIP thing. So the routing table you posted looks similar to mine. I do see the Destination 0.0.0.0 and the Gate 192.168.3.x address for the gateway. This is correct then? The 192.168.3.0 destination still shows 0.0.0.0 for the gateway.

                        If you were changing things in the Elastix GUI, then yes, that is all you need to set. Also I could have told you to check the right setting many posts ago.

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

                          I actually didn't fully realize that Elastix and FreePBX were completely separate since changing some setting in one seemed to do it for both, while not others and since FreePBX was accessible directly from Elastix. Is there a reason why both are present?

                          scottalanmillerS 1 Reply Last reply Reply Quote 0
                          • S
                            SamSmart84
                            last edited by

                            Also if you post the solution on Spiceworks as well I'll give you a best answer since you were responding on both

                            1 Reply Last reply Reply Quote 1
                            • aaron-closed accountA
                              aaron-closed account Banned @DustinB3403
                              last edited by

                              This post is deleted!
                              A 1 Reply Last reply Reply Quote 1
                              • A
                                Alex Sage @aaron-closed account
                                last edited by

                                @aaron https://mangolassi.it/topic/9713/changed-local-ip-on-pbx-can-t-call-out-or-receive-calls-now/12

                                aaron-closed accountA 1 Reply Last reply Reply Quote 1
                                • aaron-closed accountA
                                  aaron-closed account Banned @Alex Sage
                                  last edited by

                                  This post is deleted!
                                  1 Reply Last reply Reply Quote -1
                                  • scottalanmillerS
                                    scottalanmiller @SamSmart84
                                    last edited by

                                    @SamSmart84 said in Changed local IP on PBX, can't call out or receive calls now:

                                    I actually didn't fully realize that Elastix and FreePBX were completely separate since changing some setting in one seemed to do it for both, while not others and since FreePBX was accessible directly from Elastix. Is there a reason why both are present?

                                    Both what? Elastix uses a FreePBX GUI, but is not FreePBX. FreePBX and Elastix are both full PBX appliance OSes. They are "download the ISO and install the system" peers. Both use the FreePBX GUI for at least some of their tasks. But each is its own discrete system with different base OSes used for the builds, different components, different generations of components, different components, different configurations, etc. Discrete products. Don't look at a FreePBX web application in Elastix and think that the FreePBX appliance is under the hood, very different things.

                                    S 1 Reply Last reply Reply Quote 1
                                    • S
                                      SamSmart84 @scottalanmiller
                                      last edited by

                                      @scottalanmiller

                                      Okay so I'm running JUST Elastix even though it utilizes a web app labeled FreePBX? That makes a lot more sense now.

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

                                        @SamSmart84 said in Changed local IP on PBX, can't call out or receive calls now:

                                        @scottalanmiller

                                        Okay so I'm running JUST Elastix even though it utilizes a web app labeled FreePBX? That makes a lot more sense now.

                                        Correct. You are running the appliance software Elastix which uses the FreePBX web interface.

                                        The FreePBX interface predates the FreePBX PBX by a really long time. Lots of products, like Elastix and Trixbox, used the FreePBX interface long before the FreePBX distro came out.

                                        S 1 Reply Last reply Reply Quote 1
                                        • S
                                          SamSmart84 @scottalanmiller
                                          last edited by

                                          @scottalanmiller

                                          Learn something new everyday. It always confused me why people referenced one or the other when it seemed like mine was both. Now I understand. That'll help me moving forward if/when I have to ask questions about the system. Thanks for the info.

                                          scottalanmillerS JaredBuschJ 2 Replies Last reply Reply Quote 0
                                          • scottalanmillerS
                                            scottalanmiller @SamSmart84
                                            last edited by

                                            @SamSmart84 said in Changed local IP on PBX, can't call out or receive calls now:

                                            @scottalanmiller

                                            Learn something new everyday. It always confused me why people referenced one or the other when it seemed like mine was both. Now I understand. That'll help me moving forward if/when I have to ask questions about the system. Thanks for the info.

                                            yes, so when people recommend FreePBX instead of Elastix... they really mean installing FreePBX instead of installing Elastix. Elastix has lost its support in the last few years and is really floundering. They are still alive, but just barely and there are lots of concerns. FreePBX has replaced it in the market.

                                            S 1 Reply Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 3
                                            • 2 / 3
                                            • First post
                                              Last post