Coder Social home page Coder Social logo

teonite / vonage-to-matrix Goto Github PK

View Code? Open in Web Editor NEW
0.0 5.0 0.0 98 KB

Send Vonage mobile activity (calls, SMS) to Matrix Hookshot webhook

Home Page: https://teonite.com

Rust 70.71% Dockerfile 6.25% Smarty 23.04%
matrix mobile sms synapse voice vonage vonage-api webhook hookshot

vonage-to-matrix's Introduction

Introduction

vonage-to-matrix is a simple tool that on the input handles Vonage WebHook data about incoming calls and SMS messages and on the output posts that data to the Matrix Hookshot WebHook.

Configuration

The service can be configured by editing the config.toml file.

Hookshot webhook URL

Place the webhook URL in the hookshot section like so:

[hookshot]
url = "https://your-hookshot-domain/webhook/141d7f48-862e-42a8-a1e7-efab3a37ed09"

Configuring message and call forwarding in Vonage

  1. Sign in to vonage and add go to your numbers.
  2. Open configuration panel for a number by clicking the edit button.
  3. Place the following URL under SMS -> Inbound Webhook URL to enable message forwarding
    https://your-vonage-to-matrix-domain/api/inbound-message
    
  4. Enable call forwarding by picking Phone in the Forward to menu and typing in the Number. Place the following URL in Event Webhook URL
    https://your-vonage-to-matrix-domain/api/inbound-call
    

Number labeling

The service can display labeled numbers in messages forwarded to a webhook. To add label to a number one needs to edit the config.toml. Labels should be places under vonage.labels key like in the following file:

[vonage.labels]
48111111111 = "Label for this number"
12222222222 = "Different label"

vonage-to-matrix's People

Contributors

kchudy avatar moubctez avatar teon avatar

Watchers

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