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

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

    Scheduled Pinned Locked Moved IT Discussion
    41 Posts 7 Posters 4.6k Views
    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.
    • Mike DavisM
      Mike Davis
      last edited by

      Check your port forwarding rules on your WRTG54GL to make sure they forward to the new address.

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

        I've checked the settings on both the WRT54GL and the FreePBX firewall. The WRT54GL only had some port forwarding rules for the 192.168.0.0 FreePBX host but those have been updated to match the new 192.168.3.0 address. I had an issue with the local GUI connections through the FreePBX firewall but someone assisted me in getting that switched to the 192.168.3.0 network so that should be good I hope.

        I'm looking at the logs and I'm getting a "network is unreachable" error for my SIP provider IP when attempting to dial out and also "Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 0"

        When I call out, I get a few seconds of silence and then eventually an "all circuits are busy" message

        JaredBuschJ 1 Reply Last reply Reply Quote 1
        • DustinB3403D
          DustinB3403
          last edited by

          Is it possible that your equipment needs to be restarted? The WRT54GL is an older unit, isn't it?

          Have you tried restarting all components once these changes have been made?

          S aaron-closed accountA 2 Replies Last reply Reply Quote 1
          • S
            SamSmart84 @DustinB3403
            last edited by

            @DustinB3403

            I have tried restarting (both the router and the PBX box) and that hasn't changed anything. Oddly on my PBX status screen all of the indicators are green, including the SIP trunk connection.

            1 Reply Last reply Reply Quote 0
            • DustinB3403D
              DustinB3403
              last edited by

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

              I'm looking at the logs and I'm getting a "network is unreachable" error for my SIP provider IP when attempting to dial out and also "Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 0"

              What logs are you looking at, are you able to provide those?

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

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

                I'm looking at the logs and I'm getting a "network is unreachable" error for my SIP provider IP when attempting to dial out and also "Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 0"

                When I call out, I get a few seconds of silence and then eventually an "all circuits are busy" message

                That is a standard message that the call was not able to be completed because the trunk is not available.

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

                  Who is the provider? You SW thread said that there is no IP restriction place.

                  What version of FreePBX?

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

                    Unrelated to your actual question, but gods, throw that router away. Buy real equipment.

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

                      @JaredBusch

                      The SIP provider is Voxox (Telcentris). As for the router, this is step #1 in throwing it away. I run a Sophos firewall for our primary connection and getting the phones switched over and running through that will be the next step. I just need the inbound/outbound to work for now.

                      1 Reply Last reply Reply Quote 0
                      • A
                        Alex Sage
                        last edited by

                        http://arstechnica.co.uk/information-technology/2016/07/linksys-wrt54gl-router-still-a-hot-seller/

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

                          Upon some further investigating, the FreePBX box CANNOT ping the SIP Host, but the WRT54GL can talk both ways. The PBX box can see all other items on the 192.168.3.0 network, including the router.

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

                            I asked you what version of FreePBX it was?

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

                              @JaredBusch

                              2.8.1.5

                              1 Reply Last reply Reply Quote 0
                              • 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
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • First post
                                              Last post