Comparing version 0.4.52 to 0.4.60
@@ -131,2 +131,4 @@ const debug = require('debug') ('sipware:transaction') | ||
dispatch(resp) { | ||
var via = resp.via; | ||
if(resp.seq == undefined) { | ||
@@ -147,2 +149,6 @@ this.counter--; | ||
} | ||
if(via && via[0]) { | ||
return '*' == via[0].split(';') [1] | ||
} | ||
} | ||
@@ -167,5 +173,3 @@ | ||
if(resp) { | ||
this.dispatch(resp); | ||
} else { | ||
if(!resp || this.dispatch(resp)) { | ||
break; | ||
@@ -172,0 +176,0 @@ } |
@@ -67,3 +67,3 @@ { | ||
"optionalDependencies": {}, | ||
"version": "0.4.52", | ||
"version": "0.4.60", | ||
"directories": { | ||
@@ -70,0 +70,0 @@ "lib": "lib" |
124641
3027