Giter VIP home page Giter VIP logo

smpp-client-nodejs's Introduction

SMPP Client (NodeJS) works with TCXC SMPP proxy (SMS Exchange) or any other SMPP host.

You can get an SMPP account at https://members.telecomsxchange.com

if you dont have an existing buyer account on TelecomsXChange visit www.telecomsxchange.com/buyerjoin

Installation

  • Clone this repository to your machine
# git clone https://github.com/telecomsxchange/smpp-client-nodejs.git
cd /smpp-client-nodejs/
  • Install node modules
# npm install

# npm install system-sleep
  • Open send.js in your text-editor and add your SMPP host,port, username, password.

  • Send SMS

# node send.js 

SMPP Stress Test Client

# cd /smpp-client-nodejs/
  • Install node modules
# npm install
  • Open smpp-stress-tester.js in your code editor and configure SMPP HOST, PORT, USER, PASS, MESSAGES COUNT etc..
const test_sms_count = 5000;                // Number of SMS messages to send.
const req_sec_limit = 65;                   // Number of messages per second
const sleep_time = 1/req_sec_limit*1000;    // Sleep time / Wait for x secs
  • Start SMPP test
# node smpp-stress-tester.js

Using this SendViber.js script to send a message to Viber user

This configuration only works if you're using TCXC to send messages through viber. You must first have purchased Viber SMS route on TCXC first in order to be routed through the correct link, We also require sender ID verification process to whitelist your brandname or sender id.

If you have done that already, you may send a test message to a viber phone number as shown below.

# node SendViber.js

Got Stuck?

If you're stuck please open a github issue (https://github.com/telecomsxchange/smpp-client-nodejs/issues )

If you're a TCXC member (Paying subscriber) you may open a trouble ticket by emailing [email protected]

smpp-client-nodejs's People

Contributors

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