09-06-2016 11:56 AM - edited 06-04-2019 02:26 AM
Maybe this is not the right place to ask this. Ignore me if it is.
My company uses jabber as an internal IM.
I would like it if on a web-page, the presence state of the people mentioned on the page, is visible.
Currently there is an icon next to a person name, that when clicked, opens Jabber conversation with that person.
I would like to alter the icon, based on the presence state.
I don't actually control the web-server or pages, in fact I only inject JavaScript inside certain web-pages.
It's called a userscript.
I don't want to get involved in receiving or sending Jabber messages, they can use their client for that. I don't want the page to act upon presence status changes either.
So, I would like the page in the browser of someone using my script, to just collect the presence status of the people mentioned in the page.
I would not want to put my own user-name and password in the script to connect to the presence server, since the script is in clear text.
The page is coming from a web-server that knows/authenticates us, as we are part of the windows domain,
The PC also has a logged in Jabber client.
Is there a simple way to get just the presence of a number of people, at the time we load the page?
Thanks
Michel
09-06-2016 12:10 PM
Hello Michel,
Thanks for you query! From my knowledge I do think that this is possible, but this is not the right place to post. This is for the DevNet Sandbox, where you can reserve full environments for free! You could reserve a collaboration lab with IM & Presence to test this out!
dstaudt do you think you could get Michel in the right direction and forum?
Let us know if you have any questions!
Thanks!
Jacob
09-06-2016 12:59 PM
I should probably have asked this in:
Sorry.
09-07-2016 10:35 AM
No worries,
I can still help you find some help. Did you post your question in the other forum?
Thanks!
Jacob
09-08-2016 01:22 AM
Hi Jacob,
I just posted my question in the other forum.
I was looking a bit at the sample code provided even if that does much much more than what I want.
I can’t get it to work (connect to jabber cups server) yet and decided to take a trace to see what goes over the wire.
Over 300 packets ☺ back and forth between me and the cups.
Looks like it just tries 40 times.
Last 18 times cups server starts send connection reset.
Cheers,
Michel
Michel Hegeraat
Support Engineer
Dimension Data Belgium NV/SA
Tel: +32 2 790 31 24
Michel.Hegeraat@dimensiondata.com
Telecomlaan 5-7Diegem, Flemish Brabant, 1831, Belgium.
For more information, please go to www.dimensiondata.com<http://www.dimensiondata.com/>
<http://blog.dimensiondata.com/> <https://www.facebook.com/Dimension-Data-Belgium-200176619992830/> <https://www.linkedin.com/groups/7428110> <https://twitter.com/DimensionDataBE>
RPM Bruxelles/RPR Brussel - TVA/BTW BE0425.907.303
IBAN/Account number BE19 9490 0685 3812
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide