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

    FreePBX, Remote user, and registration

    IT Discussion
    freepbx sip-registration
    5
    13
    1.1k
    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.
    • AdamFA
      AdamF
      last edited by AdamF

      I have a remote user, on our FreePBX system. They recently bought a new modem, and are no longer to make/receive calls from their remote phone. The only thing that changed, was the new modem. The model number is a Motorola MG7315.

      Symptoms:

      1. The phone registers, but the Asterisk console reports that there are serious network troubles as soon as it registers.
      2. It stays registers for a brief time, and then becomes unreachable. (visible from the Asterisk console)
      3. Whenever the user tries to make a phone call, the phone becomes unreachable. (visible from the Asterisk console)

      Troubleshooting steps so far:

      1. In the settings of the modem, there is an option to turn off SIP ALG, which I already did. No change.
      2. There is an option to add the phone to a DMZ on the modem. I've done this also. No help

      Any ideas for further troubleshooting?

      1 Reply Last reply Reply Quote 1
      • EddieJenningsE
        EddieJennings
        last edited by

        Have you looked at the Responsive Firewall status to see if their IP is being blocked as an attacker?

        AdamFA 1 Reply Last reply Reply Quote 0
        • AdamFA
          AdamF @EddieJennings
          last edited by

          @eddiejennings said in FreePBX, Remote user, and registration:

          Have you looked at the Responsive Firewall status to see if their IP is being blocked as an attacker?

          Yes, And they are in as a trusted IP as well.

          1 Reply Last reply Reply Quote 0
          • EddieJenningsE
            EddieJennings
            last edited by

            Have you looked in the System Admin module at the Intrusion detection to see if Fail2Ban has blocked them? I've had hosts in both the Trusted and Local firewall zones be blocked by the Intrusion detection function in the past.

            AdamFA 1 Reply Last reply Reply Quote 0
            • gjacobseG
              gjacobse
              last edited by

              Tagging @scottalanmiller

              scottalanmillerS 1 Reply Last reply Reply Quote 0
              • AdamFA
                AdamF @EddieJennings
                last edited by

                @eddiejennings said in FreePBX, Remote user, and registration:

                Have you looked in the System Admin module at the Intrusion detection to see if Fail2Ban has blocked them? I've had hosts in both the Trusted and Local firewall zones be blocked by the Intrusion detection function in the past.

                Yes, I've also checked there. Nothing is blocked. In fact, the endpoint registers again after a few minutes, and then after a brief period of time, spews errors on the asterisk console, and then becomes unreachable.

                I am almost certain it has to do with the local modem/router that the user replaced, but it's difficult to troubleshoot/prove.

                EddieJenningsE 1 Reply Last reply Reply Quote 0
                • EddieJenningsE
                  EddieJennings @AdamF
                  last edited by

                  @fuznutz04 said in FreePBX, Remote user, and registration:

                  @eddiejennings said in FreePBX, Remote user, and registration:

                  Have you looked in the System Admin module at the Intrusion detection to see if Fail2Ban has blocked them? I've had hosts in both the Trusted and Local firewall zones be blocked by the Intrusion detection function in the past.

                  Yes, I've also checked there. Nothing is blocked. In fact, the endpoint registers again after a few minutes, and then after a brief period of time, spews errors on the asterisk console, and then becomes unreachable.

                  I am almost certain it has to do with the local modem/router that the user replaced, but it's difficult to troubleshoot/prove.

                  Odd. What are the errors you see on the console, that might help us figure out what's going on?

                  @JaredBusch might be able to help.

                  1 Reply Last reply Reply Quote 0
                  • AdamFA
                    AdamF
                    last edited by

                    For example:

                    [2018-01-18 10:14:22] WARNING[1952]: chan_sip.c:3785 __sip_xmit: sip_xmit of 0x7f401408e1c0 (len 752) to IP ADDRESS:58701 returned -2: Interrupted system call
                    [2018-01-18 10:14:22] ERROR[1952]: chan_sip.c:4274 __sip_reliable_xmit: Serious Network Trouble; __sip_xmit returns error for pkt data
                    
                    1 Reply Last reply Reply Quote 0
                    • JaredBuschJ
                      JaredBusch
                      last edited by

                      Have the user's phone go to a STUN server.

                      Use stun.stunprotocol.org:3478 in your phone.

                      Make sure you allow stun.stunprotocol.org in your firewall.

                      In a Yealink phone it goes here:
                      Enable Stun on the account tab at the bottom.
                      0_1516293066504_004e28fc-b78d-48d6-a8de-b88d470757d4-image.png

                      Then go to the Network tab and put in the settings. This will cause the phone to reboot.
                      0_1516293142927_39b942b9-ce9a-4d47-b22c-b392664b9a9c-image.png

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

                        @gjacobse said in FreePBX, Remote user, and registration:

                        Tagging @scottalanmiller

                        Ha, it's the week of this.

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

                          Definitely use STUN, fixes odd issues that you'd never guess.

                          1 Reply Last reply Reply Quote 0
                          • AdamFA
                            AdamF
                            last edited by

                            @JaredBusch & @scottalanmiller

                            Thanks, I'll try this as soon as I can get ahold of the user.

                            1 Reply Last reply Reply Quote 0
                            • AdamFA
                              AdamF
                              last edited by

                              Follow up on this, the user went out and got a new modem. Immediately resolved the issue, so I was never able to test if STUN would have resolved it or not. I'll keep this in mind though for next time.

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