Uploaded image for project: 'FreePBX'
  1. FreePBX
  2. FREEPBX-14249

Add Option register_retry_403=yes/no

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Not an issue
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: FreePBX Framework
    • Labels:
      None
    • ToDo:
    • Distro Version:
      10.13.66
    • Distro:
      FreePBX Distro

      Description

      We had many problems with our trunk
      Sometimes the providers send us this log

      
      [2017-02-23 00:53:27] WARNING[3263] chan_sip.c: Forbidden - wrong password on authentication for REGISTER for 'XXXXXXXXXX' to 'sip.XXXXXXXXXX.at'
      [2017-02-23 00:53:28] WARNING[3263] chan_sip.c: Forbidden - wrong password on authentication for REGISTER for 'XXXXXXXXXX' to 'sip.XXXXXXXXXX.at'
      

      After that, asterisk does not make any retry to connect.
      We had to restart the trunk manually.

      Asterisk made a patch years ago for this problem:
      http://lists.digium.com/pipermail/asterisk-users/2013-November/281137.html

      Maybe you can include this Registration settings to your Framework?

      Update.....
      I tried the trunk now with the above setting in sip_custom.conf

      Asterisk shows now some different logs and retries the connect until the trunk accepts the connection with the password:

      
      [2017-02-23 20:30:19] NOTICE[3526] chan_sip.c: -- Registration for 'XXXXXXXXXX@XXXXXXXXXX timed out, trying again (Attempt #3)
      [2017-02-23 20:30:19] NOTICE[3526] chan_sip.c: Treating 403 response to REGISTER as non-fatal for XXXXXXXXXX@XXXXXXXXXX
      [2017-02-23 20:30:39] NOTICE[3526] chan_sip.c: -- Registration for 'XXXXXXXXXX@XXXXXXXXXX' timed out, trying again (Attempt #5)
      [2017-02-23 20:30:39] NOTICE[3526] chan_sip.c: Treating 403 response to REGISTER as non-fatal for XXXXXXXXXX@XXXXXXXXXX
      [2017-02-23 20:30:59] NOTICE[3526] chan_sip.c: -- Registration for 'XXXXXXXXXX@XXXXXXXXXX' timed out, trying again (Attempt #7)
      [2017-02-23 20:30:59] NOTICE[3526] chan_sip.c: Treating 403 response to REGISTER as non-fatal for XXXXXXXXXX@XXXXXXXXXX
      [2017-02-23 20:31:19] NOTICE[3526] chan_sip.c: -- Registration for 'XXXXXXXXXX@XXXXXXXXXX timed out, trying again (Attempt #9)
      [2017-02-23 20:31:19] NOTICE[3526] chan_sip.c: Treating 403 response to REGISTER as non-fatal for XXXXXXXXXX@XXXXXXXXXX
      [2017-02-23 20:31:39] NOTICE[3526] chan_sip.c: -- Registration for 'XXXXXXXXXX@XXXXXXXXXX' timed out, trying again (Attempt #11)
      [2017-02-23 20:31:39] NOTICE[3526] chan_sip.c: Treating 403 response to REGISTER as non-fatal for XXXXXXXXXX@XXXXXXXXXX
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mitterhuemer Matthias Binder
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  NextupJiraPlusStatus

                  Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your Jira administrators.