updated telephone detection