Christopher L. Wade
2004-Sep-16 18:51 UTC
[Asterisk-Users] reverse the selection order of zap channels for outgoing calls
The subject says it all. Is it possible, code wise, configuration wise, at all - to reverse the order in which the available zap channels are used for *outgoing* calls? Code wise, I looked at the channel structure and it appears as though there is only a next pointer, not a previous pointer, so to 'easily' to this in the code would require a change to the code that reads in zapata.conf? I know I could simply plug the wires in 'backwards' for POTS lines, but I was just wondering if this could be done otherwise. Thanks, Chris
Andres
2004-Sep-16 19:22 UTC
[Asterisk-Users] reverse the selection order of zap channels for outgoing calls
Christopher L. Wade wrote:> The subject says it all. > > Is it possible, code wise, configuration wise, at all - to reverse the > order in which the available zap channels are used for *outgoing* calls? > >It would be great if there was a config option to select channels via multiple ways (ie, Round Robin, Most Idle, Least Idle, etc). As far as I know this is not available, -- Andres Network Admin http://www.telesip.net
Paul Zimm
2004-Sep-17 04:51 UTC
[Asterisk-Users] reverse the selection order of zap channels for outgoing calls
exten => _9NXXXXXX,1,Dial(Zap/G1/${EXTEN}) Zap/g1 = hunts for the first available channel in group 1 Zap/G1 = hunts for the first available channel in reverse order in group 1> > Is it possible, code wise, configuration wise, at all - to reverse the > order in which the available zap channels are used for *outgoing* calls? > > Code wise, I looked at the channel structure and it appears as though > there is only a next pointer, not a previous pointer, so to 'easily' to > this in the code would require a change to the code that reads in > zapata.conf? > > I know I could simply plug the wires in 'backwards' for POTS lines, but > I was just wondering if this could be done otherwise. > > Thanks, > Chris > >
James Golovich
2004-Sep-17 07:29 UTC
[Asterisk-Users] reverse the selection order of zap channels for outgoing calls
On Thu, 16 Sep 2004, Christopher L. Wade wrote:> The subject says it all. > > Is it possible, code wise, configuration wise, at all - to reverse the > order in which the available zap channels are used for *outgoing* calls? > > Code wise, I looked at the channel structure and it appears as though > there is only a next pointer, not a previous pointer, so to 'easily' to > this in the code would require a change to the code that reads in > zapata.conf? > > I know I could simply plug the wires in 'backwards' for POTS lines, but > I was just wondering if this could be done otherwise. >Definitely not a asterisk-dev post, keep this stuff on asterisk-users please. With Zap groups you have a few ways to handle it. Zap/g1 is group 1 starting from the beginning each time Zap/G1 is group 1 starting from the end each time Zap/r1 is group 1 round robin from the beginning Zap/R1 is group 1 round robin from the end James
Christopher L. Wade
2004-Sep-17 08:10 UTC
[Asterisk-Users] reverse the selection order of zap channels for outgoing calls
James Golovich wrote:> > > Definitely not a asterisk-dev post, keep this stuff on asterisk-users > please. > > With Zap groups you have a few ways to handle it. > > Zap/g1 is group 1 starting from the beginning each time > Zap/G1 is group 1 starting from the end each time > Zap/r1 is group 1 round robin from the beginning > Zap/R1 is group 1 round robin from the end > > James >[bow] to all parties who replied. Thank you, Chris
Andres
2004-Sep-17 16:39 UTC
[Asterisk-Users] reverse the selection order of zap channels for outgoing calls
>>please. >> >>With Zap groups you have a few ways to handle it. >> >>Zap/g1 is group 1 starting from the beginning each time >>Zap/G1 is group 1 starting from the end each time >>Zap/r1 is group 1 round robin from the beginning >>Zap/R1 is group 1 round robin from the end >> >>Nice. Thanks!>>James >> >> >>-- Andres Network Admin http://www.telesip.net