Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Tue Apr 16, 2024 11:33 am
VoIP Billing solution


All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: hangup at the end of balance
PostPosted: Mon Feb 23, 2009 3:37 pm 
Offline

Joined: Mon Dec 22, 2008 10:45 am
Posts: 25
hello,

how can I hangup at the end of customer's balance ?

thank you


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 23, 2009 3:59 pm 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
It does that.

A2Billing sends a command to Asterisk saying dial number, and keep call up for x minutes, where x has been calculated by looking at the rate for the dialed digits, and the balance available.

The dial command sent can be seen in the appropriate agi-conf in a2billing.conf


Joe


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 23, 2009 4:36 pm 
Offline

Joined: Mon Dec 22, 2008 10:45 am
Posts: 25
I could try to do

dialcommand_param = "|120|HRgrL(%timeout%:61000)"




but, does it work with asterisk 1.6 ?

Added after 32 minutes:

I found!

with asterisk 1.6, it is:

dialcommand_param = ",120,HRgrL(%timeout%:61000)"



',' instead of '|'


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 
VoIP Billing solution


All times are UTC


Who is online

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