Or they do an API lookup and query the type in realtime.
Elsewhere in this thread I posted the syntax for performing this lookup using the twilio API ...