Sean Cheesman
2003-Dec-17 17:44 UTC
[Asterisk-Users] Trunk Groups and Multiple Asterisk Machines
Hello all, 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! Sean
Philipp von Klitzing
2003-Dec-18 04:29 UTC
[Asterisk-Users] Trunk Groups and Multiple Asterisk Machines
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
John Todd
2003-Dec-18 07:56 UTC
[Asterisk-Users] Trunk Groups and Multiple Asterisk Machines
At 7:44 PM -0500 12/17/03, Sean Cheesman wrote:>Hello all, > >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! > >SeanYou should be able to do this with TDMoE (TDM over Ethernet) which is a little-used feature of the Zap drivers. There are two ways of doing this: individual trunk groups in a cascading failover situation, which is a well-known configuration with TDMoE (see below for howto) and then perhaps a more interesting way that creates one huge trunk group spanning multiple hosts, which is not documented in the howto but I can't think of why it wouldn't work. I have not actually tried this, but in theory it should work as long as your servers are all on the same ethernet. See Wasim's mini How-to on http://www.convergence.com.pk/TDMoE-HOWTO and then think about it for a while and modify it so that the group spans multiple hosts. Let us know how it goes; I think this might actually be a pretty interesting experiment if it functions as expected. JT
Sean Cheesman
2003-Dec-18 20:01 UTC
[Asterisk-Users] Trunk Groups and Multiple Asterisk Machines
I've looked over the howto, and have the TDMoE "span" up. I am going to do some testing. Ideally, I would like to be able to span 3 or 4 asterisk boxes for high density purposes on their own network (dedicated TDMoE network). That seems like the easy part! If anyone can give me any feedback or tips on the best way to configure the TDMoE links within Asterisk, I'd really appreciate it! Like you said, it seems to be used very little! Thanks! Sean -----Original Message----- From: John Todd [mailto:jtodd@loligo.com] Sent: Thursday, December 18, 2003 9:57 AM To: asterisk-users@lists.digium.com Subject: Re: [Asterisk-Users] Trunk Groups and Multiple Asterisk Machines At 7:44 PM -0500 12/17/03, Sean Cheesman wrote:>Hello all, > >I have no problems setting up trunk groups in general, but is there a wayto>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! > >SeanYou should be able to do this with TDMoE (TDM over Ethernet) which is a little-used feature of the Zap drivers. There are two ways of doing this: individual trunk groups in a cascading failover situation, which is a well-known configuration with TDMoE (see below for howto) and then perhaps a more interesting way that creates one huge trunk group spanning multiple hosts, which is not documented in the howto but I can't think of why it wouldn't work. I have not actually tried this, but in theory it should work as long as your servers are all on the same ethernet. See Wasim's mini How-to on http://www.convergence.com.pk/TDMoE-HOWTO and then think about it for a while and modify it so that the group spans multiple hosts. Let us know how it goes; I think this might actually be a pretty interesting experiment if it functions as expected. JT _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users