diff --git a/pyVoIP/SIP/client.py b/pyVoIP/SIP/client.py index 07052c5..e7ebf60 100644 --- a/pyVoIP/SIP/client.py +++ b/pyVoIP/SIP/client.py @@ -1299,7 +1299,7 @@ def __deregister(self) -> bool: elif response.status == SIPStatus.OK: return True - elif response.status == SIPStatus(401) or response.statis == SIPStatus( + elif response.status == SIPStatus(401) or response.status == SIPStatus( 407 ): # At this point, it's reasonable to assume that