Bug fix: Cleartelnet code werkte niet omdat deze in de if stond voor 0 bytes ontvangen.
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
@@ -668,9 +668,9 @@ recieve a answer from the sip server
|
||||
if (len(bytebuf) == 0):
|
||||
c+=1
|
||||
self.log.debug("recv: bytebuf: %s" % bytebuf)
|
||||
if self.cleartelnet:
|
||||
if bytebuf[0] == 255:
|
||||
bytebuf = b''
|
||||
if self.cleartelnet:
|
||||
if bytebuf[0] == 255:
|
||||
bytebuf = b''
|
||||
except Exception as e:
|
||||
self.log.error("SipLmw.recv: socket timeout: %s", e)
|
||||
self.closesocket()
|
||||
|
Reference in New Issue
Block a user