connector.setPort(3868);
connector.setMessageListener(new BasicMessageLog());
node.addConnector(connector);
Peer peer = new Peer("192.168.2.10");
peer.setAddress(InetAddress.getByName("192.168.2.10"));
peer.setPort(3869);
node.addPeer(peer);
node.start();
String destinationRealm = "open-ims.net";
String destinationHost = "192.168.2.10";
while (!peer.isOpen())
Thread.sleep(100);
DiameterRequest request = new DiameterRequest(node, Sh.UDR, sh.getId(), "123456789");
request.getAVPs().add(Common.DESTINATION_REALM, destinationRealm);