01-19-2009 08:35 PM - last edited on 03-25-2019 07:47 PM by ciscomoderator
Hi,
I want my inbound calls to be sent to my 3 call managers in a round-robin fashion.
if i set the preferences of all 3 dial peers to be the same, will it work?
01-19-2009 11:20 PM
Hi
By default, dial peers in a hunt group are selected according to the following criteria, in the order listed:
1. Longest match in phone number-Destination pattern that matches the greatest number of dialed digits. For example, if one dial peer is configured with a dial string of 345.... and a second dial peer is configured with 3456789, the router would first select 3456789 because it has the longest explicit match of the two dial peers.
2. Explicit preference-Priority configured by using the preference dial peer command.
3. Random selection-All destination patterns weighted equally.
You can change this default selection order or choose different methods for hunting dial peers by using the dial-peer hunt global configuration command. An additional selection criteria is "least recent use," which selects the destination pattern that has waited the longest since being selected.
Hope it helps
Pedro
01-20-2009 06:19 AM
Hi Simmo,
By default, it is random. This comes out to be pretty close to round robin.
You can check the different configurable hunting algorithms:
nicmatth-sip(config)#dial-peer hunt ?
<0-7> Dial-peer hunting choices, listed in hunting order within each choice:
0 - Longest match in phone number, explicit preference, random selection.
1 - Longest match in phone number, explicit preference, least recent use.
2 - Explicit preference, longest match in phone number, random selection.
3 - Explicit preference, longest match in phone number, least recent use.
4 - Least recent use, longest match in phone number, explicit preference.
5 - Least recent use, explicit preference, longest match in phone number.
6 - Random selection.
7 - Least recent use.
0 is the default.
If you have 3 dial peers with the same destination-pattern and preference, it will load balance by default.
hth,
nick
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: