Skip to content

Commit

Permalink
fixed #187
Browse files Browse the repository at this point in the history
  • Loading branch information
xhoaluu committed Oct 27, 2016
1 parent 3035d39 commit a8139a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ public ModifiableRule getModifiableRule(String headerName) {
}
}

if(hName.equals(ContactHeader.NAME)) {
if(hName.equalsIgnoreCase(ContactHeader.NAME)) {
Request request = (Request) this.message;

String method = request.getMethod();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ public ModifiableRule getModifiableRule(String headerName) {
return ModifiableRule.NotModifiable;
}

if(hName.equals(ContactHeader.NAME)) {
if(hName.equalsIgnoreCase(ContactHeader.NAME)) {
Response sipResponse = (Response) this.message;

String method = ((CSeqHeader) sipResponse.getHeader(CSeqHeader.NAME))
Expand Down

0 comments on commit a8139a8

Please sign in to comment.