<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Realtime is probably better for administration, but do you want to throw a layer of complication into such a large undertaking?  I wouldn’t want 20,000 people screaming at me because MYSQL crapped out.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] <b>On Behalf Of </b>Ing CIP. Alejandro Celi Mariátegui<br><b>Sent:</b> Friday, May 25, 2012 2:40 PM<br><b>To:</b> Asterisk Users Mailing List - Non-Commercial Discussion<br><b>Subject:</b> Re: [asterisk-users] twenty thousands (20, 000) users, which asterisk and how many servers<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'><br>Asterisk Realtime is better for administration. <br><br>Performance,&nbsp; IMHO is the same issue. I'm not lucky to made large implementations to test these.<br><br>Regards,<o:p></o:p></p><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width="100%" style='width:100.0%'><tr><td style='padding:0in 0in 0in 0in'><p class=MsoNormal>-- <br>Ing CIP. Alejandro Celi Mariátegui <br>&lt;<a href="mailto:alex@linux.org.pe">alex@linux.org.pe</a>&gt;<br><a href="http://cipher.pe/web/nuestra-experiencia.html">http://cipher.pe/web/nuestra-experiencia.html</a> <o:p></o:p></p></td></tr></table><p class=MsoNormal><br><br><br>El vie, 25-05-2012 a las 07:06 -0700, bilal ghayyad escribió: <o:p></o:p></p><pre><o:p>&nbsp;</o:p></pre><pre><span style='color:black'>Hi John;</span><o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre><span style='color:black'>For 20,000 users: Is it better to use Asterisk realtime configuration or to use conf files?</span><o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre><span style='color:black'>I readed the below link but did not understand which GUI that works with asterisk realtime?</span><o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre><span style='color:black'><a href="http://www.freepbx.org/trac/wiki/AsteriskRealtime">http://www.freepbx.org/trac/wiki/AsteriskRealtime</a></span><o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre><span style='color:black'>Regards</span><o:p></o:p></pre><pre><span style='color:black'>Bilal</span><o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre><span style='color:black'>------------</span><o:p></o:p></pre><pre><span style='color:black'>&gt; </span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt; My question is:</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt; Is it really possible to have the asterisk</span><o:p></o:p></pre><pre><span style='color:black'>&gt; configuration in the database server instead of having it in</span><o:p></o:p></pre><pre><span style='color:black'>&gt; conf files? HOW? I am asking this because what I noticed in</span><o:p></o:p></pre><pre><span style='color:black'>&gt; AsteriskNow and in A2Billing and Vicidial or Goautodial that</span><o:p></o:p></pre><pre><span style='color:black'>&gt; whatever I do configuration in the GUI, then the</span><o:p></o:p></pre><pre><span style='color:black'>&gt; configuration will be generated in the conf files, so</span><o:p></o:p></pre><pre><span style='color:black'>&gt; Asterisk will read from the conf files and not from the</span><o:p></o:p></pre><pre><span style='color:black'>&gt; database directly. Is it right or I am confused and there is</span><o:p></o:p></pre><pre><span style='color:black'>&gt; something else?</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt; If there is a method to let the configuration to be</span><o:p></o:p></pre><pre><span style='color:black'>&gt; taken from the database (and not from the configuration),</span><o:p></o:p></pre><pre><span style='color:black'>&gt; then HOW? Because even in AsteriskNow, the configuration</span><o:p></o:p></pre><pre><span style='color:black'>&gt; will be generated in a conf files.</span><o:p></o:p></pre><pre><span style='color:black'>&gt; </span><o:p></o:p></pre><pre><span style='color:black'>&gt; Hi Bilal,</span><o:p></o:p></pre><pre><span style='color:black'>&gt; </span><o:p></o:p></pre><pre><span style='color:black'>&gt; You want to look the Asterisk realtime configuration</span><o:p></o:p></pre><pre><span style='color:black'>&gt; features if you </span><o:p></o:p></pre><pre><span style='color:black'>&gt; want to run your configuration from a database rather than</span><o:p></o:p></pre><pre><span style='color:black'>&gt; configuration </span><o:p></o:p></pre><pre><span style='color:black'>&gt; files.</span><o:p></o:p></pre><pre><span style='color:black'>&gt; </span><o:p></o:p></pre><pre><span style='color:black'>&gt; This should point you in the right direction and get you</span><o:p></o:p></pre><pre><span style='color:black'>&gt; started:&nbsp; </span><o:p></o:p></pre><pre><span style='color:black'>&gt; <a href="http://www.voip-info.org/wiki/view/Asterisk+RealTime">http://www.voip-info.org/wiki/view/Asterisk+RealTime</a></span><o:p></o:p></pre><pre><span style='color:black'>&gt; </span><o:p></o:p></pre><pre><span style='color:black'>&gt; It should be noted that if you're wanting to use AsteriskNow</span><o:p></o:p></pre><pre><span style='color:black'>&gt; (which </span><o:p></o:p></pre><pre><span style='color:black'>&gt; relies on FreePBX for its gui configuration features), then</span><o:p></o:p></pre><pre><span style='color:black'>&gt; Asterisk </span><o:p></o:p></pre><pre><span style='color:black'>&gt; realtime configuration will not work as it is not compatible</span><o:p></o:p></pre><pre><span style='color:black'>&gt; at this </span><o:p></o:p></pre><pre><span style='color:black'>&gt; time.&nbsp; Other web gui's might work, but I am not</span><o:p></o:p></pre><pre><span style='color:black'>&gt; familiar with them.&nbsp; </span><o:p></o:p></pre><pre><span style='color:black'>&gt; FreePBX's sentiment on the subject is shared here:&nbsp; </span><o:p></o:p></pre><pre><span style='color:black'>&gt; <a href="http://www.freepbx.org/trac/wiki/AsteriskRealtime">http://www.freepbx.org/trac/wiki/AsteriskRealtime</a></span><o:p></o:p></pre><pre><span style='color:black'>&gt; </span><o:p></o:p></pre><pre><span style='color:black'>&gt; -John</span><o:p></o:p></pre><pre><span style='color:black'>&gt; </span><o:p></o:p></pre><pre><span style='color:black'>&gt; On 05/24/2012 05:46 PM, bilal ghayyad wrote:</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt; Thanks for all for the help and kindly reply.</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt; One last point that will help me alot:</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt; I am thinking to have 4 Servers running Asterisk and 2</span><o:p></o:p></pre><pre><span style='color:black'>&gt; Servers to be for database. The load to be distributed on</span><o:p></o:p></pre><pre><span style='color:black'>&gt; the 4 Asterisk Servers with ability to be redundant (using</span><o:p></o:p></pre><pre><span style='color:black'>&gt; any redundancy technique). The 4 Asterisk Servers to take</span><o:p></o:p></pre><pre><span style='color:black'>&gt; the configuration from the Database Server and actually</span><o:p></o:p></pre><pre><span style='color:black'>&gt; because there is 2 Database servers, then it will be</span><o:p></o:p></pre><pre><span style='color:black'>&gt; redundant to each other (in case one database failed, the</span><o:p></o:p></pre><pre><span style='color:black'>&gt; other will take over).</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt; My question is:</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt; Is it really possible to have the asterisk</span><o:p></o:p></pre><pre><span style='color:black'>&gt; configuration in the database server instead of having it in</span><o:p></o:p></pre><pre><span style='color:black'>&gt; conf files? HOW? I am asking this because what I noticed in</span><o:p></o:p></pre><pre><span style='color:black'>&gt; AsteriskNow and in A2Billing and Vicidial or Goautodial that</span><o:p></o:p></pre><pre><span style='color:black'>&gt; whatever I do configuration in the GUI, then the</span><o:p></o:p></pre><pre><span style='color:black'>&gt; configuration will be generated in the conf files, so</span><o:p></o:p></pre><pre><span style='color:black'>&gt; Asterisk will read from the conf files and not from the</span><o:p></o:p></pre><pre><span style='color:black'>&gt; database directly. Is it right or I am confused and there is</span><o:p></o:p></pre><pre><span style='color:black'>&gt; something else?</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt; If there is a method to let the configuration to be</span><o:p></o:p></pre><pre><span style='color:black'>&gt; taken from the database (and not from the configuration),</span><o:p></o:p></pre><pre><span style='color:black'>&gt; then HOW? Because even in AsteriskNow, the configuration</span><o:p></o:p></pre><pre><span style='color:black'>&gt; will be generated in a conf files.</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt; Special thanks for the advise.</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt; Regards</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt; Bilal</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt; -------------</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt;&gt; Hi All;</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt;&gt;</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt;&gt; I need to use Asterisk for 20 000 users, so</span><o:p></o:p></pre><pre><span style='color:black'>&gt; which</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt; asterisk version to be used? Is there asterisk</span><o:p></o:p></pre><pre><span style='color:black'>&gt; version that</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt; supports 20,000 users on one hardware machine?</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt;&gt; Can I use one strong hardware server i7 with 64</span><o:p></o:p></pre><pre><span style='color:black'>&gt; GB RAM</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt; and fast hard desk to handle 20 000 users, and</span><o:p></o:p></pre><pre><span style='color:black'>&gt; concurrent</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt; calls 2000? Or I need multiple servers, how much?</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt;&gt; If I am going to use multiple servers (until</span><o:p></o:p></pre><pre><span style='color:black'>&gt; now I do</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt; not know how much, and I do not know if the barrier</span><o:p></o:p></pre><pre><span style='color:black'>&gt; will be</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt; the asterisk software or the hardware), then do I</span><o:p></o:p></pre><pre><span style='color:black'>&gt; have to</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt; use special SIP proxy or I have to use load</span><o:p></o:p></pre><pre><span style='color:black'>&gt; balancer)? In</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt; this case, I have to use asterisk Database (so all</span><o:p></o:p></pre><pre><span style='color:black'>&gt; the</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt; servers will read/write from the database)?</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt;&gt; What about AsteriskNow, can it support?</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt; AsteriskNOW is a GUI on top of Asterisk; it does</span><o:p></o:p></pre><pre><span style='color:black'>&gt; not change</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt; the ability</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt; of the system to handle call load.</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt;</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt; Modern versions of Asterisk can easily handle</span><o:p></o:p></pre><pre><span style='color:black'>&gt; 2,000</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt; simultaneous calls,</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt; even with media (non-transcoded) passing through</span><o:p></o:p></pre><pre><span style='color:black'>&gt; the server.</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt; We have a</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt; community member who has improved chan_sip in</span><o:p></o:p></pre><pre><span style='color:black'>&gt; Asterisk 10</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt; (and later) to</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt; be able to handle 10,000 simultaneous calls.</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt;</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt; Handling 20,000 registrations is probably more of a</span><o:p></o:p></pre><pre><span style='color:black'>&gt; concern</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt; for Asterisk</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt; at this point; I've never heard of anyone</span><o:p></o:p></pre><pre><span style='color:black'>&gt; attempting to</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt; handle that many</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt; on one system.</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt;</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt; In spite of all this, though, the other advice</span><o:p></o:p></pre><pre><span style='color:black'>&gt; you've</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt; received in this</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt; thread is sound: even if a single system can handle</span><o:p></o:p></pre><pre><span style='color:black'>&gt; the</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt; load, doing so</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt; is asking for a major problem if that system</span><o:p></o:p></pre><pre><span style='color:black'>&gt; experiences a</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt; failure.</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt; You'd be much better off to at least split the load</span><o:p></o:p></pre><pre><span style='color:black'>&gt; across</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt; two machines,</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt; both of which should be large enough to handle the</span><o:p></o:p></pre><pre><span style='color:black'>&gt; entire</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt; load when</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt; necessary.</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt;</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt; -- </span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt; Kevin P. Fleming</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt; Digium, Inc. | Director of Software Technologies</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt; Jabber: <a href="mailto:kfleming@digium.com">kfleming@digium.com</a></span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt; | SIP: <a href="mailto:kpfleming@digium.com">kpfleming@digium.com</a></span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt; | Skype: kpfleming</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt; 445 Jan Davis Drive NW - Huntsville, AL 35806 -</span><o:p></o:p></pre><pre><span style='color:black'>&gt; USA</span><o:p></o:p></pre><pre><span style='color:black'>&gt; &gt;&gt; Check us out at <a href="http://www.digium.com">www.digium.com</a>&amp;&nbsp;</span><o:p></o:p></pre><pre><span style='color:black'>&gt; <a href="http://www.asterisk.org">www.asterisk.org</a></span><o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre><span style='color:black'>--</span><o:p></o:p></pre><pre><span style='color:black'>_____________________________________________________________________</span><o:p></o:p></pre><pre><span style='color:black'>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com">http://www.api-digital.com</a> --</span><o:p></o:p></pre><pre><span style='color:black'>New to Asterisk? Join us for a live introductory webinar every Thurs:</span><o:p></o:p></pre><pre><span style='color:black'>               <a href="http://www.asterisk.org/hello">http://www.asterisk.org/hello</a></span><o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre><span style='color:black'>asterisk-users mailing list</span><o:p></o:p></pre><pre><span style='color:black'>To UNSUBSCRIBE or update options visit:</span><o:p></o:p></pre><pre><span style='color:black'>&nbsp;&nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a></span><o:p></o:p></pre><p class=MsoNormal style='margin-bottom:12.0pt'><o:p>&nbsp;</o:p></p></div></body></html>