}
// TODO determine port and transport for server transaction>transport
// from initial invite
// FIXME determine port and transport for server transaction>transport
ServerTransaction serverTransaction = transactionManager
.getServerTransaction(sipRequest);
if (serverTransaction == null) {
// in re-INVITE case, no serverTransaction has been created
serverTransaction = (InviteServerTransaction)
transactionManager.createServerTransaction(sipResponse,
userAgent.getSipPort(), RFC3261.TRANSPORT_UDP, this,
sipRequest);
}
serverTransaction.start();
serverTransaction.receivedRequest(sipRequest);
serverTransaction.sendReponse(sipResponse);
// TODO manage retransmission of the response (send to the transport)
// until ACK arrives, if no ACK is received within 64*T1, confirm dialog
// and terminate it with a BYE
// logger.getInstance().debug("before dialog.receivedOrSent2xx();");