[asterisk-users] Dialplan question when using a round-robin

unserossi at aol.com unserossi at aol.com
Sun Jul 11 07:00:55 CDT 2010



 

 Hi all,

i have a question regarding the dialplan when using a DNS round robin for simple load balancing.

When i have 3 identically configured Asterisk servers and one DNS round robin populated to the clients

Server1
Server2      -> round robin voip.example.com
Server3

where all 3 servers are connected via an IAX2 trunk among each other, how can i determine within the dialplan on which of the servers a client is actually registered?

So when user A wants to call user B and user A is registered on server1 and user B is registered on server2, afaik the dialplan would need to look like

Dial(IAX2/server2/${EXTEN})  

But how can i determine on which physical server user B is registered?
Or is there an other, better way to achieve this? Maybe in replicating the registrations between all 3 servers?

Thanks in advance for advise.


 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100711/bba438c7/attachment.htm 


More information about the asterisk-users mailing list