I am using Jain SIP to send a register request to a server using SipProvider.sendRequest(request)
.
How can I listen for the 200 OK response from the server?
You must create a listener and then add the litener to the sip provider
sipProvider.addSipListener(listener);
Here is a full example https://svn.java.net/svn/jsip~svn/trunk/src/examples/simplecallsetup/Shootist.java