if (afterStop) {
OnwardCall onwardCall = new OnwardCall();
onwardCall.StopPointRef = SiriUtils.getIdWithoutAgency(stop.getId());
onwardCall.StopPointName = stop.getName();
onwardCall.VisitNumber = visitNumber;
onwardCall.Extensions = new DistanceExtensions();
onwardCall.Extensions.Distances = new Distances();
onwardCall.Extensions.Distances.DistanceFromCall = stopTime.getDistanceAlongTrip()
- distance;
onwardCall.Extensions.Distances.CallDistanceAlongRoute = stopTime.getDistanceAlongTrip();