Posted January 8th, 2019
VoIP Domain has a least cost route native system, always looking for the most economical way to complete a call. Learn about this system and learn how to get the most out of it with the tips presented in this article.
The least cost route system is based on the cost of the routes assigned to each gateway in the system. When registering a system exit gateway, a mask is registered in the E.164 standard (read more about this standard here) with a cost per minute. In addition to this cost, the system allows the registration of three variables, which are the time of discard (ie, if the connection is less than this value, the billing will be disregarded), minimum charging time (if a connection lasts less than this value, this value will be considered) and the fraction time (fraction in which the billing will be considered).
Based on this information registered at each gateway, the system, when search for a connection in all these rules to know how much it would cost the connection for each gateway, orders them and triggers the link from the lowest cost to the highest one, until it can perform the same.
Here is an example of the lowest cost route system calculation:
VoIP Domain FastAGI Daemon Debugger v1.0
Connecting to server "127.0.0.1:1234"... OK!
Sending FastAGI headers... OK!
Processing responses... OK!
=== LCR START ===
Route height 1: Gateway = 1, Dial = +5551992425885, Cost = 0, Discard = 0, Minimum = 0, Fraction = 0
Route height 2: Gateway = 15, Dial = 992425885, Cost = 0.02854, Discard = 3, Minimum = 30, Fraction = 6
Route height 3: Gateway = 2, Dial = 992425885, Cost = 0.31122, Discard = 3, Minimum = 30, Fraction = 6
Route height 4: Gateway = 16, Dial = 02151992425885, Cost = 0.35675, Discard = 3, Minimum = 30, Fraction = 6
Route height 5: Gateway = 7, Dial = 02151992425885, Cost = 0.97317, Discard = 3, Minimum = 30, Fraction = 6
Route height 6: Gateway = 8, Dial = 02151992425885, Cost = 1.18269, Discard = 3, Minimum = 30, Fraction = 6
=== LCR END ===
In the example above, we have six gateways that have a route allowing connections to the number +55 51 992425885. The system ordered them by value, with the connection costing at least 0.00 (in this case, a gateway for interconnection of exchanges that will not complete the call) and a maximum of $1.18 cost per minute for the most expensive gateway.
As we can see, this feature can bring a very large cost reduction for a company that has public network access gateways in various locations, and these gateways are accessible internally within the company.
In countries where inter-city or international connection costs are very high, the more exit gateways in large destination locations exist, the greater the reduction in telephony costs.