Patent ID: 8848525

Claim:
A system for providing adaptive jitter buffer management based on packet statistics for a media gateway, the system comprising: a media gateway for communicating data between entities in one or more telecommunication networks, the media gateway including: first and second network interfaces for interfacing with the one or more telecommunication networks; a packet monitor for monitoring and maintaining packet statistics for channels established between the first and second network interfaces, wherein monitoring and maintaining packet statistics for channels established between the first and second network interfaces includes tracking a number of packets received for each channel and tracking a number of jitter violations that occur for each channel; a plurality of per-channel jitter buffers for buffering packets for the channels; and a jitter buffer adjustment module for dynamically adjusting jitter buffer size on a per-channel basis based on the packet statistics maintained for each channel, wherein dynamically adjusting the jitter buffer size on a per-channel basis based on the packet statistics maintained for each channel includes adjusting the jitter buffer size for a channel if the tracked number of jitter violations for the channel reaches a jitter violation counter threshold for the channel, wherein the jitter violations includes excessive delay time between subsequent incoming packets; wherein, the dynamically adjusting the jitter buffer size comprises increasing or decreasing the jitter buffer size by an adjustment value and if the adjustment value makes the jitter buffer size smaller than a minimum jitter buffer size, setting the jitter buffer size equal to the minimum buffer size and if the adjustment value makes the jitter buffer size greater than a maximum buffer size, setting the jitter buffer size equal to the maximum buffer size; and wherein the jitter violation counter is reset after dynamically adjusting the jitter buffer size.