Add longsms support to client

This commit is contained in:
2023-12-04 09:14:13 +01:00
parent f7976d3738
commit 927ac2edc9
3 changed files with 92 additions and 8 deletions

View File

@@ -64,7 +64,7 @@ function startInterval(session, sessionLogger, metrics) {
short_message: options.message,
});
sendPdu(session, pdu)
sendPdu(session, pdu, sessionLogger, options.longsms)
.then((resp) => {
inFlight--;
sessionLogger.info(`Received response with id ${resp.message_id}`);