package voip; import java.net.URL; import java.net.InetSocketAddress; public class SipPhone { static private int DefaultProxyPort = Constants.SSF_PORT_NUM; private CryptoManager cryptoMgr= null; private SIPHandler sipHandler = null; private SIPManager SIPManager = null; private InetSocketAddress callerAddr = null; SipPhone() { // Start up the sub-components cryptoMgr = new CryptoManager(); sipHandler = new SIPHandler(cryptoMgr); SIPManager = new SIPManager(DefaultProxyPort, sipHandler); // Start the Sip forwarding! (new Thread(SIPManager)).start(); } public static void main( String args[] ) throws Exception { // Launch up a SipPhone SipPhone sp = new SipPhone(); } }