EnumLookup in Asterisk

Hi,

One question , how PBXs access the ENUM server.

The real question is whether a PBX can be setup to use the local ISP to do ENUM lookups or does it need to speak to the ENUM server directly

Thanks
Yogesh