Code Monkey home page Code Monkey logo

neru-sms-dlrs-filter's Introduction

Neru SMS API DLRs callback filter

This sample project help to filter the DLRs, to allow only statuses: "delivered", "expired", "failed", "rejected", and "unknown" DLRs to hit the customer webhook

How to deploy

  1. clone the project and run npm install
  2. create neru project, follow instruction in https://vonage-neru.herokuapp.com/neru/getting-started
  3. rename neru.example.yml to neru.yml and replace the variables with your neru project info.
  4. deploy the app to neru

How to use

To configure the customer dlrs webhook:

  1. login to the deployed neru app
  2. Set the dlrs customer webhook url to point to your server destination: ex: https://{{domain}}/{{region}}/test/drls (noted: any text encloded in double curly braces will be replaced by the neru proxy)
  3. Click submit button

Set SMS callback url:

  1. set the custom SMS API callback url to: https://{{your-neru-app-domain}}/dlr/?{{param1}}%26{{param2}} ex: https://neru-123abc-dlr-dev.apse1.serverless.vonage.com/dlr/?domain=www.example.com%26region=sg

With setup above, only the allowed SMS DLSs will be forwarded to customer dlrs webhook (ex: https://www.example.com/sg/test/drls)

neru-sms-dlrs-filter's People

Contributors

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