" creates new derived session with following to Tag " + currentKeyToTag ); key.setToTag(currentKeyToTag, true); derivedSipSession = createDerivedSipSession(sipSession, key); } else {
logger.debug("resetting the to tag since a response to a non dialog creating and terminating method has been received for non proxy session with no dialog in state " + state); key.setToTag(null, false); logger.debug("resetting the to tag since a non 2xx response has been received for non proxy session in state " + state); key.setToTag(null, false);