A mobile-phone positioning system that was activated when ambulance , fire , and police services were dispatched was used to locate trained volunteers who were within 500 m of patients with out-of-hospital cardiac arrest ; volunteers were then dispatched to the patients ( the intervention group ) or not dispatched to them ( the control group ) .