Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Distributed Device States - Best Option


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
BryantZ at zktech.com
Guest





PostPosted: Sat Jun 27, 2015 11:29 am    Post subject: [asterisk-users] Distributed Device States - Best Option Reply with quote

We have used AIS for disturbed Device State in the past, BLF and MWI, We are in the process of an update on one of our clustered systems, We are looking at XMPP and I found a few discussions on a Corosync with has OpenAIS built in.

My question is which should I be looking at to replace my current AIS option I currently have. XMPP or Corosync?

It looks like the Corosync is just the AIS option more nicely packaged. Is XMPP a better solution as I grow my network? Are there down sides to XMPP that AIS/Corosync does better...

Can anyone recommend where I can find some up to date documentation that would cover up through Asterisk 13 on Distributed Device State.

Thanks for any feed back.

Bryant
Back to top
mjordan at digium.com
Guest





PostPosted: Tue Jun 30, 2015 8:42 am    Post subject: [asterisk-users] Distributed Device States - Best Option Reply with quote

On Sat, Jun 27, 2015 at 11:28 AM, Bryant Zimmerman <BryantZ@zktech.com> wrote:
Quote:
We have used AIS for disturbed Device State in the past, BLF and MWI, We are
in the process of an update on one of our clustered systems, We are looking
at XMPP and I found a few discussions on a Corosync with has OpenAIS built
in.

My question is which should I be looking at to replace my current AIS option
I currently have. XMPP or Corosync?

It looks like the Corosync is just the AIS option more nicely packaged. Is
XMPP a better solution as I grow my network? Are there down sides to XMPP
that AIS/Corosync does better...

Can anyone recommend where I can find some up to date documentation that
would cover up through Asterisk 13 on Distributed Device State.


I'd take the following as opinion, and not gospel. Most of the work
I've done setting up distributed device state in Asterisk has been
either for development or testing; for production anecdotes, you'd
probably want someone else's opinion.

Both Corosync and XMPP functionally work the same. That is, from the
perspective of Asterisk, there really isn't any difference. The
question than is one of deployment.

XMPP is rather easy to set up, but does require an XMPP server. This
introduces another component, and another point of failure, into your
system. If the XMPP server goes down, your Asterisk instances will
stop aggregating device state.

Corosync is generally harder to set up, but since it is a library used
by Asterisk on your system, there isn't another discrete component
that you have to maintain and run. The Asterisk instances themselves
are set up as a cluster, which means they are generally more "aware"
of the other instances existence.

All of that being said, there is a third option: use SIP.

Asterisk 13's PJSIP stack also has the ability to PUBLISH device state
and MWI information between Asterisk instances. The benefit of this is
- if you are using the PJSIP stack - there is no additional components
in Asterisk to configure beyond what you are already setting up.

More information on distributing device state and MWI can be found on the wiki:

XMPP: https://wiki.asterisk.org/wiki/display/AST/Distributed+Device+State+with+XMPP+PubSub
Corosync: https://wiki.asterisk.org/wiki/display/AST/Corosync
PJSIP: https://wiki.asterisk.org/wiki/display/AST/Exchanging+Device+and+Mailbox+State+Using+PJSIP


--
Matthew Jordan
Digium, Inc. | Director of Technology
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org

--
_____________________________________________________________________
-- 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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services