monitoredCall.Extensions = new DistanceExtensions();
monitoredCall.StopPointRef = SiriUtils.getIdWithoutAgency(stopId);
CoordinatePoint position = status.getLocation();
if (position != null) {
MonitoredStopVisit.MonitoredVehicleJourney.VehicleLocation = new VehicleLocation();
MonitoredStopVisit.MonitoredVehicleJourney.VehicleLocation.Latitude = status.getLocation().getLat();
MonitoredStopVisit.MonitoredVehicleJourney.VehicleLocation.Longitude = status.getLocation().getLon();
double distance = status.getDistanceAlongTrip();
if (Double.isNaN(distance)) {
distance = status.getScheduledDistanceAlongTrip();