Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Mar 28, 2024 3:18 pm
Voice Broadcast System


All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: How to limit call duration
PostPosted: Wed Jul 03, 2013 8:01 pm 
Offline

Joined: Wed Jul 03, 2013 7:54 pm
Posts: 2
Hi,

I'm running A2Billing 2.0.1 and works great, I'm now required to limit the duration of all calls to 5 minutes and of course still charge the customer and hang up their calls if they run out of balance before the timeout.

I read a topic where a user recommended changing the Rate Engine, I did that but I think it just don't work in my current version of A2B.

I hope you guys can give some guidance with this issue.

Thanks in advance.

Irving.


Top
 Profile  
 
 Post subject: Re: How to limit call duration
PostPosted: Thu Jul 04, 2013 4:07 am 
Offline

Joined: Tue Jul 02, 2013 6:35 pm
Posts: 7
you may want to modify dialcommand_param key for specific agi-confn ?


Top
 Profile  
 
 Post subject: Re: How to limit call duration
PostPosted: Thu Jul 04, 2013 7:03 pm 
Offline

Joined: Wed Jul 03, 2013 7:54 pm
Posts: 2
Thanks, that may not work, I made a little modification in the Rate Engine php file to accomplish that.

Thanks for replying!


Top
 Profile  
 
 Post subject: Re: How to limit call duration
PostPosted: Sat Jul 06, 2013 3:42 pm 
Offline

Joined: Mon Apr 21, 2008 1:58 pm
Posts: 16
a2billing have such option only for free calls.
but you can always use somethign like this


Code:
[incoming]
exten => _X.,1,Dial(LOCAL/${EXTEN}@a2billing/n,,L(100000)); time in miliseconds(this one is 100sec)
[a2billing]
exten => _X.,1,Answer
exten => _X.,2,Agi(a2billing.agi,1)


that will include all promtps etc. if you need limit just dialling time - change source code or create trunk via Local like above.


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


All times are UTC


Who is online

Users browsing this forum: No registered users and 13 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group