Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
userdoc:tt_distribute_events_xmpp_pubsub [2013/08/29 17:20] abelbeck [Configure Local Server1] |
userdoc:tt_distribute_events_xmpp_pubsub [2013/08/30 08:05] abelbeck [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 and message waiting indication (MWI) events between Asterisk servers. |
!!Note: AstLinux 1.1.3 or later is required!! | !!Note: AstLinux 1.1.3 or later is required!! | ||
Line 7: | Line 7: | ||
===== Configure Local Server1 ===== | ===== Configure Local Server1 ===== | ||
- | **Snippet - jabber.conf or xmpp.conf on Local Server1** | + | **Snippet - Asterisk '' |
[general] | [general] | ||
Line 44: | Line 44: | ||
{{: | {{: | ||
- | !!Tip -> | + | !!Tip -> |
- | **Snippet | + | !!Tip ->!! The firewall |
- | ; DEVICE_STATE hint example | + | **Snippet - '' |
+ | ; DEVICE_STATE hint example | ||
+ | [blf] | ||
+ | exten => 24, | ||
===== Configure Remote Server2 ===== | ===== Configure Remote Server2 ===== | ||
- | **Snippet - jabber.conf or xmpp.conf on Remote Server2** | + | **Snippet - Asterisk '' |
[general] | [general] | ||
Line 74: | Line 77: | ||
distribute_events=yes | distribute_events=yes | ||
- | **Snippet - extensions.conf on Remote Server2** | + | **Snippet - '' |
+ | |||
+ | ; DEVICE_STATE hint example | ||
+ | [blf_server1] | ||
+ | exten => 1024, | ||
+ | |||
+ | !!Note ->!! Only the **device state** (INUSE, NOT_INUSE, RINGING) of **" | ||
- | ; DEVICE_STATE hint example | + | 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. //(Request for working example.)// |