public static void HandleOutgoingEvent(FSEvent evt, String uuid)
{
String other_leg = evt.get_header("Other-Leg-Unique-ID");
Call call = (from c in calls where c.leg_a_uuid == other_leg && c.call_ended == false select c).SingleOrDefault();
if (call == null || !call.is_outgoing)
return;
call.leg_b_uuid = uuid;
}