Difference between revisions of "LCR Logic"
From Kolmisoft Wiki
Jump to navigationJump to search
Line 1: | Line 1: | ||
Here simple LCR (Least Cost Routing) | Here simple LCR (Least Cost Routing) is explained. | ||
== Example == | == 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 | 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 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 - CONGESTION. | |||
In following | In the following diagram, LCR logic is presented graphically: | ||
[[Image:lcr_logic.png]] | [[Image:lcr_logic.png]] |
Revision as of 12:50, 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 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 - CONGESTION.
In the following diagram, LCR logic is presented graphically: