If you are awaiting an important call when meeting someone socially, explain at the outset that you will have to take the call, and apologise in advance. Otherwise, excuse yourself and withdraw somewhere private to make or receive calls. Do not have a mobile phone conversation in front of your friends. It is the height of bad manners...