You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
logger.LogWarning($"Registration unequivocal failure with {sipResponse.Status} for {m_sipAccountAOR}{(m_exit?", no further registration attempts will be made":"")}.");
(and two other similar places).
But then during the Stop() call, m_exit is being checked, and no call to m_registrationTimer.Dispose() happens:
Hi, we just stumbled on a problem with
SIPRegistrationUserAgent
whenexitOnUnequivocalFailure
is set totrue
, which is default.So when a failure happens, the
m_exit
variable is set tom_exitOnUnequivocalFailure
(which istrue
):sipsorcery/src/app/SIPUserAgents/SIPRegistrationUserAgent.cs
Lines 513 to 518 in f35cc1e
(and two other similar places).
But then during the
Stop()
call,m_exit
is being checked, and no call tom_registrationTimer.Dispose()
happens:sipsorcery/src/app/SIPUserAgents/SIPRegistrationUserAgent.cs
Lines 333 to 355 in f35cc1e
And this is the only place where the timer is being disposed.
This causes an infinite re-registration loop for the account which is already not being used, and other nasty consequences.
The text was updated successfully, but these errors were encountered: