Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
userdoc:tt_distribute_events_xmpp_pubsub [2013/09/01 05:07] droemel [Configure Remote Server2] |
userdoc:tt_distribute_events_xmpp_pubsub [2013/09/01 05:30] (current) droemel [Configure Remote Server2] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Distribute Asterisk Events using XMPP PubSub ====== | ====== Distribute Asterisk Events using XMPP PubSub ====== | ||
- | On occasion it is desirable to distribute device state and message waiting indication (MWI) events between Asterisk servers. | + | On occasion it is desirable to distribute device state (e.g. BLF) and message waiting indication (MWI) events between Asterisk servers. This can be accomplished by utilizing XMPP PubSub events and a common XMPP server. The Asterisk XMPP clients are configured via either '' |
!!Note: AstLinux 1.1.3 or later is required!! | !!Note: AstLinux 1.1.3 or later is required!! | ||
Line 85: | Line 85: | ||
!!Note ->!! Only the **device state** (INUSE, NOT_INUSE, RINGING) of **" | !!Note ->!! Only the **device state** (INUSE, NOT_INUSE, RINGING) of **" | ||
- | Now you can simply create a BLF key on a phone on Server2 for " | + | Now you can simply create a BLF key on a phone on Server2 for " |
The Message Waiting Indication (MWI) events are also distributed across servers. For the above example you just need to add this to a phone in your '' | The Message Waiting Indication (MWI) events are also distributed across servers. For the above example you just need to add this to a phone in your '' | ||
Line 91: | Line 91: | ||
mailbox=24 | mailbox=24 | ||
| | ||
- | as if it were a local mailbox. You will need different mailbox numbers on each side, if you want to use the MWI feature. You can check the MWI status in the Asterisk CLI with: | + | as if it were a local mailbox. You will either |
event dump cache MWI | event dump cache MWI | ||