Added log entry for sending DLRs

This commit is contained in:
2015-06-16 20:34:13 +02:00
parent 0228adb98c
commit d7b54b6dde
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -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
View File
@@ -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": {