how to send long message using node smpp?
问题 exports.sendSMS = function (session, to, text, sourceAddress, jsonMessageHistoryIds, callback) { console.log('messege',text); session.submit_multi({ source_addr: sourceAddress, dest_address: to, short_message: text }, function (pdu) { console.log('submit_multi: ', pdu.command_status); console.log("PDU", pdu); if (pdu.command_status == 0) { // insert into sms smpp logs var values = { type: 'bulk', message: text, numbers: JSON.stringify(to) }; console.log(pdu.message_id); callback(null, pdu