How does that work? I would have thought it quite difficult to maintain contact when the restraining order prevents contact.
I think it is important to find a lawyer who can put across the idea that the OP is only resorting to the law because of the unreasonable behaviour of the ex-wife