[asterisk-users] load balancing

Grey Man greymanvoip at gmail.com
Thu Feb 28 22:51:04 CST 2008


On Fri,  29 Feb 2008 6:21 +0200, Yehavi Bourvine +972-8-9489444
<YEHAVI at vms.huji.ac.il> wrote:
>
>  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:

Ahh that's handy. That would allow a half way solution between
multiple Asterisk servers and a SIP Proxy by utilising an AGI script
or database lookup in each Asterisk server's dialplan. When the
incoming calls arrive you'll be able to know which Asterisk server to
forward them to. You still have the problems about failing over the
Asterisk servers and putting two Asterisk servers in the media path is
always best avoided if possible although probably not a huge deal.

Actually from memory there is something in sip.conf regarding
autoregexten or something where when a SIP account registers with
Asterisk it automatically adds an entry to the dialplan. If this were
employed you could forward a call to all 4 Asterisk servers and only
the one that had the registered user would forward the call.

There are  lots of ways to skin the cat but the SIP Proxy is the best
way to utilise mutliple Asterisk servers when being used for SIP
calls.

Regards,

Greyman.



More information about the asterisk-users mailing list