Hello, 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 peer used all minutes? I use asterisk 1.4.34 + mysql + cdr + asterisk-gui administration interface. I don't really want to install another software 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 limmit. Thank you for help guys.
Hi, It is simple to use max_limit perameter in dial command. Regards, Faisal Hanif On 8/9/2010 2:01 PM, Catalin S. wrote:> Hello, > > 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 > peer > used all minutes? I use asterisk 1.4.34 + mysql + cdr + asterisk-gui > administration interface. I don't really want to install another > software > 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 > limmit. > > Thank you for help guys. >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100809/e0eb03ce/attachment.htm
Hi 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. Regards On Mon, Aug 9, 2010 at 2:01 PM, Catalin S. <jonsonplayer at gmail.com> wrote:> Hello, > > 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 > peer > used all minutes? I use asterisk 1.4.34 + mysql + cdr + asterisk-gui > administration interface. I don't really want to install another > software > 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 > limmit. > > 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: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- Nasir Iqbal ICT Innovations http://www.ictinnovations.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100809/b41c836d/attachment.htm