Code Monkey home page Code Monkey logo

asterisk-homeassistant-tools's Introduction

asterisk-homeassistant-tools

sascha

asterisk number recognition, smart voicemail

This is an 21st century "voicemail" using asterisk ,nextcloud and home assistant.

Sascha picks up the call when your busy due to a schedule meeting (meeting members are allowed to call) or a manual switch or its late and gives the caller the option to 1 call voicemail. 2 continue to call. (behind password for not close persons) 3 give more info. (behind password for not close persons)

here is an (old) need to update youtube video https://www.youtube.com/watch?v=erOs4H4BXOA

other code

this code also includes asterisk interface to control your home assistant with your sip phone. select music and control switches.

there is also a script to create mpd playlist cards in home assistant

atleast these (debian) packages are required

apt install php php-yaml php-curl sox libsox-fmt-all xmlstarlet php-mysql python3-gtts translate-shell

create a gsm tts message with gtts

gtts-cli 'Dear caller this is a message' | sox -t mp3 -  -r 8000 -c1 message.gsm

crontab

*  *  *   *   *      /opt/sascha/asterisk/trigger.php  > /dev/null 2>&1
*  *  *   *   *  /opt/asterisk/parse_voicemail.php > /dev/null 2>&1
*  *  *   *   * /opt/sascha/wakeup/start_wakeup_call.php > /dev/null 2>&1
*/10 * *  *   * /opt/sascha/nextcloud/update_calendar.php > /dev/null 2>&1
10  0  *   *   *   /opt/sascha/nextcloud/import_phonebook.php > /dev/null 2>&1
20  0  *   *   *   /opt/sascha/ldap/push_ldap.php > /dev/null 2>&1

asterisk-homeassistant-tools's People

Contributors

bram-diederik avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.