Peter, I assume you mean something like this in extensions.conf:

exten => _X.,1,AGI(master-dial-logic.pl)

and then there's only one call. All logic would be performed by the perl 
script. This has many advantages. One disadvantage however is that potentially, 
there could be 120 simultaneous instances of this script running (one per call).

Douglas.

-----Original Message-----
From: Peter Bowyer [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 11, 2006 1:36 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Nested MySQL Commands


On 11/01/06, Douglas Garstang <[EMAIL PROTECTED]> wrote:
> Peter,
>
> Too slow! We're going to potentially be doing several MySQL lookups for 
> routing even the most basic of calls, and if every one of those queries has 
> to make a call out to an AGI script, it would become a performance problem.

I mean, an AGI to do the routing. A single call which does all the
MySQLing it needs to do in a manner efficient for the environment it's
written in, and makes all the call routing desicions as well.

Peter


--
Peter Bowyer
Email: [EMAIL PROTECTED]
Tel: +44 1296 768003
VoIP: sip:[EMAIL PROTECTED]
VoIP: [EMAIL PROTECTED]
FWD: **275*5048707000
VoipTalk: **473*5048707000
_______________________________________________
--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
_______________________________________________
--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