Grady Trew, Jr.
2004-Dec-17 14:31 UTC
[Asterisk-Users] Least Cost Routing - Are you doing it? What are you using?
Greetings. I've been playing with the TrollPhone Rate Engine Addon for a week or so. I'm curious what is being used out there for LCR applications? I've run into a stump with the Rate Engine and that is the costing is done with an integer. With this, how do you put in say 0.014 / minute rate. And if your periods are not 60 seconds.. well.. then you have even more places to keep track of. Perhaps I'm missing the point here. If so.. someone please straighten me out. *smiles* Thanks Grady -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20041217/70588848/attachment.htm
Matthew Boehm
2004-Dec-17 16:07 UTC
[Asterisk-Users] Least Cost Routing - Are you doing it? What areyou using?
Throw that troll phone crap away and write a better one in PHP using AGI. We did and it works great. We store all NPANXXs into a database with the rates from multiple carriers. When a call comes in, the PHP script first determines which state the call came from, and what state the call is going to. If the two states match then it uses rate table A for intrastate calls and chooses the cheapest carrier to terminat that NPANXX. If the 2 states don't match it uses a different table. PHP/AGI is wonderful. -Matthew ----- Original Message ----- From: "Grady Trew, Jr." <grady@tworivertechnologies.com> To: "'Asterisk Users Mailing List - Non-Commercial Discussion'" <asterisk-users@lists.digium.com> Sent: Friday, December 17, 2004 3:31 PM Subject: [Asterisk-Users] Least Cost Routing - Are you doing it? What areyou using? Greetings. I've been playing with the TrollPhone Rate Engine Addon for a week or so. I'm curious what is being used out there for LCR applications? I've run into a stump with the Rate Engine and that is the costing is done with an integer. With this, how do you put in say 0.014 / minute rate. And if your periods are not 60 seconds.. well.. then you have even more places to keep track of. Perhaps I'm missing the point here. If so.. someone please straighten me out. *smiles* Thanks Grady ---------------------------------------------------------------------------- ----> _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users