Difference between revisions of "M4 Routing Logic"

From Kolmisoft Wiki
Jump to navigationJump to search
Line 7: Line 7:
## Weight - routing is based only by weight number. Lower number has greater priority. If TP weight or price matches - we order by "Dial Peers TP Priority" (if priorities match - we select random)
## Weight - routing is based only by weight number. Lower number has greater priority. If TP weight or price matches - we order by "Dial Peers TP Priority" (if priorities match - we select random)
## Percent - routing is based only by percents. If zero is entered calls will not go through. Let say prov1 has 90% and prov2 has 10% (only two providers in routing group). So in ideal conditions prov1 has 9/10 and prov2 has 1/10 probability to terminate the call.
## Percent - routing is based only by percents. If zero is entered calls will not go through. Let say prov1 has 90% and prov2 has 10% (only two providers in routing group). So in ideal conditions prov1 has 9/10 and prov2 has 1/10 probability to terminate the call.
## By Dial Peer - routing is based by Dial Peer TP Priority settings.


[[File:M2_Routing_by_LCR_WG_PC.png]]
[[File:M2_Routing_by_LCR_WG_PC.png]]

Revision as of 07:28, 29 March 2016

M2 logical structure.png

  1. Based on "Routing Group - Dial Peer" priority we order Dial Peers (DP) (if priorities match - we select random)
    1. Other Dial Peers are used only when previous has Stop Hunting unchecked
  2. Based on "Origination Point Routing Algorithm" (example provided bellow) we order Termination Points (TP) in selected Dial Peer by:
    1. LCR - routing is based only by price (TP tarrifs). If TP price matches - we order by "Dial Peers TP Priority" (if priorities match - we select random)
    2. Weight - routing is based only by weight number. Lower number has greater priority. If TP weight or price matches - we order by "Dial Peers TP Priority" (if priorities match - we select random)
    3. Percent - routing is based only by percents. If zero is entered calls will not go through. Let say prov1 has 90% and prov2 has 10% (only two providers in routing group). So in ideal conditions prov1 has 9/10 and prov2 has 1/10 probability to terminate the call.
    4. By Dial Peer - routing is based by Dial Peer TP Priority settings.

M2 Routing by LCR WG PC.png