JJordon,
Alright, so if all you have are SIP and Mitel 52xx/53xx style phones then all you would need open are the following ports.
UDP - Bidirectional
69 or 20001 TFTP
50098-50508 Phone Audio RTP
6004-6261 Base Processor Audio Receive RTP
6604-7039 Expansion Processor Audio Receive RTP
5567 Processor Call Control - General Purpose
5060 SIP
TCP - Bidirectional
6800-6802 MiNet
3998-3999 Switch Application Communication [SAC]
5566 Processor Call Control
5060 SIP
If you do not have an Expansion Card [PEC-1] on your Base Processor then you do not need the ports opened up for that. If you do have an Expansion Card, which would have to have its own Public IP address, then you would open those ports up for it. Keep in mind that you have to do this for both Public IP addresses.
If you need Database Programming and/or System Administration and Diagnostics [SA&D] to work as well then open the following ports.
TCP
44000 Secure Database Programming
443 Secure SA&D Web Interface <- I don't recommend opening this up for remote use
22 SSH <- I do not recommend opening this up without shutting it off in the system
If you have a networked system going through your firewall then you would need to open up the following ports as well.
UDP
6004 Base Processor Audio Receive RTP <- If you have remote phones this is already opened
TCP
5570 Processor Call Control Port
Thanks,
TE