CallerID Lookup for internal call

You would need some custom dialplan with a hook to do the lookup: Hooking for fun and income