I was on the phone to/with (both ok. To would mean that you phoned him, not that he had phoned you. With could mean either way round).
Can I leave a message for
Could you come to the phone
I think 'to' is more common here than 'with'.
It's similar to 'I'm talking to Fred' instead of 'I'm talking with Fred'.