<div dir="ltr">Hi,<br><div><br></div><div>I'm trying to understand whether this is the correct or expected behaviour.</div><div><br></div><div>We have two destinations configured in Dispatcher.</div><div><br></div><div>What I am noticing is that when we receive 502 Bad Gateway messages (logged as <span style="background-color:rgb(248,249,250);color:rgb(32,33,36);font-family:Roboto,sans-serif;font-size:14px;white-space:pre-wrap">("call failed to established with 502 code") </span>from both endpoints. After both endpoints have returned 502 Bad Gateway, opensips pass back 503 Service Unavailable back to the originating endpoint of the call. However, subsequent calls are being immediately rejected with 480 Temporarily Unavailable (logged as <span style="background-color:rgb(248,249,250);color:rgb(32,33,36);font-family:Roboto,sans-serif;font-size:14px;white-space:pre-wrap">"failed to find an available destination, rejecting") for a period of time.</span></div><div><br></div><div>It seems that opensips is blacklisting the Dispatcher endpoints because of receiving the 502 Bad Gateway messages. Is this the correct/expected behaviour? I would have thought the blacklisting should be based on the SIP OPTIONS sent to the Dispatcher endpoints.</div><div><br></div><div>I do not currently see any issues with SIP OPTIONS to these endpoints so I'm confused as to why they are seemingly blacklisted.</div><div><br></div><div>If this is the correct/expected behaviour, can it be changed to only blacklist based on the SIP OPTIONs pings?</div><div><br></div><div>Thank you.</div></div>