Talking to your Ex

In an ideal world there would not be such a situation - but there is.

They don't meet like I said - they talk on the phone

In Islam is talking to a non mehram wrong?