Current time: 11-26-2024, 03:40 PM Hello There, Guest! (LoginRegister)


Post Reply 
Configurable Notification via jabber
Author Message
Blondak Offline
Junior Member
*****
Dev Team

Posts: 84
Joined: May 2008
Reputation: 5
Post: #4
RE: Configurable Notification via jabber
Hi,
i wrote fast patch that add notofications via XMPP protocol, patch is created over current trunk, but can be easly ported to 1.0 version, only think you must setup is add folowing lines to /etc/ispcp/ispcp.conf

Code:
XMPP_MESSAGES = 1
XMPP_SERVER = address_of_server
XMPP_PORT = 5222
XMPP_USERNAME = user_name
XMPP_DOMAIN = user_domain
XMPP_PASSWORD = user_password
XMPP_RESOURCE = user_resource
XMPP_DESTINATION = destination_address
patch sends message like this
Code:
ispCP Log

   Server: xxx.example.com (aaa.aaa.aaa.aaa)
   Version: ispCP 1.0.0 OMEGA (20090225)

   Message: ----------------[BEGIN]--------------------------

   example.com logged in.
   User IP: xxx.xxx.xxx.xxx

   Message: ----------------[END]----------------------------


Attached File(s)
.patch  XMPP-notifications.patch (Size: 59.25 KB / Downloads: 5)
(This post was last modified: 07-04-2009 12:09 AM by Blondak.)
07-03-2009 11:55 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Configurable Notification via jabber - Blondak - 07-03-2009 11:55 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)