Praise be to Allah, the Lord of the Worlds; and blessings and peace be upon our Prophet Muhammad and upon all his Family and Companions.
There is no objection to have a telephone call with your wife and to jest with her. This is even required.
As for masturbation, it is prohibited. There is no doubt that sexual desire is an innate instinct. That is why Allah, the Great and Almighty, has legislated some lawful ways to satisfy it. So, it is not allowed to satisfy it by any other means.
Thereupon, you are to spare no effort to bring your wife to the country where you live or to return and live in your own country.
You are to fear Allah, busy yourself with devotions, and remember Allah very often and frequently read the Holy Quran. In addition, fasting is a good means to cool down sexual desire, and also to get a good reward.
For more details, please refer to fatwa: 81167.
And Allah knows best.