Example #1
0
 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")
Example #2
0
 def say(self, speech):
     if not self.call_established:
         LOG.warning("Speaking without an active call!")
     self.tts.say(speech, blocking=True)