public static void main(String[] args) throws Exception
{
Server server = new Server();
UdpConnector udp = new UdpConnector();
TcpConnector tcp = new TcpConnector();
int port = Integer.getInteger("cipango.port", 5060);
udp.setPort(port);
tcp.setPort(port);
server.getConnectorManager().setConnectors(new SipConnector[] { udp, tcp });
SipAppContext sipapp = new SipAppContext();
sipapp.setContextPath("/");