[Asterisk-Users] Re: outgoing calls, based on caller extension

Marconi Rivello marconirivello at gmail.com
Fri Sep 24 09:09:30 MST 2004


On Fri, 24 Sep 2004 10:27:03 -0500, niles at atheos.net <niles at atheos.net> wrote:
> I'm curious if there is a way I can do some kind of balancing if an
> outgoing
> connection is already being used?
> I was thinking about using the System command with a python script to
> keep
> an inventory of what outgoing connections are being used, and use the
> output
> from the script to determine which SIP account to make the call from.
> If there isn't an easier way, then I'll work into that direction.
> Thanks
> Niles

You can implement a simple round-robin within the dialplan using
variables, or the dbput, dbget... I think that would be better than to
tie an outbound provider to specific extensions.

Marconi.



More information about the asterisk-users mailing list