diff --git a/pyVoIP/SIP.py b/pyVoIP/SIP.py index ff02348..5090bb2 100644 --- a/pyVoIP/SIP.py +++ b/pyVoIP/SIP.py @@ -712,7 +712,7 @@ def register(self): self.out.sendto(regRequest.encode('utf8'), (self.server, self.port)) response = SIPMessage(self.s.recv(8192)) - print(response.summary()) + if response.status != SIPStatus(401): if response.status == SIPStatus(500): self.recvLock.release()