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

PJSIP with Internal extensions - 401 unathorized on INVITE message

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 15.0.17
    • Fix Version/s: None
    • Component/s: Asterisk Configuration
    • Labels:
      None
    • Asterisk Version:
      18
    • Distro Version:
      15.0.17
    • Distro:
      FreePBX Distro

      Description

      Using chan_pjsip (no insecure = invite as in chan_sip).

      Calling between internal extensions, properly defined in pjsip.conf, there is always a 401 unauthorized after an outgoing INVITE, instead of 100 Trying. This may not look like a significant issue but thee are endpoints that do not accept that, we would like to disable this challenge and have it only during Registration (REGISTER).

      In chan_sip, it was possible by having an empty secret (blank) but using chan_pjsip it was not possible to do it this way. Even with a blank secret, there is still a 401 unauthorized challenge.

      Any inputs are welcome!

      Attached is an example from extension 2222 to extension 3333, where there is a first 401 unauthorized to be followed by an answer in the second INVITE As it was mentioned above, not all endpoints will do that (ex. TIPCon1 endpoint)

       

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ncinta ncinta
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:

                  NextupJiraPlusStatus

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