preprocessState(session, state);
ContentHandler handler = getContentHandler(state.getContentType());
byte[] b = handler.getBytes(state.getContent());
notify.setContent(b, state.getContentType());
notify.send();
}
else
_log.warn("Could not send notification to {} for event {} as sip session is invalidated",
subscription, getName());
}