userdoc:tt-xmpp-server

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
userdoc:tt-xmpp-server [2013/08/29 17:35]
abelbeck [PubSub Service]
userdoc:tt-xmpp-server [2013/09/01 16:43] (current)
droemel [XMPP Command Line Client]
Line 3: Line 3:
 AstLinux includes the [[http://prosody.im|Prosody]] [[wp>XMPP|XMPP (Jabber)]] server for secure Instant Messaging and Group Chats on AstLinux itself, no external provider or service is required. AstLinux includes the [[http://prosody.im|Prosody]] [[wp>XMPP|XMPP (Jabber)]] server for secure Instant Messaging and Group Chats on AstLinux itself, no external provider or service is required.
  
-In addition to providing XMPP services for local and remote clients, (iOS, Android, desktop PC's, etc.), Asterisk 11 and later can be an XMPP client offering additional benefits.  (See Notes below)+In addition to providing XMPP services for local and remote clients, (iOS, Android, desktop PC's, etc.), Asterisk can be an XMPP client offering additional benefits.  (See Notes below)
  
 !!Note: AstLinux 1.1.0 or later is required!! !!Note: AstLinux 1.1.0 or later is required!!
Line 58: Line 58:
 {{:userdoc:xmpp-pubsub.jpg?nolink|PubSub Service}} {{:userdoc:xmpp-pubsub.jpg?nolink|PubSub Service}}
  
-!!Tip ->!!  **[[tt_distribute_events_xmpp_pubsub|Distribute Asterisk Events using XMPP PubSub]]**+!!Tip ->!! See Also: **[[tt_distribute_events_xmpp_pubsub|Distribute Asterisk Events using XMPP PubSub]]**
 ==== Server-to-Server connections ==== ==== Server-to-Server connections ====
  
Line 109: Line 109:
 !!Note: AstLinux 1.1.1 or later is required!! !!Note: AstLinux 1.1.1 or later is required!!
  
-As an alternative to the non-working XMPP/Jabber implementation in Asterisk 1.8 (see note below)you can use the "''sendxmpp''" CLI XMPP client to send XMPP messages or get the XMPP status of Buddies from within the Asterisk dialplan via the "''System''" application or the "''SHELL''" function. This can be very useful in combination with the new SQL database functions (to get the specific JID).+For use in custom shell scripts or as an alternative to the XMPP/Jabber implementation in Asterisk (see note below) you can use the "''sendxmpp''" CLI XMPP client to send XMPP messages or get the XMPP status of Buddies from within the Asterisk dialplan via the "''System''" application or the "''SHELL''" function. This can be very useful in combination with the new SQL database functions (to get the specific JID).
  
 Examples: Examples:
Line 124: Line 124:
 For more information, from the CLI type: For more information, from the CLI type:
   sendxmpp --help   sendxmpp --help
 +
 +Example ''/mnt/kd/clix.conf'' configuration file used by ''sendxmpp'':
 +
 +  [default]
 +  jid=user@example.com
 +  password=secret
  
 ==== Notes: ==== ==== Notes: ====
Line 129: Line 135:
   * Depending on your setup you may need to open the related TCP port(s) on your firewall, to allow clients/servers to connect.   * Depending on your setup you may need to open the related TCP port(s) on your firewall, to allow clients/servers to connect.
  
-  * Asterisk 1.4 + 1.8 (currently) do not work as XMPP/Jabber client with Prosody, they **crash instantaneously**, Asterisk 11 works fine, it has a new (working) XMPP implementation.+  * Asterisk 1.4 + 1.8 (res_jabberand !!AstLinux 1.1.0->1.1.2!! do not work as an XMPP/Jabber client with Prosody, they crash instantaneously, Asterisk 11 works fine, it has a new XMPP implementation.  Fortunately, !!AstLinux 1.1.3 or later!! works with both Asterisk 1.8 (res_jabber) and Asterisk 11 (res_xmpp).
  • userdoc/tt-xmpp-server.1377815752.txt.gz
  • Last modified: 2013/08/29 17:35
  • by abelbeck