A non-transitory computer-readable storage medium for managing configuration data on a media gateway and a media gateway controller in a next generation network having instructions that, when executed by a computing device causes the computing device to perform a method comprising:
- determining whether all required configuration data is provisioned for the media gateway in the next generation network upon boot up;
- sending a message to a media gateway controller associated with the media gateway requesting for configuration data when all the required configuration data is determined not to be provisioned, wherein the sending further comprises resending the request for configuration data to the associated media gateway controller upon reaching a timeout and starting an audit process upon a reaching pre-determined number of timeouts;
- receiving, an acknowledgement and all the required configuration data from the media gateway controller in response to sending the message, wherein the receiving further comprises, verifying a format of the received configuration data;
- and
- storing the received configuration data in the media gateway and provisioning the media gateway upon a successful verification of the configuration data.