Hi Lisa
To build on Melissa's comment... once you have the ani set as a variable, you can then refer to another data source to match it.
Easiest thing would be to use a data table, with the ani set as the key value for the row. The call.ani value will be in the format of tel:+12025551212, so you'd want to use that format in your table when doing the lookup.
From there you can return various attributes like skill or queue, or perhaps a boolean that indicates some value like "known customer" or "vip" etc...
We use a variant of this quite a bit for language assignments based on originating calling party country code (as opposed to the specific number):
------------------------------
Dean Thames
Koch Business Solutions
------------------------------