A media gateway is a device that converts media streams in the form of digital data or analog signals in telecommunication for services such as voice, video, and fax applications between two, usually dissimilar, interfaces using different technologies.
A media gateway controller (MGC), also known as a call agent, controls the media gateways.