Of course it is okay, with the caveat that you first excuse yourself and that the phone call warrant immediate pickup.
* phone ring *
X: (look at the number and decide) Could you excuse me for a minute?
Y: Sure. (of course he/she can't really say no :))
* X should briefly talk on the phone or promise to call back asap *
End of Story.