Call function out AGI-Script

Hi,

is it possible to call a asterisk function like “ENUMLOOKUP” (or others) out of an AGI Script? How do I do this?

Thank you very much,
Thomas

use exec in your AGI