terox / smpp-cli Goto Github PK
View Code? Open in Web Editor NEWSimplifies the way to handle SMS to SMPP server
License: MIT License
Simplifies the way to handle SMS to SMPP server
License: MIT License
Hi
@terox This is the first library I have ever seen providing proper way to handle smpp with php. Is it safe to use it in a production environment? like 1 million sms a day
I'm not being able to receive DLR. I can connect but after a few seconds I got the following error:
smpp-cli listen 7070 -h 127.0.0.1 -p 13004 -L user -P pass -C ~/Desktop/DLR.log
Connected to SMPP @ May 21st 2021, 9:37:59 pm
Started DNode server at 7070
Waiting for SMS...
Started DLRs listener
Waiting for delivery reports...
/usr/local/lib/node_modules/smpp-cli/lib/DeliveryReport.js:28
this._messageId = result[1];
^
TypeError: Cannot read property '1' of null
at DeliveryReport._parseDeliveryReport (/usr/local/lib/node_modules/smpp-cli/lib/DeliveryReport.js:28:28)
at new DeliveryReport (/usr/local/lib/node_modules/smpp-cli/lib/DeliveryReport.js:15:8)
at Session.<anonymous> (/usr/local/lib/node_modules/smpp-cli/lib/index.js:81:16)
at Session.emit (events.js:376:20)
at Session._extractPDUs (/usr/local/lib/node_modules/smpp-cli/node_modules/smpp/lib/smpp.js:67:8)
at Socket.emit (events.js:376:20)
at emitReadable_ (internal/streams/readable.js:569:12)
at processTicksAndRejections (internal/process/task_queues.js:81:21)
Not sure if this is a bug. Any help is appreciated.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.