user-presence

Add MS Office communicator presence indicator into JSP

让人想犯罪 __ 提交于 2019-12-05 00:30:30
问题 I want to add MS Office communicator presence indicator into my Java Application(jsp). 回答1: If you're targeting the windows platform, the simplest way is to do everything client-side. As long as the clients are running IE, Office 2003 or above, and Communicator 2007 or above, you can use the NameCtrl ActiveX object that gets distributed with Office. The following code should get you started: <script> var sipUri = "your.contact@your.domain.com"; var nameCtrl = new ActiveXObject('Name.NameCtrl

How to Implement Pubnub Presence feature in Ruby

折月煮酒 提交于 2019-12-04 14:43:52
I was wondering how to implement user presence with PubNub in Rails apps, but I didn't find a complete guide to how to implement this feature in both server and client side. Stephen Blum PubNub Presence with Ruby and JavaScript Get started easily with PubNub Presence in Ruby and JavaScript by following this short guide which connects the state between the two PubNub SDKs. First you'll want to make sure you have the latest PubNub Ruby GEM client SDK install on your server. But before we get into the coding aspect we can talk about what PubNub Presence actually is. PubNub Presence Introduction

Add MS Office communicator presence indicator into JSP

混江龙づ霸主 提交于 2019-12-03 15:43:37
I want to add MS Office communicator presence indicator into my Java Application(jsp). If you're targeting the windows platform, the simplest way is to do everything client-side. As long as the clients are running IE, Office 2003 or above, and Communicator 2007 or above, you can use the NameCtrl ActiveX object that gets distributed with Office. The following code should get you started: <script> var sipUri = "your.contact@your.domain.com"; var nameCtrl = new ActiveXObject('Name.NameCtrl.1'); if (nameCtrl.PresenceEnabled) { nameCtrl.OnStatusChange = onStatusChange; nameCtrl.GetStatus(sipUri, "1

Change XMPPPresence to Away/Busy/Invisible

一笑奈何 提交于 2019-12-03 10:19:24
问题 How do you change your presence to show dnd/away and etc.? XMPPPresence *presence = [XMPPPresence presenceWithType:status]; [[[self appDelegate] xmppStream] sendElement:presence]; status is an NSString that I set to online/unavailable/away/busy/invisible. It only works when I go online and/or unavailable. Here's how it looks like after sending presence in my xmppStream : <presence type="away"><x xmlns="vcard-temp:x:update"><photo/></x></presence> 回答1: To change the status of your client you

Mobicents presence server. How to register softphone?

北战南征 提交于 2019-12-02 03:10:38
I have installed the Mobicents Presence server following the guide . The server is installed but now I am not able to proceed further. I mean now how to test the presence or register the devices with XDM, PS and RLS. How do I find on which port the services are running? I am able to see register messages received to the server but on the softphones request timeouts. Is there any documentation which I am missing? Please help. The Mobicents SIP Presence Server is not supported anymore. There is an issue on GitHub currently in development about presence. Take a look at: https://github.com

Ondisconnect is fired if app goes to background mode

与世无争的帅哥 提交于 2019-12-01 12:28:06
问题 I have the following code: func OnlineStatus(userID: String){ handle = Auth.auth().addStateDidChangeListener { (auth, user) in if let user = user { // User is signed in. self.UID = user.uid self.connectedRef.observe(.value, with: { snapshot in if let connected = snapshot.value as? Bool, connected { // print("############################ Connected") self.ref.child(self.UID!).child("OnlineStatus").setValue("ON") } else { // print("############################ Not connected") self.ref.child(self

Advice on implementing “presence” for a web site?

我的未来我决定 提交于 2019-12-01 11:09:45
Ideally, I'd like to find simple, lightweight code that allows all the web clients connected to my site to maintain real-time status of who else is currently online. I know ejabberd does this, but it also does a lot of other things, and I'd prefer a small code footprint so I can customize and understand its performance characteristics. I like the non-blocking aspect of node.js, and was wondering if there's an open source project that does all this logic. I'd also like to see a JavaScript implementation of maintaining this model on the client side. For real time status, use socket.io . Every

Advice on implementing “presence” for a web site?

女生的网名这么多〃 提交于 2019-12-01 08:33:27
问题 Ideally, I'd like to find simple, lightweight code that allows all the web clients connected to my site to maintain real-time status of who else is currently online. I know ejabberd does this, but it also does a lot of other things, and I'd prefer a small code footprint so I can customize and understand its performance characteristics. I like the non-blocking aspect of node.js, and was wondering if there's an open source project that does all this logic. I'd also like to see a JavaScript