You're not giving us enough information to determine if it really is the right solution or not. Whether to use realtime or not will depend on what you are actually trying to accomplish. Just using it because you think you need it, without any real reason is probably a good enough reason to say you don't need it.
Are you doing clustering? Are you adding so many people at such a time that you need them IMMEDIATELY available instead of waiting for a couple minutes for your reload script to run (or are you adding them so much that you are finding it hard to keep up by doing a 'sip reload'?) Why do you think you need realtime? Sounds to me like you really don't. I *need* it because we have a custom GUI interface which updates a database, and then we use realtime so we don't have any scripts running to build and reload the flatfiles. We used this approach, and it worked well enough, except I got tired of editing PHP code to generate those flat files and to reload them every 5 minutes. Now I use a combination of realtime and func_odbc so I only need to write the dialplan, then things can change in the GUI (which updates the DB), and now Asterisk can just pull that information as it needs it with no reloads. (You'll find more information about this in the next version of The Future of Telephony, probably released sometime in August). Leif Madsen. On 7/8/07, Reza - Asterisk Enthusiast <[EMAIL PROTECTED]> wrote:
Hello Enthusiasts: This question is more for those die hard command line junkies running production platforms, though feedback from ALL is appreciated and needed! The question is quite simple: To Real Time, or NOT to Realtime? Been running Asterisk now for the longest time with Flat File configs. Time has come to convert this all to a TRUE REAL TIME through SQL. So technically the question is, on your production platforms do you prefer FLAT file configs versus REALTIME configs in SQL? If so why? Any technical concerns, advise or suggestions before I convert it all to REALTIME? Realtime from my non-experience perspective, is appealing as more users are being added - the ability to change certain things, specially creation & deletion of new extensions in real time is quite tempting to convert to realtime configs - since this does not require a configs reload. Waiting for your feedback! Cheers! Reza.
-- Leif Madsen. http://www.leifmadsen.com http://www.oreilly.com/catalog/asterisk
