Patent ID: 7756142

Claim:
A method for realizing signaling agent based on a media gateway control protocol, comprising: providing an agent equipment between media gateways and a media gateway controller that locate in different networks, the agent equipment providing signaling agent and network address translation between different networks; and requesting to register the media gateway controller from a media gateway; wherein: for a Media Gateway Control Protocol or Media Gateway Control (MGCP or MEGACO) signaling sent from the media gateway to the media gateway controller, if not related to media, directly replacing a transaction number by the agent equipment and then forwarding according to domain name in endpoint identifier; and if the MGCP or MEGACO signaling is related to media, processing a media attribute correspondingly by the agent equipment and then forwarding; and if the MGCP or MEGACO signaling is related to media, creating or modifying a corresponding media forwarding port and a forwarding table on the agent equipment after receiving a signaling for establishing or modifying a connection sent to a media gateway from the media gateway controller, replacing relevant information on media in the signaling with information on corresponding network address of the media forwarding port on the agent equipment, and then forwarding the signaling to the media gateway; and for a MGCP or MEGACO signaling sent from the media gateway controller to media gateway, sending the request message to corresponding media gateway by the agent equipment according to domain name in endpoint identifier.