Difference between revisions of "LCR/Tariff change based on call prefix"

From Kolmisoft Wiki
Jump to navigationJump to search
Line 11: Line 11:


You can find more info how to make rules in [[Number Manipulation]]
You can find more info how to make rules in [[Number Manipulation]]
=== Example ===
Lets say we have Provider which provider 3 quality routes: bad-cheap/normal/good-expensive.
* Bad-cheap route is selected when dialing E164 number with prefix 00
* Normal route is dialed when dialing normal E164 number
* Good-expensive route is selected when dialing E164 number with prefix 000
To accomplish this we need:
* Create Provider
* Create 3 Tariffs:
** Tariff_Bad
** Tariff_Normal
** Tariff_Good
* Enter/Import appropriate rates to these Tariffs
* Create Location with following Rules:

Revision as of 17:53, 25 February 2009

Main purpose of this function is to allow route call through some Provider(s) based on call prefix.


You have to create a provider, tarrif, LCR (where specified provider have to be), and user with his Device. And most important is localization rule or rules. It should be applied per device basis (Device settings -> Location), make sure specified device has correct rule applied. It must be noted that specified rules has Higher priority than global rules.

  • 1) Create new tarrif, provider, LCR, user and device
  • 2) Assign newly made provider to new LCR.
  • 3) Create new localization rule, name for example "test1".
  • 4) Assign device to location "test1"
  • 5) Now edit "test1" rule, it should be done like with normal localization rules, but when you are creating localization rule based on tarrif or LCR, assign specified Tarrif or LCR to correct place.

You can find more info how to make rules in Number Manipulation


Example

Lets say we have Provider which provider 3 quality routes: bad-cheap/normal/good-expensive.

  • Bad-cheap route is selected when dialing E164 number with prefix 00
  • Normal route is dialed when dialing normal E164 number
  • Good-expensive route is selected when dialing E164 number with prefix 000

To accomplish this we need:

  • Create Provider
  • Create 3 Tariffs:
    • Tariff_Bad
    • Tariff_Normal
    • Tariff_Good
  • Enter/Import appropriate rates to these Tariffs
  • Create Location with following Rules: