Question about Fatal 401 Errors on PJSip Trunk

Would it be fair to say that if you have an internet connection failure to your FreePBX system, and if you have a PJSip trunk, and if you have “Permanent Auth Reject” set to YES, Max Retries set to 30 and Fatal Retry Interval set to something like 10, then after about 5 minutes of the failure, you FreePBX system will stop trying to re-register your PJSip Trunk? That you will see an error something like:

res_pjsip_outbound_registration.c: Fatal response ‘401’ received from ‘’ on registration attempt to ‘sip:[email protected]’, stopping outbound registration

If so, would a good fix be to change Permanent Auth Reject to No, and increase the period that it will retry to re-establish the connection (re-register)? The way it was setup initially, it seems would be good if you never expected to have an outage. Took me forever to find the error message in the log. Grep Search for “Fatal” in “full” does it.

Keeps my life interesting.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.