asterisk2billing.org
http://forum.asterisk2billing.org/

hangup at the end of balance
http://forum.asterisk2billing.org/viewtopic.php?f=15&t=4911
Page 1 of 1

Author:  fcois93 [ Mon Feb 23, 2009 3:37 pm ]
Post subject:  hangup at the end of balance

hello,

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

thank you

Author:  jroper [ Mon Feb 23, 2009 3:59 pm ]
Post subject: 

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

Author:  fcois93 [ Mon Feb 23, 2009 4:36 pm ]
Post subject: 

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 '|'

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/