Communication between tasks within repeaters of a communication system can be improved in the following manner. Each repeater determines its repeater configuration which includes identifying any peripheral devices affiliated with the repeater. Next the repeaters establish which repeater will be the master repeater based on a predetermined protocol. A predetermined number of tasks is allocated among the repeaters based on which repeater is established as the master repeater and each repeater configuration. Finally, message routing tables are created based on the allocated trunking tasks, peripheral devices, and communication system configuration. The message routing tables are used in routing messages between tasks in the communication system.