Socket serverAddress = getServerAddress(
serverInstance.getEndPoint(CLBConstants.SIP_PROTOCOL));
Socket outgoingSocket = null;
//update via with proper param
if(controller.getLocalInstance() != null){
EndPoint endPoint = controller.getLocalInstance().getEndPoint(
CLBConstants.SIP_PROTOCOL);
pushVia(request,
endPoint.getHost(),
endPoint.getPort(),
true);
outgoingSocket = getServerAddress(endPoint);
}else{
pushVia(request, localSipTcpSocket.getHostName(),
localSipTcpSocket.getPort(), true);