Hi,
I think you need to clearify what exectly you wanna do.
VOIP signaling protocol H323,SIP and MGCP
Audio stream goes into RTP.
RAS Gatekeeper Discovery
There are two processes by which H.323 terminals/gateways discover their zone gatekeepers:
Unicast Discovery (manual method)?Uses UDP port 1718. In this process, endpoints are configured with the gatekeeper IP address and can attempt registration immediately. The gatekeeper replies with a gatekeeper confirm (GCF) or gatekeeper rejection (GRJ) message.
Multicast Discovery (auto-discovery)?Uses UDP multicast address 224.0.1.41. Auto discovery enables an endpoint to discover its gatekeeper through a multicast Gatekeeper Request (GRQ) message. Because endpoints do not have to be statically configured for gatekeepers, this method has less administrative overhead. A gatekeeper replies with a GCF or GRJ message. A gatekeeper can be configured to respond only to certain subnets
for more info check here
http://www.cisco.com/warp/public/788/voip/understand-gatekeepers.html