[Asterisk-Users] Trunk Groups and Multiple Asterisk Machines

Philipp von Klitzing klitzing at pool.informatik.rwth-aachen.de
Thu Dec 18 04:29:14 MST 2003


Hi!

> I have no problems setting up trunk groups in general, but is there a way to
> set up a trunk group for outbound calls that includes channels on multiple
> servers?  I might have missed something somewhere, but I couldn't find any
> reading about this topic.  Thanks!

What exactly are you trying to do, paging multiple extensions at once 
that are hosted in different servers?

If that's not it, why wouldn't this be sufficient for you:
exten => 1000,1,Dial(${Trunk1}/{$Exten})
exten => 1000,2,Dial(${Trunk2}/{$Exten})
exten => 1000,3,Dial(${Trunk3}/{$Exten})

Or how about this if you are trying to arrange some load balancing:
exten => 1000,1,AGI(generate-random-number)
exten => 1000,2,GotoIf($[${RANDOM} = 1]?4:3)
exten => 1000,3,GotoIf($[${RANDOM} = 2]?5:6)
exten => 1000,4,Dial(${Trunk1}/{$Exten})
exten => 1000,5,Dial(${Trunk2}/{$Exten})
exten => 1000,6,Dial(${Trunk3}/{$Exten})
exten => 1000,7,Congestion

Cheers, Philipp





More information about the asterisk-users mailing list