Git Product home page Git Product logo

wf908164152 / sipcallnotifier Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gbozo/sipcallnotifier

0.0 0.0 0.0 23.3 MB

A voip/sip client phone linux service that connects to your provider and informs android tv (sony bravia, fire tv etc) about incomming calls, also blocks calls via a blacklist- no more spam and telemarketers

License: GNU General Public License v3.0

Shell 15.10% Perl 84.90%

sipcallnotifier's Introduction

VOIP/SIP Call Notifier

A voip/sip client phone running as a linux service that connects to your provider and informs android tv (sony bravia, fire tv etc) about incomming calls.

It also blocks calls via a blacklist csv file, the file is a single column csv.

You can export your contacts from Goolle Contacts as a contacts.csv file and provide it to the linux service, it will than notify your androit tv or fire tv about your incomming call by looking up the numbers in the csv.

All calls and logs are written in a log file located at /var/logs/calls.log (you may change that).

The config file is pretty straight forward and includes some minor settings for your provider and contacts.csv file location and android tv IP.

The programm is solely written in perl but can be compiled as a standard executable by using perl packer.

A sqlite database is initialized in memory in order to load contacts.cvs and blacklist.

The message to android tv is send by using nfa, a Go command line app to send notifications to Notifications for Android TV / Notifications for Fire TV that can be found here https://github.com/robbiet480/nfa , you may build it by simply running "go get github.com/robbiet480/nfa" and get it from your golang bin dir.

Notifications for Android TV / Notifications for Fire TV must be installed on on your TV in order for the notification to be displayed, you may find it on Google Play. Once installed you have to open the application once in order for the app to be initialized on the tv so it can accept notifications.

Distribution is packaged as a debian package (.deb) file and includes an init script and the golang nfa binary, it also includes the binary version of sipcallnotifier (arch i386) and the perl version(sipcallnotfier.pl) for ease of coding, in case you want to make changes. If this is the case, do not forget to change your init script (/etc/init.d/sipcallnotify) to run sipcallnotfier.pl instead of sipcallnotifier.

If you find it to be too Greek for you, you may change the notification message by changing the source (or adding it as a config option!! pull requests accepted).

Cheers GB

sipcallnotifier's People

Contributors

gbozo 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.