Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 1.3 KB

README.md

File metadata and controls

18 lines (12 loc) · 1.3 KB

ml-conversations-smpp-js

Conversational multi-chat SMS text messaging user interface using SMPP over Web Sockets and JavaScript

Screenshot 2021-04-10 at 15 47 05

Example conversational UI comprising:

  • SMPP over Web Sockets between browser and web server
  • SMPP library (simple) in JavaScript
  • Multiple chats based on mobile number
  • Inbound (MO) and outbound (MT) SMS
  • Delivery confirmation (using delivery receipts)

Uses SMPP accounts for the Melrose Labs Tyr SMS Gateway (https://melroselabs.com/services/tyr-sms-gateway/). This is due to the code making a web sockets (WSS) connection to melroselabs.com and the web sockets proxy being configured to direct connections to Tyr SMS Gateway SMPP hosts. Deploy your own web sockets proxy and update the code if you want to use another SMS gateway.

This project is not intended as best practice in conversational UI design, however its purpose is to demonstrate how relatively simple it is to implement a conversational application and UI using web technologies, SMPP and a suitably capable SMS gateway provider.

Further improvements are required to address robustness, message entry, connection stability/keep-alive, and chat management.