import javax.sip.*;
import javax.sip.message.*;
public class CustomMessageProcessor implements SIPStackMessageProcessor {
}
public class CustomTransaction extends SIPTransaction {
}
public class CustomFunctionality {
}
public class MyApp {
public static void main(String[] args) {
try {
SipFactory sipFactory = SipFactory.getInstance();
SipStack sipStack = sipFactory.createSipStack();
ListeningPoint listeningPoint = sipStack.createListeningPoint(host, port, transport);
SipProvider sipProvider = sipStack.createSipProvider(listeningPoint);
sipProvider.addSipListener(new MySipListener());
sipStack.start();
} catch (Exception e) {
e.printStackTrace();
}
}
}
public class MySipListener implements SipListener {
}