[Home]

Summary:ASTERISK-24625: res_pjsip_outbound_registration: 401 spam when invalid credentials provided
Reporter:Matt Jordan (mjordan)Labels:
Date Opened:2014-12-16 13:29:05.000-0600Date Closed:2015-01-16 11:19:47.000-0600
Priority:MajorRegression?
Status:Closed/CompleteComponents:Resources/res_pjsip_outbound_registration
Versions:13.1.0 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:When invalid credentials are provided to an outbound registration configuration section, Asterisk will often receive a {{401}} or {{407}} back from an upstream provider. Rather than waiting any amount of time, it immediately sends the {{REGISTER}} request again (with the presumably incorrect credentials).

This occurs ad nauseum, as neither side attempts to give up.

If we receive multiple challenges to a series of {{REGISTER}} requests that we sent, we should eventually back off and wait some period of time before trying again.
Comments: