Giter VIP home page Giter VIP logo

ovh_telecom_slack_notifier's Introduction

OVH Telecom - Slack notifier

Sends a slack notification if you missed an OVH Voip call.

Getting started

docker build -t medreda/slak_ovh_telecom_notifier .  
docker run --rm --env-file ./.env  medreda/slak_ovh_telecom_notifier  

Configuration needed

  • CHECK_LAST_N_CALLS : Specifies the N last calls that should be checked (if missed or transferred to voicemail).
  • OVH API Keys can be found here.
  • The Slack OAuth token is to be configured pretty easily, example.

Sample


        Numéro    durée  raison                       date
--------------  -------  ---------------------------  -------------------------
 0033626XXXXXX        4  Transféré à la boite vocale  2022-02-06T09:45:16+01:00
   002125XXXXX        6  Transféré à la boite vocale  2022-02-01T19:42:44+01:00

.env content

CHECK_LAST_N_CALLS=100

OVH_ENDPOINT=ovh-eu
OVH_APPLICATION_KEY=*********
OVH_APPLICATION_SECRET=***************************
OVH_CONSUMER_KEY=******************

OVH_SERVICE_NAME=003318******
OVH_BILLING_ACCOUNT=as6******-ovh-2

SLACK_OAUTH_TOKEN=xoxb-************************************

ovh_telecom_slack_notifier's People

Contributors

redoxate avatar

Stargazers

 avatar

Watchers

 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.