Skip to content

AI-Bluetooth-Phone-Assistant 3.3

Pre-release
Pre-release

Choose a tag to compare

@antor44 antor44 released this 15 Nov 10:08
· 26 commits to main since this release
8e162ff

v3.3 - Phone goes back to its own audio on Stop and Pause, calls left to the phone stay off the speakers, more natural greeting, 30-minute call limit 🚀📱🔊👋

ℹ️ The Android app does not change: it stays at version 1.1.4.

✨ What's New

  • 📱 When you press Stop Daemon, the phone gets its own audio back (speaker and microphone). It goes through Bluetooth again when the switchboard starts.
  • ⏸️ With While paused, leave the calls to the phone on, pressing Pause releases the phone from Bluetooth, so its calls and their sound never go through the switchboard and there is no delay when you answer. It connects again when you resume.
  • ⚡ Calls left to the phone (whitelist numbers) hand the sound to the phone faster.
  • 👋 Adaptive greeting: more natural. The assistant says the notices of your greeting once and in its own words, answers the caller first if they speak over it, and no longer insists on asking who is calling. The protection against pickup noise is back in this mode, covering only the first second and a half. The option Protect the initial greeting now only applies to the Exact style.
  • 🎚️ You can now choose the greeting style (general setting, adaptive or exact) for each whitelist number or wildcard, and for each category. The whitelist rule wins over the category, and the category over the general setting.
  • ⏱️ A call now lasts 30 minutes at most, whatever the waiting time or category settings. The assistant tells the caller politely and hangs up.

🐛 Bug Fixes

  • 🔁 If Google rejects the AI connection for a moment when a call arrives (for example an error about exhausted resources), the switchboard now tries again up to three times before leaving that call to the phone.
  • ▶️ Start Daemon did nothing on installations that use the systemd service. Fixed.
  • 🔊 Calls left to the phone sometimes kept the sound on Bluetooth. Now the switchboard stays connected to the phone, follows the call until it ends and, a moment after you answer, releases the call audio so the sound stays on the phone.
  • ➕ In the Categories section, pressing Create Category seemed to do nothing: the new category was added at the end as a closed folder. Now it is created open, ready to fill in, with a confirmation message, the name box is cleared, and an empty or repeated name now shows a warning instead of doing nothing.
  • 📝 After saving a message, the assistant got stuck repeating it and ignored data the caller added or corrected afterwards (for example the day and time of an appointment). Now, if the caller adds or corrects something after the message was saved, the assistant saves the complete message again starting with "Correction:" ("Corrección:" in Spanish), confirms only the new detail and then just answers the caller. The inbox keeps both messages, so the one starting with "Correction:" is the valid one.
  • 🔇 The sound of a call left to the phone could be heard through the speakers of the switchboard. The speakers are now silenced from the moment the call rings until its audio is released.

📥 Update

  • Switchboard (PC, or Orange Pi / SBC over SSH): run from the installation directory:
    cd ~/AI-Bluetooth-Phone-Assistant
    git pull
    ./install_system_deps.sh
  • Restart: launch manually with ./my_gui.sh, or, if you use the systemd user service: systemctl --user restart ai-switchboard.service. Live logs: ./my_gui.sh --logs.
  • Languages added by you: copy the new keys from the English or Spanish files: identification_rule_exact, identification_rule_adaptive and call_time_limit in assistant.json (inside inline_prompts), the {identification_rule} marker in system_instruction, and ui_form_greeting_mode, ui_form_greeting_mode_options, ui_form_greeting_mode_help and protect_greeting_help in gui.json. Also copy again the system_instruction of assistant.json, which has a new bullet CORRECTIONS AFTER SAVING in the mandatory saving rule (right after VOICE CONFIRMATION), and ui_cat_greeting_mode, ui_cat_greeting_mode_help, ui_cat_created, ui_cat_empty_name and ui_cat_duplicate in gui.json, and the updated texts of greeting_adaptive and greeting_adaptive_reminder in assistant.json, and of ui_greeting_mode_help, ui_form_passthrough_help and live_long_calls_help in gui.json.
  • Tested on: Xubuntu / Ubuntu 24.04 LTS (PC) and Armbian Ubuntu 24.04 LTS Noble XFCE (Orange Pi Zero 3) with an external USB Bluetooth adapter.
  • Android app: nothing to do if you already have version 1.1.4. APK SHA-256 (version 1.1.4): 452ff113f053dd5cc1ffa21b501c1e44d052b1e8b858dd7128e95e853b516d96