>>>>> "DG" == Douglas Garstang <[EMAIL PROTECTED]> writes:

DG> If you include 10 contexts, and each one of those has a realtime
DG> switch, than that's 10 times that Asterisk has to query the
DG> database, for a single call.

Not that I would make extensions.conf realtime, but...

One trick to avoid includes is to use a Goto multiplexer instead...
Like:

_2XX,1,Goto(internal,$EXTEN,1)

_18005551XXX,1,Goto(movienumbers,${EXTEN},1)

and so on and so forth.

That way you're down to two queries instead of ten.

/Benny


_______________________________________________
--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