-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Where DO I Need To Set Short Code #64
Comments
I believe you have in mind sender value which is set as
|
var smpp = require('smpp'); // Using This to create server please Hellp Getting Error Of checkAsyncUserPass is not defined |
It's not clear in this code snippet whether you have defined such function |
i have copy this fuction from README and there was exact the same |
This example is quite old and misleading. My suggestion is not to use |
ok Thankss And Can Transeceiver set to be multiple Connection at same time |
Well It's enough to maintain single session with SMSC for sending multiple messages and handling received ones at the same time. But if you want to handle multiple sessions to the same SMSC make sure SMSC configuration allows you to do that. In most cases, it should be restricted to 1-2 sessions only with different TPS, etc. |
as My Connection is always open using node server.js . But At Same TIme How Can I Send Message |
It's given in |
but the sms number and message are dynamic as it would be send by android |
When I Get message Id that means Message has been Sent |
Not really. It means SMSC has accepted your request to send message. Later SMSC will notify you whether SMS has been successfully sent to user or not - that's delivery report. You should handle it upon received PDU with:
PDU example of deliveyr report is:
Here |
Means i have to Implement this on Reciever |
How to send SMSC --> ESME i mean can i work like this session.deliver_sm({
|
session.deliver_sm it's working finally . Thanks to all :) |
So, how can i does cuz i have this error : checkAsyncUserPass('wavesmpp1', 'wavesmp1', function(err) { ReferenceError: checkAsyncUserPass is not defined |
The checkAsyncUserPass is not defined for me. |
function checkAsyncUserPass(system_id, password, callback) {
if (system_id === 'wavesmpp1' && password === 'wavesmp1') {
callback(0); // no error
} else {
callback(1); // error
}
} |
Ok, thanks. But now i gat the error like : Error: Cannot find module 'smpp' |
You've defined function parameters as |
The error is : Error: Cannot find module 'smpp' Please how can i fixe it ? |
I install smpp like : npm install smpp it work. Thanks ! |
But i can not connect to it. |
@Kindlysertir have you required the module in the code? var smpp = require('smpp'); |
It's been almost 3 months since last answer, I assume we can close this issue. Feel free to comment again if needed |
Can You Please Help me Where we need to set short code
The text was updated successfully, but these errors were encountered: