Telephony: prevent NPE

Change-Id: Ia7a08334a901ef67353d5816d0822d0cb2d57daf