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

Allan Cassaro allan.cassaro at gmail.com
Fri Jan 11 06:06:15 CST 2008


> On Jan 9, 2008 3:12 PM, Allan Cassaro <allan.cassaro at gmail.com> wrote:
> > This is OK, but the Pickup() application works with DUNDi too!? If I
> > do a call pickup, asterisk/dundi will lookup on every node for ringing
> > extensions?
> > In some tests this doesn't work for me. The Pickup() application only
> > look localy for ringing (and hint) extensions...
> > You make tests with this scenario? You can pickup calls on remote nodes?!

On Jan 10, 2008 5:50 PM, Julian J. M. <julianjm at gmail.com> wrote:
> I don't think you can get remote hints working. What should happen
> when one extension is registered on several servers (as there is
> nothing forbiding that)?
>
> And Pickup, even if it could work accross servers, isn't that usefull
> without hints.
>
> Julian J. M.

Yes, it's possible to make one extension to register on several
servers... What happen with this? Well, I think it's not a (really)
problem, the phone will ring and the users can talk as usual.
I wrote some months ago a little script in python to make "remote
hints" (BLF) possible. So, if the extension on any node is
ring/ringing/busy/idle, the state of this extension is updated on
every node. So, with this I can implement the "presence" on GXP2000 or
Snom phones.
So, with this script, the Pickup accross servers is very usefull, and
necessary. Necessary because I can't know where users are
registered...

Imagine this:

"User A" is registered on "Server A"
"User B" is registered on "Server B"
The "User A" have BLF configured to get presence of "User B" and vice-versa.

So, when phone "B" is ringing, the "User A" know that, but can't
pickup the call This is my problem...

My scripts can be downloaded from:
http://allan.cassaro.googlepages.com/asterisk

Regards.



More information about the asterisk-ha-clustering mailing list