if you are deploying your own system.. then you can build a small application (AGI) that would do the math for you .. will devide the call duration into the stages you want .. and does the calculation.. i think MYSQL already can do that.. but a PHP script will do it faster and easier.. or like our billing system.. C# application interacting with Asterisk doing all the math. after all it's all SQL and Asterisk working. you can do that with a dial plan i believe.. so why not build an AGI to do it for you?
-- Tarek Sawah Integrated Digital Systems CCNA, MCSE, RHCE, VoIP USA: +13864929993 ________________________________ > From: basit.e...@gmail.com > Date: Sat, 25 Sep 2010 23:27:56 +0500 > To: asterisk-users@lists.digium.com > Subject: Re: [asterisk-users] differential billing > > Tarek, > > I already tested this feature with a2billing. > > This is difficult to extract the working code from a2billing. > Also we are developing billing system so this is not a good idea > to deploy another billing system in parallel. > > Any idea or link might help full. > > > > > On Fri, Sep 24, 2010 at 9:30 PM, Tarek Sawah > > wrote: > > A quick answer? A2billing. > > It has what you call it differential billing.. but they call it > progressive billing.. 3 steps .. for 3 different rates .. > > Go for it.. easy to setup and quick to learn and use. > > Regards > > > > From: > asterisk-users-boun...@lists.digium.com > [mailto:asterisk-users-boun...@lists.digium.com] > On Behalf Of Danny Nicholas > Sent: Friday, September 24, 2010 4:19 PM > > To: 'Asterisk Users Mailing List - Non-Commercial Discussion' > Subject: Re: [asterisk-users] differential billing > > > > ________________________________ > > From: > asterisk-users-boun...@lists.digium.com > [mailto:asterisk-users-boun...@lists.digium.com] > On Behalf Of Abdul Basit > > Sent: Friday, September 24, 2010 8:13 AM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: [asterisk-users] differential billing > > > > Hi All, > > > > How can we develop a differential charging setup using asterisk like > for 1st min we charge 1 cent, for 2nd min we charge 0.5 cent, for next > 30 sec charge @15cent, etc? > > > > Any idea, suggestion. > > -- > Regards, > > Abdul Basit | +92 32 1416 4196 > > > > Since the CDR records the call duration in seconds, this should be a > relative “no-brainer”, assuming you are billing post-call. If you are > wanting to generate the charges during the live calls, AMI would be > your best option for getting a running duration of the connection. > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > -- > Regards, > > Abdul Basit | +92 32 1416 4196 > > -- > _____________________________________________________________________ -- > Bandwidth and Colocation Provided by http://www.api-digital.com -- New > to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello asterisk-users mailing list To > UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users