--- Dossy Shiobara <[EMAIL PROTECTED]> wrote: > On 2004.08.27, Brett Schwarz > <[EMAIL PROTECTED]> wrote: > > > > However, before I start, I was wondering if any > kind > > souls out there have any helpful tips...maybe an > > overview on how aolserver does this, where to > start > > looking in the code, and any general threading > tips. > > How you go about embedding the Tcl interpreter will > depend on what it'll > be used for and how. > > Can you elaborate on some details about your > requirements? >
Sure, I didn't elaborate before, because I was trying to keep the OT noise down. Anyways, there is an open source PBX system (asterisk) that has an programming interface that is very similar to CGI (in fact it is called AGI). Right now, it forks off a process everytime an AGI is called (just like CGI). I would like to change that so that Tcl scripts are loaded in ahead of time, and are executed in process (no forking). Pretty much how aolserver runs tcl procs and tcl pages. More info for asterisk can be gotten here: www.asterisk.org, and I actually wrote an article about it that you can get an overview about here: http://linuxjournal.com/article.php?sid=6769 which gives an example of an AGI. Hope that helps... thanks for your time, --brett -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
