A prison nurse who helped inmates carry out a phone-smuggling racket has kept her freedom.