[asterisk-users] load balancing

Yehavi Bourvine +972-8-9489444 YEHAVI at VMS.HUJI.AC.IL
Thu Feb 28 22:21:00 CST 2008


>>  If i have this kind of setup, what do i need to make it's load balance.
>>
>>  [ asterisk 1 ] -- [ asterisk 2 ] -- [ asterisk 3 ] -- [ asterisk 4 ]
>>        |                 |                 |                 |
>>  ---------------------------------------------------------------------
>>  |                         mysql cluster                             |
>>  ---------------------------------------------------------------------
>>
>>  I plan on doing it via DNS SRV only, but if a user register on asterisk
>>  1 how can users at asterisk 4 reach that user. Thank You
>>
>>  Regards,
>>  Ron
>>
>
> Hi Ron,
>
> If you're using realtime each Asterisk server will know where every
> user is irrespective of which Asterisk server they registered on. The
> problem is NAT, if a client is behind NAT and registers on server 1
> then server's 2,3 & 4 are unlikely to be able to get through to it.
> Last time I lookedthe Asterisk realtime engine doesn't record which
> server an account registered on in the database so the only option I

See the discussion a few days ago. The Asterisk server saves the value of
SYSNAME (defined in asterisk.conf) in the field REGSERVER inside MySQL.

                                Regards, __Yehavi:



More information about the asterisk-users mailing list