diff --git a/core/plug-in/uac_auth/UACAuth.cpp b/core/plug-in/uac_auth/UACAuth.cpp index ec9b5a8e..327b8f5e 100644 --- a/core/plug-in/uac_auth/UACAuth.cpp +++ b/core/plug-in/uac_auth/UACAuth.cpp @@ -206,7 +206,8 @@ bool UACAuth::onSipReply(const AmSipReply& reply, int old_dlg_status, const stri ERROR("failed to send authenticated request.\n"); } } - } + } + sent_requests.erase(ri); } } else if (reply.code >= 200) { sent_requests.erase(reply.cseq); // now we dont need it any more