you can also use the "right" function to get the part of the ANI you care about for your lookup.
For example, if my Call.Ani is tel:+18008675309
Right (Call.Ani,10) would get you 8008675309
Right (Call.Ani,12) would get you +18008675309
------------------------------
Mike Steinke
Inflow Communications
------------------------------