First you must understand the gateway command, then you draw out the requirement of you need. With the table requirement you draw should be no problem.
I was implemented to my multinational company. Or you give me the specification and requirement I help you to confgure it.
Have anyone facing ports blocking issue. Especially the RADIUS, H323 and TFTP for voice prompt.