Commit 458da9d for jssip.net
commit 458da9d1ea40b0739ef02cec1a6948435a00bcbf
Author: José Luis Millán <jmillan@aliax.net>
Date: Fri Dec 19 13:17:13 2025 +0100
cosmetic
diff --git a/lib/Dialog.js b/lib/Dialog.js
index baa5ed6..9454142 100644
--- a/lib/Dialog.js
+++ b/lib/Dialog.js
@@ -63,7 +63,7 @@ module.exports = class Dialog
this._remote_uri = message.parseHeader('from').uri;
this._remote_target = contact.uri;
this._route_set = message.getHeaders('record-route');
- this._ack_seqnum = this._remote_seqnum;
+ this._ack_seqnum = message.cseq;
}
// RFC 3261 12.1.2.
else if (type === 'UAC')
diff --git a/lib/RTCSession.js b/lib/RTCSession.js
index 7f623c9..9770377 100644
--- a/lib/RTCSession.js
+++ b/lib/RTCSession.js
@@ -1433,7 +1433,7 @@ module.exports = class RTCSession extends EventEmitter
return dialogsArray[0].sendRequest(method, options);
}
- logger.warn('No valid early dialog found to send request');
+ logger.warn('sendRequest() | no valid early dialog found');
return;
}