Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Tue Mar 19, 2024 6:38 am
VoIP Billing solution


All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Congestion, not failing over
PostPosted: Tue Dec 13, 2016 9:37 am 
Offline

Joined: Fri Nov 04, 2016 3:53 pm
Posts: 3
Hi,

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:
Code:
     -- 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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 
Voice Broadcast System


All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group