1. Add link from /etc/init.d top openfire binary sudo ln -s /opt/openfire/bin/openfire /etc/init.d/openfire 2. Register the link with system to fire up openfire on start up update-rc.d openfire defaults Restart system and success!
XMPP
Setup openfire In Ubuntu 14.04
Port Open for installation of openfire : General Port 5269, 7777, 5229 http ports 9090 , 5222, 7070, 5262, 5275 https ports 9091, 5223, 7443, 5263, 5276 Installation steps for installing openfire In Ubuntu 14.04 — sudo apt-get update * If java is installed then …
How to Install and Configure Sparkweb
Sparkweb is web-based XMPP client used to connect to your XMPP server like Openfire. To install and configure sparkweb first of all you must have your openfire server installed and running successfully to achieve the goal. It can be used to test chat functionality, in Web browser. Sparkweb …
Get typing status of EditText in Android
You can determine whether the user is typing or not you have to create one CustomEditText class which extends to EditText. This type of functionality is widely used in Chat application. Here is a snippet of CustomEditText public class CustomTypingEditText extends CustomEditTextNormal implements TextWatcher { …
Openfire : Sending Push Notifications while recipient is offline
Problem : Sometimes push notifications are not sent while the recipient is offline. Chat Server : Openfire v4.0.4 Plugin : callbackonoffline Direct Download Link : https://www.igniterealtime.org/projects/openfire/plugins/callbackOnOffline.jar Readme.html : https://www.igniterealtime.org/projects/openfire/plugins-beta/callbackonoffline/readme.html Solution * To store messages, while the recipient is offline : Trigger — — Triggers `ofOffline` — …
Openfire offline notification through PHP
Question We have installed Openfire 3.10.2 on Ubuntu 12.04. Chat is working fine and for offline message management I have installed the CallbackOnOfflineplugin. When the recipient is offline, a url is called. The plugin loads the url from the plugin.callback_on_offline.url property, adds ‘to’ and ‘from’ …
Get last Last Logout details openfire using REST API
Problem :- We do have functionality for offline group push notification from server end. Application is open and go to the group message tab. Now send a message to the group so, other users of group will get message i sent. By closing (kill or …
Group Joining Xmpp : Getting all messages every-time after joined group.
Hello, After deep look on group joining method of XMPP, we found one solution is describe here: let objXmppStream = XMPPStream() let objGroup = “YourGroupname@YourXMPPHOST” let roomStorage = XMPPRoomMemoryStorage() let roomJID = XMPPJID.jidWithString(objGroup) let objXmppChatRoom = XMPPRoom(roomStorage: roomStorage, jid: roomJID, dispatchQueue: dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_LOW, 0)) objXmppChatRoom.activate(XMPPHelper.sharedInstance.objXmppStream) objXmppChatRoom.fetchConfigurationForm() let …
Openfire: Add user subscription status as “both”
Problem : Issue when i add user using RestApi include “vendor/autoload.php”; $api = new GidkomOpenFireRestApiOpenFireRestApi; $api->secret = “mySecretKey”; $api->host = “HostName”; $api->port = “9090”; $api->useSSL = false; $api->plugin = “/plugins/restapi/v1″; // plugin For adding user to Roster i am using following code $jid=”xyz@domainname”; //Add to …
Retrieve Last Logout timestamp for xmpp / openfire users
Overview : We are not able to find any plug-in in openfire for sending push notification to offline group members. Therefore, We have used cron job to send push notification and the cron job will run at every 10 seconds. The Cron job will have …