Difference between revisions of "LCR Logic"
From Kolmisoft Wiki
Jump to navigationJump to search
(New page: Here simple LCR (Least Cost Routing) e.g. by price is explained in example: === Example == We have 2 providers A and B. Dialed destination is 921XXXXXXXXXX Provider A has such rates fo...) |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Here simple LCR (Least Cost Routing) | Here simple LCR (Least Cost Routing) is explained. | ||
== Example == | |||
We have | We have two providers, A and B. | ||
The dialed destination is 921XXXXXXXXXX. | |||
Provider A has | Provider A has the following rate for the prefix (destination): | ||
* 92 rate 0.1 | * 92 rate 0.1 | ||
No other destination starts with 92 | No other destination starts with 92. | ||
Provider B has | Provider B has the following rates for prefixes: | ||
* 92 rate 0.05 | * 92 rate 0.05 | ||
* 921 rate 0.2 | * 921 rate 0.2 | ||
So LCR in MOR will group these providers in the following order: | |||
* Provider A with rate 0.1 (92) | * Provider A with rate 0.1 (92) | ||
* Provider B with rate 0.2 (921) | * Provider B with rate 0.2 (921) | ||
MOR first dials through Provider A. If the call fails, Provider B will be used to send the call. | |||
If call is ANSWERED, BUSY or there's NO ANSWER | If the call through Provider A is ANSWERED, BUSY or there's NO ANSWER, the call ends, and Provider B is not used. | ||
Provider B is used ONLY when the call fails through CONGESTION. | |||
The following graphic illustrates LCR logic: | |||
[[Image:lcr_logic.png]] |
Latest revision as of 12:53, 15 May 2010
Here simple LCR (Least Cost Routing) is explained.
Example
We have two providers, A and B.
The dialed destination is 921XXXXXXXXXX.
Provider A has the following rate for the prefix (destination):
- 92 rate 0.1
No other destination starts with 92.
Provider B has the following rates for prefixes:
- 92 rate 0.05
- 921 rate 0.2
So LCR in MOR will group these providers in the following order:
- Provider A with rate 0.1 (92)
- Provider B with rate 0.2 (921)
MOR first dials through Provider A. If the call fails, Provider B will be used to send the call.
If the call through Provider A is ANSWERED, BUSY or there's NO ANSWER, the call ends, and Provider B is not used.
Provider B is used ONLY when the call fails through CONGESTION.
The following graphic illustrates LCR logic: