Added log entry for sending DLRs
This commit is contained in:
+3
-1
@@ -721,7 +721,7 @@ function smsDlr(status, callback) {
|
||||
|
||||
if (sms.smsId === undefined) {
|
||||
err = new Error('Trying to send DLR with no smsId.');
|
||||
log.warn('larvitsmpp: lib/session.js: smsDlr() - ' + err.message);
|
||||
log.warn('larvitsmpp: lib/utils.js: smsDlr() - ' + err.message);
|
||||
callback(err);
|
||||
return;
|
||||
}
|
||||
@@ -743,6 +743,8 @@ function smsDlr(status, callback) {
|
||||
shortMessage += ' stat:UNDELIVERABLE err:1 text:xxx';
|
||||
}
|
||||
|
||||
log.verbose('larvitsmpp: lib/utils.js: smsDlr() - Sending DLR message: "' + shortMessage + '"');
|
||||
|
||||
dlrPduObj = {
|
||||
'cmdName': 'deliver_sm',
|
||||
'params': {
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@
|
||||
"url": "https://github.com/larvit/larvitsmpp",
|
||||
"type": "git"
|
||||
},
|
||||
"version": "0.1.5",
|
||||
"version": "0.1.6",
|
||||
"readmeFilename": "README.md",
|
||||
"readme": "larvitsmpp",
|
||||
"bugs": {
|
||||
|
||||
Reference in New Issue
Block a user