The phone has a few exports to help with script integration.
docs.lbphone.com
lua:
-- source: number or string, the player source or identifier
-- returns: string, the phone number that the player has equipped
exports["lb-phone"]:GetEquippedPhoneNumber(source)