[asterisk-users] Skill based routing

Steve Edwards asterisk.org at sedwards.com
Fri Jul 17 15:13:51 CDT 2009


On Fri, 17 Jul 2009, Steve Totaro wrote:

> Just use FastAGI to hit a little process that queries a database and returns
> the extensions of the "most skilled"

If you need to keep the agent status in memory to avoid the database 
latency, FastAGI (since it connects to a daemon) make sense.

If you keep status in the database, the database latency will dwarf the 
load and execute time of an AGI written in a compiled real language like 
C.

In my informal benchmarking, a C AGI will load and execute in 1/xxx[x]'th 
of a second. Writing an AGI is easier than a FastAGI daemon.
-- 
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000



More information about the asterisk-users mailing list