[asterisk-users] asterisk, phpagi and singleton

Philipp Kempgen philipp.kempgen at amooma.de
Sun Oct 5 13:42:38 CDT 2008


Giedrius Augys schrieb:

>    I've this situation: 300+ simultaneous calls and dialplan like this:
> exten => _X.,1,Answer()
> exten => _X.,2,DEADAGI(check_status.php)
> exten => _X.,3,Dial(SIP/other/${NUMBER})
> exten => _X.,4,Hangup
> 
> exten => h,1,DEADAGI(cdr.php)
> 
> When project is running , I had  a lot of defunct php scripts (I've exceed
> mysql connection limits and so on, deadagi help a bit). The scripts
> check_status.php and cdr.php connects to database to retrieve/store data. So
> one call - 2 connections to database. So I want to do like this: 100
> simultaneous calls , make 200 queries per one mysql connection.

In this scenario it doesn't matter how many simultaneous calls
you have. What matters is calls per second.

   Philipp Kempgen

-- 
http://www.das-asterisk-buch.de  -  http://www.the-asterisk-book.com
Amooma GmbH - Bachstr. 126 - 56566 Neuwied  ->  http://www.amooma.de
Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998
-- 



More information about the asterisk-users mailing list