algoritmo - Como diferenciar tipos de telefone - Stack Overflow em Português

algoritmo - Como diferenciar tipos de telefone - Stack Overflow em Português

Tenho o seguinte problema: o cliente vai me enviar um número de telefone e eu preciso diferenciar se é fixo ou celular, alguém conhece algumas regras que distinguem bem os dois grupos?

algoritmo - Como diferenciar tipos de telefone - Stack Overflow em Português

algoritmo - Como diferenciar tipos de telefone - Stack Overflow em Português

algoritmo - Como diferenciar tipos de telefone - Stack Overflow em Português