[asterisk-users] Prepay Limited Calls.
nasir at ictinnovations.com
Mon Aug 9 04:24:48 CDT 2010
Use "Set(TIMEOUT(absolute)=XYZ)" in your dialplan or timeout parameter in
Dial and Originate commands. Get maximum available seconds from your db for
calling peer and use it as timeout. But after every call you have to
deduct used time from you db for calling peer.
On Mon, Aug 9, 2010 at 2:01 PM, Catalin S. <jonsonplayer at gmail.com> wrote:
> I wish to make a simple system to limit peers at x minutes depending
> of buyer voip packet. Can someone help me with some directions?
> I intend to make a separate dial plan and every calls to be in cdr
> table in mysql. Is any chance to make some scripts to drop calls after
> used all minutes? I use asterisk 1.4.34 + mysql + cdr + asterisk-gui
> administration interface. I don't really want to install another
> to make this or modify all my settup. I'm wonder if someone is using
> something simple to limmit calls. Anyway if someone is using some
> other programs/software/scripts and another settup/method please let
> me know how is yours. I want to check few methods to realize that
> Thank you for help guys.
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the asterisk-users