code: public void setAddToPath(boolean isAddToPath) {
  		if(started) {
  			throw new IllegalStateException("Cannot set a record route on an already started proxy");
  		}
  		if(this.pathURI == null) {
  			this.pathURI = new SipURIImpl (JainSipUtils.createRecordRouteURI( proxy.getSipFactoryImpl().getSipNetworkInterfaceManager(), null), ModifiableRule.NotModifiable);
  		}		
  		this.isAddToPath = isAddToPath;
  	}
docs: {@inheritDoc}