I'm building a Jain Sip application that sends request and receives response. In case the response is not received I need to handle it in my code, but the default delay before firing the processTimeout function is too long (~32 sec), how can I minimize it?
below is a snippet of my code:
//Sending the request statfully:
sendRegisterStateful{
ClientTransaction transaction = this.sipProvider.getNewClientTransaction(request);
// Send the request statefully, through the client transaction.
transaction.sendRequest();
//Process timeout function:
public void processTimeou{
//Need to fire the timeout here after 7sec instead of ~32s
}
Thank you, Salim