public void logMessage( SIPMessage message, String from, String to, boolean sender, long time) {
private void logMessage(String message) {
	public void logMessage(		SIPMessage message,		String from,		String to,		boolean sender,		long time) {		checkLogFile();		CallID cid = (CallID) message.getCallId();		String callId = null;		if (cid != null)			callId = cid.getCallId();		String firstLine = message.getFirstLine().trim();		String inputText = (logContent ? message.encode() : message.encodeMessage() ) ;		String tid = message.getTransactionId();		logMessage(			inputText,			from,			to,			sender,			callId,			firstLine,			null,			tid,			time);	}