diff --git a/lib/utils.js b/lib/utils.js index c46f1ea..7c8ccc5 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -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': { diff --git a/package.json b/package.json index aa5953e..6eac857 100644 --- a/package.json +++ b/package.json @@ -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": {