Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Mar 28, 2024 11:09 am
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: How to Limit the Duration of a Call per Client?
PostPosted: Fri Oct 17, 2014 6:51 pm 
Offline

Joined: Fri Mar 01, 2013 8:53 pm
Posts: 39
Hello, last week a client dial a number to an expensive destination, he usually do that but the duration of the calls is no more than 5 Minutes, but last week, he didn't hang up the call or i dont know what happen, the thing is that the call takes all the remaining credit (18 USD) and the call duration was of 45:30 Min, so he asked me to limit the duration of his calls to 15 Min, but i don't know how to do that :s, does somebody knows ?, Thanks


Top
 Profile  
 
 Post subject: Re: How to Limit the Duration of a Call per Client?
PostPosted: Tue Oct 21, 2014 6:09 pm 
Offline

Joined: Mon Mar 28, 2011 10:49 pm
Posts: 23
Hello,

you configure a specific context for the client and in this context:

[clienteX]
exten => _X.,1,NoOp(Call from Client X)
same => n,Set(TIMEOUT(absolute)=900)
same => n,Goto(a2billing,${EXTEN},1)
same => n,Hangup

You set the function TIMEOUT(absolute) to 15 minutes (900 seconds), the send the call to the context you have the A2Billing AGI.

Regards

- Bakko


Top
 Profile  
 
 Post subject: Re: How to Limit the Duration of a Call per Client?
PostPosted: Tue Oct 28, 2014 5:06 pm 
Offline

Joined: Fri Mar 01, 2013 8:53 pm
Posts: 39
Thank you so much bakko :laugh: :laugh: , you save my life and money !!, that works like a charm !!


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


All times are UTC


Who is online

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