A python-based automated call attendant, call blocker, and voice messaging system running on a Raspberry Pi. Screens callers and block robocalls and scams with a low-cost Raspberry Pi and modem.
If BLOCKED_ACTIONS = () and a blocked caller calls, it will not answer and hang up on the caller. The phone keeps on ringing. I had the same problem with v1.0. In app.py, if I change the following to not check the length of actions, it works for me:
# Answer the call!
# if ok_to_answer and len(actions) > 0:
if ok_to_answer:
self.answer_call(actions, greeting, call_no, caller)
If BLOCKED_ACTIONS = () and a blocked caller calls, it will not answer and hang up on the caller. The phone keeps on ringing. I had the same problem with v1.0. In app.py, if I change the following to not check the length of actions, it works for me:
# if ok_to_answer and len(actions) > 0: if ok_to_answer: self.answer_call(actions, greeting, call_no, caller)