pikalla wrote:Hello to all,
I would like to add a new carrier (10 trunks) in my server, my old carrier required me to limit the calls to 20 (the number of trunk I took from them)
But in the server settings, it limits for all carriers.
Please, How to limit the "Max Trunk" for each carrier ?
Closest Vicidial has is:
Trunks Per Server: Admin->Servers->{Choose Server}->Max Trunks (obviously NOT per carrier ... so)
Allows "Trunks per Campaign": Admin->Servers->{Choose Server}->
TRUNKS FOR THIS SERVER section. With this, you can set all the campaigns using this carrier to a limit adding up to your number.
Alternately: If you want to overflow to another carrier rather than "stop dialing entirely when you hit this limit", you can do that with a dialplan entry that can either balance among carriers or check the count of a carrier group and switch to another carrier group when a maximum is reached.
Beware that any method outside Vicidial's built-in feature set will not be known by Vicidial and may result in failed calls that were never actually tried, thus resulting in "NA" on a call that was never Really Dialed. Bad stats. Thus the "trunks for this server" method is preferable if you want an actual limit rather than an overflow. At least with overflow, the calls all generate, it's just a question of which carrier it's sent through. So no "NA".