g729 to g711 rollover

say i want to purchase 50 g729 licenses for my asterisk system. this system at peak usage might be doing 100 concurrent calls.

is asterisk ‘smart’ enough to automatically negotiate g711 after the 50 g729 licenses are used up?