[OpenSIPS-Users] Optimal trunk capacity filling algorithm or capacity-aware LCR

Alex Balashov abalashov at evaristesys.com
Mon Oct 30 12:04:23 EDT 2017


The simplest and lowest-hanging fruit here is profit margin protection. Don't return routes from the LCR whose cost exceeds the sell rate. This will ensure that client 1 is never routed out Trunk 2, period - if Trunk 1 is exhausted, you don't complete the calls.

Then, add some logic to ensure that any given client's calls cannot monopolise more than x% of Trunk X, perhaps activated only if Trunk X is at least y% utilised. Make it possible to tune this on a per-client and per-trunk basis. You can use the dialog module to enforce all these thresholds.

That should get you to a good result. 

-- Alex

--
Sent via mobile, please forgive typos and brevity. 



More information about the Users mailing list