Sheriff warns of telephone scam