From 4de006acf3bd913b91cf7ff0a1128ec4878a6dee Mon Sep 17 00:00:00 2001 From: mayama Date: Sat, 31 Aug 2024 15:34:25 +0900 Subject: [PATCH] done --- sip.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sip.js b/sip.js index 2bd73a0..9f279b9 100644 --- a/sip.js +++ b/sip.js @@ -1247,8 +1247,8 @@ function createClientTransaction(rq, transport, tu, cleanup) { function makeTransactionId(m) { if(m.method === 'ACK') - return ['INVITE', m.headers['call-id'], m.headers.via[0].params.branch].join(); - return [m.headers.cseq.method, m.headers['call-id'], m.headers.via[0].params.branch].join(); + return ['INVITE', m.headers['call-id'], m.headers.cseq.seq, m.headers.via[0].params.branch].join(); + return [m.headers.cseq.method, m.headers['call-id'], m.headers.cseq.seq, m.headers.via[0].params.branch].join(); } function makeTransactionLayer(options, transport) {