How to add Provider which offers different quality routes
About
Some Providers offers different quality routes by specific prefix.
If you want to allow for one user use two or more different qualities you should fallow this manual.
Please note that prefixes 00 and 11 is only example and you should use prefixes which your Provider specified for you.
Configuration example
Example you have Provider which offers different quality routes.
Standart route technical prefix 00
Premium route technical prefix is 11
How to upload tariffs
Two tarifs should be uploaded. One for Standart, second for Premium quality.
Upload tariffs using this manual
Configure Providers
Add two Providers to a system. One for Premium other for Standart quality.
Even if they have same IP you should add it as regular Provider using this manual
When you add these Providers specify correct tariffs for Standart and Premium Providers.
Create LCRs
Create 2 LCR for Standart and Premium route.
Put these two Providers into different LCRs
Create Localization rules
Changing Provider and Tariff for User depending on prefix.
Now you need to define Customers traffic and route to Standard or Premium quality.
1) Customers will dial numbers with tech prefix 11 and the Calls will go trough Premium Provider and will be charged with Premium tariff.
2) Customers will dial numbers with tech prefix 00 and the Calls will go trough Standart Provider and will be charged with Standart tariff.
In order to achive this Localization rules can be used:
Localization rules configuration example: