Difference between revisions of "How to add Provider which offers different quality routes"
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<br><br> | |||
=About= | |||
<br> | |||
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 follow this manual. | |||
Please note that prefixes 00 and 11 are only used as an example and you should use prefixes which your Provider specified for you. | |||
<br><br> | <br><br> | ||
=Configuration example= | ==Configuration example== | ||
<br> | <br> | ||
For example you have Provider which offers different quality routes. | |||
Premium route technical prefix is 11 | |||
Standart route technical prefix 00 | Standart route technical prefix 00 | ||
<br> | <br> | ||
=How to upload tariffs= | ==How to upload tariffs== | ||
<br> | <br> | ||
Two tarifs should be uploaded. One for Standart, second for Premium quality.<br> | Two tarifs should be uploaded. One for Standart, second for Premium quality.<br> | ||
Line 20: | Line 28: | ||
<br> | <br> | ||
=Configure Providers= | ==Configure Providers== | ||
<br> | <br> | ||
Add two Providers to a system. One for Premium other for Standart quality. | 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 [http://wiki.kolmisoft.com/index.php/How_to_add_DID_provider_with_multiple_IPs manual] | Even if they have same IP you should add it as regular Provider using this [http://wiki.kolmisoft.com/index.php/How_to_add_DID_provider_with_multiple_IPs manual] | ||
When you add these Providers specify correct tariffs for Standart and Premium Providers. | When you add these Providers specify correct tariffs for Standart and Premium Providers. | ||
Line 31: | Line 39: | ||
<br> | <br> | ||
=Create LCRs= | ==Create LCRs== | ||
<br> | <br> | ||
Create 2 LCR for Standart and Premium route. | Create 2 LCR for Standart and Premium route. | ||
Put these two Providers into different | Put these two Providers into different [http://wiki.kolmisoft.com/index.php/How_to_add_DID_provider_with_multiple_IPs LCRs] | ||
<br> | <br> | ||
=Create Localization rules= | |||
==Create Localization rules== | |||
<br> | <br> | ||
Line 48: | Line 56: | ||
Now you need to define Customers traffic and route to Standard or Premium quality. | Now you need to define Customers traffic and route to Standard or Premium quality. | ||
1) Customers will dial numbers with tech prefix | 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 | 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: | In order to achive this Localization rules can be [http://wiki.kolmisoft.com/index.php/Localization used]: | ||
Localization rules configuration example: | |||
[[File:lr.png]] | [[File:lr.png]] |
Latest revision as of 08:54, 31 May 2013
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 follow this manual.
Please note that prefixes 00 and 11 are only used as an example and you should use prefixes which your Provider specified for you.
Configuration example
For example you have Provider which offers different quality routes.
Premium route technical prefix is 11
Standart route technical prefix 00
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: