Here is a document that shows what TCP and UDP ports are used by the ShoreTel system.