farhadi / farhadi/node-smpp

Error while connecting to server PDU_STATUS 15

Abierto
#239 3 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
435
Forks
194
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

hello i am trying to connect to smpp and i got this error

PDU {
command_length: 16,
command_id: 2147483657,
command_status: 15,
sequence_number: 1,
command: 'bind_transceiver_resp'
}
the same parameters work on another app which is developed with java netbeans

i try to develop app with new tech nodejs and probleming is not solvinf may be i should ad system_type="SMPP"
but still not work

const smpp = require('smpp');
const session = new smpp.Session({host: '********', port: *****});
let isConnected = false
session.on('connect', () => {
isConnected = true;
console.log('is connected')
session.bind_transceiver({
system_id: '****',
password: '******',

}, (pdu) => {
if (pdu.command_status == 0) {
console.log('Successfully bound')
}
else {
console.log(pdu)
}

})
})

session.on('error', error => {
console.log('smpp error', error)
isConnected = false;
});

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.