A new trial could help ambulances respond to emergencies more efficiently.