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

    FreePBX inbound call issue

    IT Discussion
    5
    73
    5.8k
    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.
    • S
      SamSmart84 @JaredBusch
      last edited by

      @jaredbusch said in FreePBX inbound call issue:

      @samsmart84 okay, so this confirms shit is just fucked up.

      Ok. The hard part here is making sure you have no outbound calls.

      Then when you make an inbound call monitor the CLI

      asterisk -rvvvvv

      And then call in.

      I get nothing in the CLI for inbound calling when it fails. When I call out first then call in, stuff shows up obviously but not seeing anything that would indicate an issue (as far as I can tell)

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

        @samsmart84 said in FreePBX inbound call issue:

        @jaredbusch said in FreePBX inbound call issue:

        @samsmart84 okay, so this confirms shit is just fucked up.

        Ok. The hard part here is making sure you have no outbound calls.

        Then when you make an inbound call monitor the CLI

        asterisk -rvvvvv

        And then call in.

        I get nothing in the CLI for inbound calling when it fails. When I call out first then call in, stuff shows up obviously but not seeing anything that would indicate an issue (as far as I can tell)

        What version of FreePBX?

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

          @jaredbusch said in FreePBX inbound call issue:

          @samsmart84 said in FreePBX inbound call issue:

          @jaredbusch said in FreePBX inbound call issue:

          @samsmart84 okay, so this confirms shit is just fucked up.

          Ok. The hard part here is making sure you have no outbound calls.

          Then when you make an inbound call monitor the CLI

          asterisk -rvvvvv

          And then call in.

          I get nothing in the CLI for inbound calling when it fails. When I call out first then call in, stuff shows up obviously but not seeing anything that would indicate an issue (as far as I can tell)

          What version of FreePBX?

          Old. 2.8.1.5

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

            I really need to just trash the whole thing and start with a setup that's actually modern/supported

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

              @samsmart84 said in FreePBX inbound call issue:

              @jaredbusch said in FreePBX inbound call issue:

              @samsmart84 said in FreePBX inbound call issue:

              @jaredbusch said in FreePBX inbound call issue:

              @samsmart84 okay, so this confirms shit is just fucked up.

              Ok. The hard part here is making sure you have no outbound calls.

              Then when you make an inbound call monitor the CLI

              asterisk -rvvvvv

              And then call in.

              I get nothing in the CLI for inbound calling when it fails. When I call out first then call in, stuff shows up obviously but not seeing anything that would indicate an issue (as far as I can tell)

              What version of FreePBX?

              Old. 2.8.1.5

              umm, ok.. /me racks brain cells

              So first, shut off iptables and see if the problem goes away.

              service iptables stop
              

              Your system if not direct ont he internet right? So this should be safe enough for a short term test.

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

                @jaredbusch said in FreePBX inbound call issue:

                @samsmart84 said in FreePBX inbound call issue:

                @jaredbusch said in FreePBX inbound call issue:

                @samsmart84 said in FreePBX inbound call issue:

                @jaredbusch said in FreePBX inbound call issue:

                @samsmart84 okay, so this confirms shit is just fucked up.

                Ok. The hard part here is making sure you have no outbound calls.

                Then when you make an inbound call monitor the CLI

                asterisk -rvvvvv

                And then call in.

                I get nothing in the CLI for inbound calling when it fails. When I call out first then call in, stuff shows up obviously but not seeing anything that would indicate an issue (as far as I can tell)

                What version of FreePBX?

                Old. 2.8.1.5

                umm, ok.. /me racks brain cells

                So first, shut off iptables and see if the problem goes away.

                service iptables stop
                

                Your system if not direct ont he internet right? So this should be safe enough for a short term test.

                No it is not direct so should be safe. Issue remains after shutting off iptables

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

                  @samsmart84 said in FreePBX inbound call issue:

                  @jaredbusch said in FreePBX inbound call issue:

                  @samsmart84 said in FreePBX inbound call issue:

                  @jaredbusch said in FreePBX inbound call issue:

                  @samsmart84 said in FreePBX inbound call issue:

                  @jaredbusch said in FreePBX inbound call issue:

                  @samsmart84 okay, so this confirms shit is just fucked up.

                  Ok. The hard part here is making sure you have no outbound calls.

                  Then when you make an inbound call monitor the CLI

                  asterisk -rvvvvv

                  And then call in.

                  I get nothing in the CLI for inbound calling when it fails. When I call out first then call in, stuff shows up obviously but not seeing anything that would indicate an issue (as far as I can tell)

                  What version of FreePBX?

                  Old. 2.8.1.5

                  umm, ok.. /me racks brain cells

                  So first, shut off iptables and see if the problem goes away.

                  service iptables stop
                  

                  Your system if not direct ont he internet right? So this should be safe enough for a short term test.

                  No it is not direct so should be safe. Issue remains after shutting off iptables

                  Well that points back to your routing which is the root cause of this circle jerk.

                  Because in 2.8, the only firewalling was iptables.

                  If that is not running, but you are not seeing anything hit the PBX, then it is like the call is not making to it.

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

                    I am trying to think where else to look, but not getting anywhere.

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

                      @jaredbusch said in FreePBX inbound call issue:

                      I am trying to think where else to look, but not getting anywhere.

                      Yeah it's just so odd.. I can't wrap my head around why the SIP trunk IP changing would break inbound. On the old router config there was literally no reference to the actual SIP trunk IP or anything else I could see that would be affecting it

                      triple9T 1 Reply Last reply Reply Quote 0
                      • triple9T
                        triple9 @SamSmart84
                        last edited by

                        @samsmart84 Maybe this Sophos KB article will help?

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

                          @triple9 said in FreePBX inbound call issue:

                          @samsmart84 Maybe this Sophos KB article will help?

                          Success! So basically some trial and error with the settings.. I had to turn OFF the Sophos VOIP options as that was actually BLOCKING everything (Go figure). I had made the DNAT rule listed in that link before but didn't have any success - the auto firewall rules with it didn't work evidently. Running the DNAT mixed with creating manual firewall rules for outbound calling and it all seems to be working. I've been testing for about an hour - when I turn the DNAT off it stops working and when it's on it works just fine so I think we've got the right combo at this point.

                          Thanks for all your help everyone! That was a pain in the butt to track down.

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

                            @samsmart84 said in FreePBX inbound call issue:

                            @triple9 said in FreePBX inbound call issue:

                            @samsmart84 Maybe this Sophos KB article will help?

                            Success! So basically some trial and error with the settings.. I had to turn OFF the Sophos VOIP options as that was actually BLOCKING everything (Go figure).

                            That’s actually expected. That’s SIP-ALG. Always have to disable that. It’s basically just SIP blocking.

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

                              @scottalanmiller said in FreePBX inbound call issue:

                              @samsmart84 said in FreePBX inbound call issue:

                              @triple9 said in FreePBX inbound call issue:

                              @samsmart84 Maybe this Sophos KB article will help?

                              Success! So basically some trial and error with the settings.. I had to turn OFF the Sophos VOIP options as that was actually BLOCKING everything (Go figure).

                              That’s actually expected. That’s SIP-ALG. Always have to disable that. It’s basically just SIP blocking.

                              Nice of them to include that as a SIP "feature"

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

                                @samsmart84 said in FreePBX inbound call issue:

                                @scottalanmiller said in FreePBX inbound call issue:

                                @samsmart84 said in FreePBX inbound call issue:

                                @triple9 said in FreePBX inbound call issue:

                                @samsmart84 Maybe this Sophos KB article will help?

                                Success! So basically some trial and error with the settings.. I had to turn OFF the Sophos VOIP options as that was actually BLOCKING everything (Go figure).

                                That’s actually expected. That’s SIP-ALG. Always have to disable that. It’s basically just SIP blocking.

                                Nice of them to include that as a SIP "feature"

                                It’s so dumb. But every vendor does it. So don’t think too badly of Sophos. Only vendor I know that doesn’t do it is Ubiquiti. And they do it, it just works.

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

                                  @scottalanmiller said in FreePBX inbound call issue:

                                  @samsmart84 said in FreePBX inbound call issue:

                                  @scottalanmiller said in FreePBX inbound call issue:

                                  @samsmart84 said in FreePBX inbound call issue:

                                  @triple9 said in FreePBX inbound call issue:

                                  @samsmart84 Maybe this Sophos KB article will help?

                                  Success! So basically some trial and error with the settings.. I had to turn OFF the Sophos VOIP options as that was actually BLOCKING everything (Go figure).

                                  That’s actually expected. That’s SIP-ALG. Always have to disable that. It’s basically just SIP blocking.

                                  Nice of them to include that as a SIP "feature"

                                  It’s so dumb. But every vendor does it. So don’t think too badly of Sophos. Only vendor I know that doesn’t do it is Ubiquiti. And they do it, it just works.

                                  Sorry to disappoint, but it Ubiquiti does not have it disabled by default.
                                  You have to disable it.

                                  configure
                                  set system conntrack modules sip disable
                                  commit;save;exit
                                  
                                  scottalanmillerS 1 Reply Last reply Reply Quote 2
                                  • scottalanmillerS
                                    scottalanmiller @JaredBusch
                                    last edited by

                                    @jaredbusch said in FreePBX inbound call issue:

                                    @scottalanmiller said in FreePBX inbound call issue:

                                    @samsmart84 said in FreePBX inbound call issue:

                                    @scottalanmiller said in FreePBX inbound call issue:

                                    @samsmart84 said in FreePBX inbound call issue:

                                    @triple9 said in FreePBX inbound call issue:

                                    @samsmart84 Maybe this Sophos KB article will help?

                                    Success! So basically some trial and error with the settings.. I had to turn OFF the Sophos VOIP options as that was actually BLOCKING everything (Go figure).

                                    That’s actually expected. That’s SIP-ALG. Always have to disable that. It’s basically just SIP blocking.

                                    Nice of them to include that as a SIP "feature"

                                    It’s so dumb. But every vendor does it. So don’t think too badly of Sophos. Only vendor I know that doesn’t do it is Ubiquiti. And they do it, it just works.

                                    Sorry to disappoint, but it Ubiquiti does not have it disabled by default.
                                    You have to disable it.

                                    configure
                                    set system conntrack modules sip disable
                                    commit;save;exit
                                    

                                    I know it is enabled, but have you ever seen it fail? It's the one SIP-ALG system that I have seen "just work" in the real world.

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

                                      @scottalanmiller said in FreePBX inbound call issue:

                                      @jaredbusch said in FreePBX inbound call issue:

                                      @scottalanmiller said in FreePBX inbound call issue:

                                      @samsmart84 said in FreePBX inbound call issue:

                                      @scottalanmiller said in FreePBX inbound call issue:

                                      @samsmart84 said in FreePBX inbound call issue:

                                      @triple9 said in FreePBX inbound call issue:

                                      @samsmart84 Maybe this Sophos KB article will help?

                                      Success! So basically some trial and error with the settings.. I had to turn OFF the Sophos VOIP options as that was actually BLOCKING everything (Go figure).

                                      That’s actually expected. That’s SIP-ALG. Always have to disable that. It’s basically just SIP blocking.

                                      Nice of them to include that as a SIP "feature"

                                      It’s so dumb. But every vendor does it. So don’t think too badly of Sophos. Only vendor I know that doesn’t do it is Ubiquiti. And they do it, it just works.

                                      Sorry to disappoint, but it Ubiquiti does not have it disabled by default.
                                      You have to disable it.

                                      configure
                                      set system conntrack modules sip disable
                                      commit;save;exit
                                      

                                      I know it is enabled, but have you ever seen it fail? It's the one SIP-ALG system that I have seen "just work" in the real world.

                                      Ah, I misunderstood.

                                      I have not because I always disable it.

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

                                        Reviving my thread -

                                        Weirdest thing. We had a power failure/surge over the weekend which knocked down all my servers, switching, etc.

                                        My phones have been working FLAWLESSLY since I last posted. But now, after getting everything back up and running, the SAME issue is back.. but the rules that fixed it before are still in place! Outgoing calling works (though it seems highly delayed now.. like 5-8 seconds after dialing a number for it to start ringing) but I CANNOT call in UNLESS I call out first, which fixes it for 2-3 minutes.

                                        Once again, it's gotta be a firewall issue. This is stupid.

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

                                          Okay.. so now I'm more confused than I've ever been. I deleted my DNAT and my outbound rule for my SIP provider and now it works. Flawlessly. WHAT!? How do the calls know where to go!?!?! Did my Sophos UTM get superpowers after a power spike? 🙂

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

                                            @samsmart84 said in FreePBX inbound call issue:

                                            Okay.. so now I'm more confused than I've ever been. I deleted my DNAT and my outbound rule for my SIP provider and now it works. Flawlessly. WHAT!?

                                            I never understood what your router was doing in the first place. So any number of things might be the issue.

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