More support for return PDUs params and tlvs and more tests

This commit is contained in:
2015-05-01 14:28:30 +02:00
parent 04972855ed
commit 3c9d04aacc
5 changed files with 91 additions and 18 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ function clientSession(sock, options) {
} else if (pduObj.cmdName === 'submit_sm') {
returnObj.submitSm(pduObj);
} else if (pduObj.cmdName === 'unbind') {
returnObj.sendReturn(pduObj, 'ESME_ROK', true);
returnObj.sendReturn(pduObj, 'ESME_ROK', undefined, true);
} else {
// All other commands we do not support
returnObj.sendReturn(pduObj, 'ESME_RINVCMDID');