<HTML>
<HEAD>
<TITLE>Re: [Freeswitch-users] Dynamic Dialplan</TITLE>
</HEAD>
<BODY>
<FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>If you want an extremely high performance you write your own dialplan module... Its not that hard...<BR>
<BR>
Or option 1 is the more high performance way to fo...<BR>
<BR>
Curl with a serverlet will scale to a point but I doubt it will get to where you need in the long run <BR>
Static and do what you need, but how scalable is lua is unknown at this point (someone should post some info on that) and its known that java script doesn’t scale that well for large installs<BR>
<BR>
K<BR>
<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"><B>From: </B>Doug Blacksone <dougblackstone@gmail.com><BR>
<B>Reply-To: </B><freeswitch-users@lists.freeswitch.org><BR>
<B>Date: </B>Mon, 9 Feb 2009 11:21:49 +0800<BR>
<B>To: </B><freeswitch-users@lists.freeswitch.org><BR>
<B>Subject: </B>[Freeswitch-users] Dynamic Dialplan<BR>
<BR>
Hi,<BR>
<BR>
Right now, I am working on getting freeswitch configured for our call-center with more than 1000 agents. There are several areas where we need the dialplan to be configurable based on some user detail in the database. Therefore, the dialplan needs to be some-what dynamic based-on inputs from the database. <BR>
<BR>
I would like to know from other implementation as to the most scalable way of doing high performance dynamic dialplan that is super scalable.<BR>
<BR>
There are three ways I can think of:<BR>
<BR>
1. Static dialplan using customized freeswitch mod to access postgres for data<BR>
pros: best performance<BR>
cons: harder to program<BR>
<BR>
2. Static dialplan using lua to access postgres for data<BR>
pros: easy to program, maybe-performance is better than curl<BR>
cons: need to search through all the extensions to find one dialplan, performance is slower than the first one.<BR>
<BR>
3. curl-based dialplan using Java Servlet and HTTP <BR>
pros: easy to program, freeswitch only gets one extension and no extension search<BR>
cons: performance is slow than the other two<BR>
<BR>
Is this a correct analysis?<BR>
If from a pure performance's perspective, how much performance can a customized mod gains in comparison to lua?<BR>
<BR>
For a production system that needs to be highly scalable, what do you recommend?<BR>
<BR>
<BR>
Thank you very much for any input to our critical design decision.<BR>
<BR>
Doug<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>_______________________________________________<BR>
Freeswitch-users mailing list<BR>
Freeswitch-users@lists.freeswitch.org<BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
</SPAN></FONT></FONT>
</BODY>
</HTML>