unserossi at aol.com
2010-Jul-11 12:00 UTC
[asterisk-users] Dialplan question when using a round-robin
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
Paul Belanger
2010-Jul-11 13:25 UTC
[asterisk-users] Dialplan question when using a round-robin
On Sun, Jul 11, 2010 at 8:00 AM, <unserossi at aol.com> wrote:> 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? >DUNDi is an options, same with DNS SRV records. -- Paul Belanger | dCAP Polybeacon | Consultant Jabber: paul.belanger at polybeacon.com | IRC: pabelanger (Freenode) blog.polybeacon.com
unserossi at aol.com
2010-Jul-11 15:09 UTC
[asterisk-users] Dialplan question when using a round-robin
> 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?>DUNDi is an options, same with DNS SRV records. -- Could you please give me some more info? Or is there a tutorial available somewhere? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100711/e97f084b/attachment.htm
Nasir Iqbal
2010-Jul-11 15:51 UTC
[asterisk-users] Dialplan question when using a round-robin
as a quick option you can use
Dial(IAX2/server1/${EXTEN}&IAX2/server2/${EXTEN}&IAX2/server3/${EXTEN})
call will connect to whichever is available & answer, others simply ignored!
On Sun, Jul 11, 2010 at 8:09 PM, <unserossi at aol.com> wrote:
> > 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?
>
>
> >
>
>
> DUNDi is an options, same with DNS SRV records.
>
>
> --
>
>
> Could you please give me some more info?
>
> Or is there a tutorial available somewhere?
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
> http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20100711/65ea3439/attachment.htm