Route SMS and query database of numbers.