Open AmarKhoirudin opened 1 year ago
sorry my question above was successful because tls, how to connect with tls? and I have another new question
when the client disconnects and connects again the error is like the one pictured above, what's the solution?
Hello i use node-smpp to create server.
when I use the client from node-smpp it succeeds in bind_transceiver but when the client from ActiveXpert Messagging the monitor server doesn't want to connect, the error failed to bind server, timeout. Please help me where did I go wrong??
let getSession = [];
var server = smpp.createServer( { debug: true, // debugListener: function (type, msg, payload) { // console.log({ type: type, msg: msg, payload: payload }); // }, }, function (session) { if (typeof session.client !== "undefined") { session.send( pdu.response({ command_status: smpp.ESME_RBINDFAIL, }) ); session.close(); throw Error('Session already has "client" key'); } session["client"] = { system_id: "", };
} );