Skip to content

Commit

Permalink
Merge pull request #9 from mconf/v0.7.5.4-dev
Browse files Browse the repository at this point in the history
Also account for the INVITE_SENT state for nisct/info transactions
  • Loading branch information
prlanzarin authored May 29, 2019
2 parents f043d49 + 2b4bf73 commit a0f6c95
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Session.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)?.*/,
Expand Down

0 comments on commit a0f6c95

Please sign in to comment.