I have two providers and therefore several trunks. One provider gives me different rates, for example silver and gold. Therefore I have setup three rate cards and three trunks.
My failover_recursive_limit is set to 4. For this specific case, my LCR says Provider A silver, Provider A gold, Provider B.
However, Provider A silver trunk returns me "SIP/2.0 503 Service Unavailable".
I would have expected a2billing to fail over to the gold trunk but instead I get:
-- SIP/silver-0000002b is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
Am I not understanding fail over correctly?
To high-light, I have not defined a fail-over trunk in the trunk silver configuration, I would like that logic to be in the a2billing agi because for another number, I might have, Provider A silver, Provider B, Provider A gold.
Is there a way to achieve this? Is it meant to work like this?
Edit: Ok, upon digging deeper into Class.RateEngine.php, it's clear to me that fail over only means for the fail over trunks, not fail over based on the rate card. Guess I'll have to do some coding to get this working the way I want to use it.
Let's close/move to requests.