Difference between revisions of "M4 Routing Logic"
From Kolmisoft Wiki
Jump to navigationJump to search
Line 3: | Line 3: | ||
# Based on "Routing Group - Dial Peer" priority we order Dial Peers (DP) (if priorities match - we select random) | # Based on "Routing Group - Dial Peer" priority we order Dial Peers (DP) (if priorities match - we select random) | ||
## Next (by priority) DP is used only when previous has Stop Hunting unchecked | ## Next (by priority) DP is used only when previous has Stop Hunting unchecked | ||
# Based on "Origination Point Routing Algorithm" we order Termination Points (TP) in selected Dial Peer | # Based on "Origination Point Routing Algorithm" (example provided bellow) we order Termination Points (TP) in selected Dial Peer by: | ||
## If TP weight or price matches - we order by "Dial Peers TP Priority" (if priorities match - we select random) | ## LCR - routing is based only by price (TP tarrifs). | ||
## If TP percent matches - Termination Points will be ordered by probability described by percent values | ## Weight - routing is based only (price does not matter) 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 (price does not matter) by percents. If zero is entered calls will not go throug. 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. If TP percent matches - Termination Points will be ordered by probability described by percent values. | |||
[[File:M2_Routing_by_LCR_WG_PC.png]] |
Revision as of 08:33, 22 December 2014
- Based on "Routing Group - Dial Peer" priority we order Dial Peers (DP) (if priorities match - we select random)
- Next (by priority) DP is used only when previous has Stop Hunting unchecked
- Based on "Origination Point Routing Algorithm" (example provided bellow) we order Termination Points (TP) in selected Dial Peer by:
- LCR - routing is based only by price (TP tarrifs).
- Weight - routing is based only (price does not matter) 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 (price does not matter) by percents. If zero is entered calls will not go throug. 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. If TP percent matches - Termination Points will be ordered by probability described by percent values.