Load balancing asterisk outgoing call

Hello
I am having an asterisk box which I need to load balance based on the number of calls. Say randomly transfer the calls to another machine with same configuration. Is there any option in extensions.conf where we can transfer using a couple of gotoif statements which checks volume of calls and transfer accordingly. Please help me with some suggestions

Hi

Use groupcount and check the value with a gotoif.