[Asterisk-Users] Least Cost Routing - Are you doing it? What areyou using?

Matthew Boehm mboehm at cytelcom.com
Fri Dec 17 16:07:25 MST 2004


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 at tworivertechnologies.com>
To: "'Asterisk Users Mailing List - Non-Commercial Discussion'"
<asterisk-users at 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 at 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




More information about the asterisk-users mailing list