Mediation in custody