Both send a short code the user types back. They differ on cost, setup, delivery and what an attacker needs to steal one.