properties.setProperty("gov.nist.javax.sip.LOG_MESSAGE_CONTENT", "true");
properties.setProperty("gov.nist.javax.sip.SERVER_LOG", "logs/" + stackname + "-msgs.xml");
try {
// Create SipStack object
sipStack = sipFactory.createSipStack(properties);
/*String logFileDirectory = "logs/";
SipFoundryAppender sfa = new SipFoundryAppender(new SipFoundryLayout(),
logFileDirectory + "sip" + stackname + ".log");