def do_command(self, action): if self.ready: action = str(action) self.baresip.sendline(action) else: LOG.warning(action + " not executed!") LOG.error("NOT READY! please wait")
def say(self, speech): if not self.call_established: LOG.warning("Speaking without an active call!") self.tts.say(speech, blocking=True)