[asterisk-ha-clustering] Load sharing between two asterisk servers

Allan Cassaro allan.cassaro at gmail.com
Wed Jan 9 08:07:35 CST 2008


On Jan 9, 2008 9:19 AM, Ricardo Carvalho <rjcarvalho at gmail.com> wrote:
> Thanks Julian, you helped a lot!
>
> Regards,
> Ricardo Carvalho.
>
> On Jan 9, 2008 11:30 AM, Julian J. M. <julianjm at gmail.com> wrote:
> > Sure, when the second server kicks in, it will use the synced AstDB..
> > And that's where asterisk stores registration info:
> >
> > CLI> database show SIP/Registry
> > /SIP/Registry/201                                 :
> > 10.200.0.201:5060: 3600:201:sip:201 at 10.200.0.201
> > /SIP/Registry/202                                 :
> > 10.200.0.202:2051:600:202:sip:202 at 10.200.0.202:2051;line=r8a9j9qd
> > /SIP/Registry/203                                 :
> > 10.200.0.203:5060:3600:203:sip:203 at 10.200.0.203:5060;user=phone
> >
> > Dundi is great when you have an active-active scenario (with two or
> > more servers), in which extensions can be registered on any server
> > (load balancing using DNS), and still be reachable from any other
> > extension (no matter where they are registered): If an extension is
> > not register locally do a DUNDi lookup.
> >
> > But in this case (active-passive) I think that having a single AstDB
> > is better... Also, if only one server is active at the same time, who
> > will you query with DUNDi? ;)
> >
> > Julián J. M.
> >
> >
> > On Jan 9, 2008 11:21 AM, Ricardo Carvalho < rjcarvalho at gmail.com> wrote:
> > > And should a synced AstDB database work to keep all phones registered in
> the
> > > second server?
> > > Wouldn't be preferred something like DUNDI or whatever?
> >

In this scenario, 2 servers working in active/Active way, how can I
pickup calls?
It's only possible to pickup calls on server that my phone is
registered, right? DUNDi can help with this?
I can create a extension to pickup and trasnfer calls between IAX channels?

Regards.



More information about the asterisk-ha-clustering mailing list