From 2b4bf73878ab3d206d4faca803623f4efd41e229 Mon Sep 17 00:00:00 2001 From: prlanzarin Date: Wed, 29 May 2019 15:50:38 +0000 Subject: [PATCH] Also account for the INVITE_SENT state for nisct/info transactions --- src/Session.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Session.js b/src/Session.js index 8a790146c..2f7486acd 100644 --- a/src/Session.js +++ b/src/Session.js @@ -691,7 +691,9 @@ Session.prototype = { } break; case SIP.C.INFO: - if(this.status === C.STATUS_CONFIRMED || this.status === C.STATUS_WAITING_FOR_ACK) { + if(this.status === C.STATUS_CONFIRMED || + this.status === C.STATUS_WAITING_FOR_ACK || + this.status === C.STATUS_INVITE_SENT) { var body, tone, duration, contentType = request.getHeader('content-type'), reg_tone = /^(Signal\s*?=\s*?)([0-9A-D#*]{1})(\s)?.*/,