if (logger.isLoggingEnabled(LogWriter.TRACE_DEBUG)) {
logger.logDebug("sendRequest() " + sipRequest);
}
try {
sipRequest.checkHeaders();
} catch (ParseException ex) {
if (logger.isLoggingEnabled())
logger.logError("missing required header");
throw new IllegalTransactionStateException(ex.getMessage(), Reason.MissingRequiredHeader);
}