Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Sep 20, 2018 6:07 pm
Predictive Dialer


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: In Callerid-Callback, Failover Trunk is not used??
PostPosted: Sun Aug 04, 2013 11:19 am 
Offline

Joined: Wed May 26, 2010 5:39 pm
Posts: 30
I have a working CID callback configuration, with the only exception that, if the initial callback does not go through due to a problem on the trunk I select for the A-Leg, the callback is finished, and logged as ERROR. Failover trunk is not being used.

I use a separate ratecard for the A-Leg and the trunk specified for the rates there indeed a has a failover trunk, in case the call does not go on the specified trunk.

Can anyone help me with that? I have looked at a2billing.php, and I think it might be related to what is going on in these lines:


Code:
               // MAKE THE CALL
               if ($RateEngine -> ratecard_obj[0][34]!='-1') {
                  $usetrunk = 34;
                  $usetrunk_failover = 1;
                  $RateEngine -> usedtrunk = $RateEngine -> ratecard_obj[0][34];
               } else {
                  $usetrunk = 29;
                  $RateEngine -> usedtrunk = $RateEngine -> ratecard_obj[0][29];
                  $usetrunk_failover = 0;
               }



However, I can't thoroughly understand it.

Help, anyone?

Thanks,

Burak


Top
 Profile  
 
 Post subject: Re: In Callerid-Callback, Failover Trunk is not used??
PostPosted: Fri Aug 09, 2013 7:57 am 
Offline

Joined: Fri Dec 17, 2010 12:17 pm
Posts: 20
as far as i know this is not possible to use failover trunk for A-leg call.
I installed the 2.0 version and this feature is still not present.

I also asked a few weeks ago to star2billing if there is any module for it and they answered me they cannot assist...

If you have a limitation of simultaneous calls for your A-leg trunk you can manage to change the callback trunk in the dialplan of asterisk. That's what I did as I use GSM gaeways.

Let me know if you find a solution!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 
Auto Dialer Software


All times are UTC


Who is online

Users browsing this forum: No registered users and 2 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