Skip to content

Commit

Permalink
Fix #133. Incorrect REGISTER Contact header value
Browse files Browse the repository at this point in the history
 after transport disconnection

if:

- The UA had already retrieved a gruu value
- The transport disconnection occurred while the UA was unregistered
  • Loading branch information
jmillan committed Jul 10, 2013
1 parent f1af79b commit d141864
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/UA.js
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ UA.prototype.onTransportConnected = function(transport) {
this.registrator = new JsSIP.Registrator(this, transport);
this.register();
}
} else {
} else if (!this.registrator) {
this.registrator = new JsSIP.Registrator(this, transport);
}
};
Expand Down

0 comments on commit d141864

Please sign in to comment.