Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Mar 29, 2024 3:31 pm
Voice Broadcast System


All times are UTC




Post new topic Reply to topic  [ 17 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: Fri Feb 20, 2009 6:52 pm 
Offline

Joined: Fri Feb 20, 2009 6:46 pm
Posts: 10
jroper wrote:
S(n): Hangup the call n seconds AFTER called party picks up.
Joe


Hi all...

I just want to note that adding S(600) in a2billing.conf would do the trick, calls will hang up after 10 minutes, everything will be charged... though there is one big problem.
If balance is say 0.05 cents and you make call, you can still talk 10 more minutes and it will not hang up :lol:
After you hang up, it's cool, but I'm sure you don't want that in your billing.

So, beware...


Top
 Profile  
 
 Post subject: Re: Max Call Duration
PostPosted: Thu Dec 23, 2010 12:22 am 
Offline

Joined: Tue Jul 20, 2010 3:42 pm
Posts: 30
Location: Schaumburg , IL
For a2b v.1.7.1
database

INSERT INTO `cc_config` (`config_title`, `config_key`, `config_value`, `config_description`, `config_valuetype`, `config_listvalues`, `config_group_title`) VALUES('Exp Max Time', 'maxseconds', '5400', 'Experimental timeout for evey call in seconds', 0, NULL, 'agi-conf1');

Class.RateEngine.php file

$maxseconds = $A2B->agiconfig['maxseconds'];
if ($timeout > $maxseconds)
$timeout= $maxseconds;

after

$ifmaxuse = $this -> ratecard_obj[$k][52+$usetrunk_failover];

enjoy it.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ]  Go to page Previous  1, 2
VoIP Billing solution


All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 8 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