Moved extractPhones to server