when i connect to smpp it falls error to "bindFailure" event
and giving pdu ={ command_length: 21,
command_id: 2147483650,
command_status: 5,
sequence_number: 2 }
here command_status means my client already binded to server..
to resolve this i did this
shorty_Promotional_TX.on('bindFailure', function (pdu) {
shorty_Promotional_TX.unbind();
console.log(pdu)
});
but no fruit comes .. so how to unbind forcefully if already connected to smpp
when i connect to smpp it falls error to "bindFailure" event and giving pdu ={ command_length: 21, command_id: 2147483650, command_status: 5, sequence_number: 2 }
here command_status means my client already binded to server..
to resolve this i did this
shorty_Promotional_TX.on('bindFailure', function (pdu) { shorty_Promotional_TX.unbind(); console.log(pdu) });
but no fruit comes .. so how to unbind forcefully if already connected to smpp