[sip-comm-dev] SipManager.processResponse()


#1

When the response to an INVITE is NOT_FOUND, I guess that
callProcessing.processsNotFound() should be called (as it
is), but not fireUnknownMessageReceived(). So the block
below might want to be if...else if ...else rather than:

  //NOT_FOUND
  else if (response.getStatusCode() == Response.NOT_FOUND) {
    if (method.equals(Request.INVITE)) {
         callProcessing.processNotFound(clientTransaction, response);
    }
    if (method.equals(Request.SUBSCRIBE)) {
         watcher.processNotFound(clientTransaction, response);
    }
    else {
         fireUnknownMessageReceived(response);
    }

Also: it seems like there ought to be a Call.NOT_FOUND right?

John.

···

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net