def __eq__(self, other): if (self.event != other.event): return False if (self.line != other.line): return False if (self.callId != other.callId): return False return SCCPMessage.__eq__(self, other)
def __eq__(self, other): return SCCPMessage.__eq__(self, other) and self.button == other.button