[asterisk-users] Load balancing of IAX2

Florian Overkamp florian at obsimref.com
Fri Aug 4 03:38:48 MST 2006


Hi,

Kamran Ahmad wrote:
> any idea how to loadbalance IAX2 trafic to multiple
> asteirsk

Use app_random:

exten = _X.,2,Random(50:6)
exten = _X.,3,Dial(IAX2/server01/${EXTEN})
exten = _X.,4,Dial(IAX2/server02/${EXTEN})
exten = _X.,5,Goto(8)
exten = _X.,6,Dial(IAX2/server02/${EXTEN})
exten = _X.,7,Dial(IAX2/server01/${EXTEN})
exten = _X.,8,Congestion
exten = i,1,Congestion

Florian



More information about the asterisk-users mailing list