[asterisk-users] Re: Load balancing of IAX2

Kamran Ahmad p_kami at yahoo.com
Mon Aug 7 04:08:21 MST 2006


Thanks alot for your answer Florian

I have a question in this case when call is transfered
from loadbalancing-server to server01 or server02 what
will be media Path? media will be routed through
loadbalancing-server or it will not use
loadbalancing-server anymore


EndPoint1-->loadbalancing-server-->server01/02-->EndPoint2
OR
EndPoint1------>server01/02---->EndPoint2


any idea which one?

thanks
kAMRAN






>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


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the asterisk-users mailing list