Skip to content

Commit

Permalink
fixes #151
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimecasero committed Sep 7, 2017
1 parent 7e39b5b commit ae1fe0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gov/nist/javax/sip/stack/SIPClientTransactionImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -1547,7 +1547,7 @@ public void processResponse(SIPResponse sipResponse, MessageChannel incomingChan
int code = sipResponse.getStatusCode();
boolean isRetransmission = !responsesReceived.add(Integer.valueOf(code));
if (code > 100 && code < 200 && isRetransmission) {
if (lastResponse != null && !sipResponse.toString().equals(lastResponse.toString())) {
if (lastResponse != null && !sipResponse.equals(lastResponse)) {
isRetransmission = false;
}
}
Expand Down

0 comments on commit ae1fe0d

Please sign in to comment.