What is Smart DID?
Define patterns to match the numbers you call, then those numbers will be stored into Asterisk database and be associated with the extensions which made the calls. If those numbers call in again, the calls will automatically call on the extensions that associated previously.