On 21:44, Sat 11 Nov 06, Tzafrir Cohen wrote:
> On Sun, Nov 12, 2006 at 12:51:27AM +0530, Rajeev Natarajan wrote:
> > Or you can look at PHP-AGI; use the php to query mysql (probably more
> > scalable than dialplan MYSQL)
> 
> Running an external php script which will open a separate mysql
> connection, query it, close and be done is not exactly scalable. At
> least not more scalable then using mysql from the dialplan. 

unless you run it as fastagi in some kind of daemon that
uses persistant connections.
AFAIK asterisk does not support persistant connections.
That's why I built a http server with php in persistant
mode. Really scales ok (not really tested because I dont
have that much of call volume yet)

-- 

Michiel van Baak
[EMAIL PROTECTED]
http://michiel.vanbaak.eu
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x71C946BD

"Why is it drug addicts and computer afficionados are both called users?"

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to