asterisk2billing.org http://forum.asterisk2billing.org/ |
|
How to limit call duration http://forum.asterisk2billing.org/viewtopic.php?f=34&t=10389 |
Page 1 of 1 |
Author: | IrvTre [ Wed Jul 03, 2013 8:01 pm ] |
Post subject: | How to limit call duration |
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. |
Author: | siava [ Thu Jul 04, 2013 4:07 am ] |
Post subject: | Re: How to limit call duration |
you may want to modify dialcommand_param key for specific agi-confn ? |
Author: | IrvTre [ Thu Jul 04, 2013 7:03 pm ] |
Post subject: | Re: How to limit call duration |
Thanks, that may not work, I made a little modification in the Rate Engine php file to accomplish that. Thanks for replying! |
Author: | meral [ Sat Jul 06, 2013 3:42 pm ] |
Post subject: | Re: How to limit call duration |
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. |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |