Skip to content

Commit

Permalink
https://github.com/RestComm/sip-servlets/issues/340
Browse files Browse the repository at this point in the history
  • Loading branch information
hmacias-avaya committed Sep 12, 2017
1 parent a42001c commit 4bb771c
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,13 @@ public void setSupervised(boolean supervised) {
* @see javax.servlet.sip.Proxy#startProxy()
*/
public void startProxy() {
if(finalBranchForSubsequentRequests != null)
{
if(logger.isDebugEnabled()) {
logger.debug("Looks like proxy is started more than once? finalBranchForSubsequentRequests was " + finalBranchForSubsequentRequests + " but is now being set to null");
}
finalBranchForSubsequentRequests = null;
}
if(this.ackReceived)
throw new IllegalStateException("Can't start. ACK has been received.");
if(!this.originalRequest.isInitial())
Expand Down

0 comments on commit 4bb771c

Please sign in to comment.