code: public Address getTo() {
  		ToHeader to = (ToHeader) this.message
  			.getHeader(getCorrectHeaderName(ToHeader.NAME));
  		// return new AddressImpl(to.getAddress(), AddressImpl.getParameters((Parameters)to), ModifiableRule.To);
  		// https://code.google.com/p/sipservlets/issues/detail?id=245
  		try {
              return new AddressImpl(to, ModifiableRule.From);
          } catch (ParseException e) {
              throw new IllegalArgumentException("Couldn't parse From Header " + to, e);
          }
  	}
docs: /*
  (non-Javadoc)
  @see javax.servlet.sip.SipServletMessage#getTo()