Commit dbf7a059 authored by Leon Roy's avatar Leon Roy Committed by leonroy

monitoring plugin integrating Jive Monitoring Plugin and Stefan Reuter's Open...

monitoring plugin integrating Jive Monitoring Plugin and Stefan Reuter's Open Archive plugin to give both XEP-0136 support and group as well as individual chat archiving.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/branches/plugins@13316 b35dd754-fafc-0310-a699-88a17e54d16e
parent 1e146cd2
Get List of messages:
<iq type='get' id='id-gyzza'>
<list xmlns='urn:xmpp:archive'>
<set xmlns='http://jabber.org/protocol/rsm'>
<max>30</max>
</set>
</list>
</iq>
Goes to:
com.reucon.openfire.plugin.archive.xep0136.IQListHandler.handleIQ
Get conversation:
<iq type='get' id='id-gyzzb'>
<retrieve xmlns='urn:xmpp:archive' with='andy@derek.gltd.local'
start='2011-08-17T16:30:49.280Z'>
<set xmlns='http://jabber.org/protocol/rsm'>
<max>100</max>
</set>
</retrieve>
</iq>
Goes to:
com.reucon.openfire.plugin.archive.xep0136.IQRetrieveHandler.handleIQ
SQL sample select:
SELECT
gtmsConversation.conversationID,
gtmsConversation.room,
gtmsConversation.isExternal,
gtmsConversation.startDate,
gtmsConversation.lastActivity,
gtmsConversation.messageCount,
gtmsConParticipant.joinedDate,
gtmsConParticipant.leftDate,
gtmsConParticipant.bareJID,
gtmsConParticipant.jidResource,
gtmsConParticipant.nickname,
gtmsMessageArchive.fromJID,
gtmsMessageArchive.toJID,
gtmsMessageArchive.sentDate,
gtmsMessageArchive.body
FROM gtmsConversation, gtmsConParticipant, gtmsMessageArchive
INNER JOIN gtmsConParticipant ON gtmsConversation.conversationID = gtmsConParticipant.conversationID
INNER JOIN gtmsMessageArchive ON gtmsConParticipant.conversationID = gtmsMessageArchive.conversationID;
\ No newline at end of file
SELECT DISTINCT
conversationId, startTime, endTime, ownerJid, ownerResource, withJid, withResource, subject, thread,
participantid, jid, nick,
messageId, time, direction, type, subject, body
FROM archiveConversations
INNER JOIN archiveParticipants ON archiveConversations.conversationId = archiveParticipants.conversationId
INNER JOIN archiveMessages ON archiveParticipants.conversationId = archiveMessages.conversationId ;
CONVERSATIONID STARTTIME ENDTIME OWNERJID OWNERRESOURCE WITHJID WITHRESOURCE SUBJECT THREAD PARTICIPANTID JID NICK MESSAGEID TIME DIRECTION TYPE SUBJECT BODY
-------------- ------------- ------------- --------------------- ------------- --------------------- ------------ ------- ------ ------------- --------------------- ------ --------- ------------- --------- ---- ------- --------------------------
1 1313598616375 1313598733462 andy@derek.gltd.local [null] leon@derek.gltd.local Spark 2.6.3 [null] 8xTCGT 1 andy@derek.gltd.local [null] 1 1313598616375 from chat [null] wotcha
1 1313598616375 1313598733462 andy@derek.gltd.local [null] leon@derek.gltd.local Spark 2.6.3 [null] 8xTCGT 1 andy@derek.gltd.local [null] 3 1313598696092 from chat [null] wotcha you
1 1313598616375 1313598733462 andy@derek.gltd.local [null] leon@derek.gltd.local Spark 2.6.3 [null] 8xTCGT 1 andy@derek.gltd.local [null] 5 1313598733462 from chat [null] wotcha you again
1 1313598616375 1313598733462 andy@derek.gltd.local [null] leon@derek.gltd.local Spark 2.6.3 [null] 8xTCGT 2 leon@derek.gltd.local [null] 1 1313598616375 from chat [null] wotcha
1 1313598616375 1313598733462 andy@derek.gltd.local [null] leon@derek.gltd.local Spark 2.6.3 [null] 8xTCGT 2 leon@derek.gltd.local [null] 3 1313598696092 from chat [null] wotcha you
1 1313598616375 1313598733462 andy@derek.gltd.local [null] leon@derek.gltd.local Spark 2.6.3 [null] 8xTCGT 2 leon@derek.gltd.local [null] 5 1313598733462 from chat [null] wotcha you again
2 1313598649280 1313598735837 leon@derek.gltd.local Spark 2.6.3 andy@derek.gltd.local [null] [null] 8xTCGT 3 leon@derek.gltd.local [null] 2 1313598649280 to chat [null] wotcha
2 1313598649280 1313598735837 leon@derek.gltd.local Spark 2.6.3 andy@derek.gltd.local [null] [null] 8xTCGT 3 leon@derek.gltd.local [null] 4 1313598698104 to chat [null] wotcha you
2 1313598649280 1313598735837 leon@derek.gltd.local Spark 2.6.3 andy@derek.gltd.local [null] [null] 8xTCGT 3 leon@derek.gltd.local [null] 6 1313598735837 to chat [null] wotcha you again
2 1313598649280 1313598735837 leon@derek.gltd.local Spark 2.6.3 andy@derek.gltd.local [null] [null] 8xTCGT 4 andy@derek.gltd.local [null] 2 1313598649280 to chat [null] wotcha
2 1313598649280 1313598735837 leon@derek.gltd.local Spark 2.6.3 andy@derek.gltd.local [null] [null] 8xTCGT 4 andy@derek.gltd.local [null] 4 1313598698104 to chat [null] wotcha you
2 1313598649280 1313598735837 leon@derek.gltd.local Spark 2.6.3 andy@derek.gltd.local [null] [null] 8xTCGT 4 andy@derek.gltd.local [null] 6 1313598735837 to chat [null] wotcha you again
3 1313599020301 1313599020301 leon@derek.gltd.local [null] andy@derek.gltd.local Spark 2.6.3 [null] Q5t6nB 5 leon@derek.gltd.local [null] 7 1313599020301 from chat [null] hola again
3 1313599020301 1313599020301 leon@derek.gltd.local [null] andy@derek.gltd.local Spark 2.6.3 [null] Q5t6nB 6 andy@derek.gltd.local [null] 7 1313599020301 from chat [null] hola again
4 1313599026395 1313599026395 andy@derek.gltd.local Spark 2.6.3 leon@derek.gltd.local [null] [null] Q5t6nB 7 andy@derek.gltd.local [null] 8 1313599026395 to chat [null] hola again
4 1313599026395 1313599026395 andy@derek.gltd.local Spark 2.6.3 leon@derek.gltd.local [null] [null] Q5t6nB 8 leon@derek.gltd.local [null] 8 1313599026395 to chat [null] hola again
5 1313599041768 1313599041768 andy@derek.gltd.local Spark 2.6.3 leon@derek.gltd.local Spark 2.6.3 [null] mRG93E 9 andy@derek.gltd.local [null] 9 1313599041768 from chat [null] yep?
5 1313599041768 1313599041768 andy@derek.gltd.local Spark 2.6.3 leon@derek.gltd.local Spark 2.6.3 [null] mRG93E 10 leon@derek.gltd.local [null] 9 1313599041768 from chat [null] yep?
6 1313599046418 1313599046418 leon@derek.gltd.local Spark 2.6.3 andy@derek.gltd.local Spark 2.6.3 [null] mRG93E 11 leon@derek.gltd.local [null] 10 1313599046418 to chat [null] yep?
6 1313599046418 1313599046418 leon@derek.gltd.local Spark 2.6.3 andy@derek.gltd.local Spark 2.6.3 [null] mRG93E 12 andy@derek.gltd.local [null] 10 1313599046418 to chat [null] yep?
7 1313663357850 1313663357850 leon@derek.gltd.local [null] andy@derek.gltd.local Spark 2.6.3 [null] 59Mzsw 13 leon@derek.gltd.local [null] 11 1313663357850 from chat [null] yo
7 1313663357850 1313663357850 leon@derek.gltd.local [null] andy@derek.gltd.local Spark 2.6.3 [null] 59Mzsw 14 andy@derek.gltd.local [null] 11 1313663357850 from chat [null] yo
8 1313663366326 1313663366326 andy@derek.gltd.local Spark 2.6.3 leon@derek.gltd.local [null] [null] 59Mzsw 15 andy@derek.gltd.local [null] 12 1313663366326 to chat [null] yo
8 1313663366326 1313663366326 andy@derek.gltd.local Spark 2.6.3 leon@derek.gltd.local [null] [null] 59Mzsw 16 leon@derek.gltd.local [null] 12 1313663366326 to chat [null] yo
9 1315925172612 1315925208656 andy@derek.gltd.local [null] leon@derek.gltd.local Spark 2.6.3 [null] 64Kx9e 17 andy@derek.gltd.local [null] 13 1315925172612 from chat [null] hi andy
9 1315925172612 1315925208656 andy@derek.gltd.local [null] leon@derek.gltd.local Spark 2.6.3 [null] 64Kx9e 17 andy@derek.gltd.local [null] 17 1315925195800 from chat [null] how you been andy?
9 1315925172612 1315925208656 andy@derek.gltd.local [null] leon@derek.gltd.local Spark 2.6.3 [null] 64Kx9e 17 andy@derek.gltd.local [null] 23 1315925208656 from chat [null] alright, andy, I'll see ya
9 1315925172612 1315925208656 andy@derek.gltd.local [null] leon@derek.gltd.local Spark 2.6.3 [null] 64Kx9e 18 leon@derek.gltd.local [null] 13 1315925172612 from chat [null] hi andy
9 1315925172612 1315925208656 andy@derek.gltd.local [null] leon@derek.gltd.local Spark 2.6.3 [null] 64Kx9e 18 leon@derek.gltd.local [null] 17 1315925195800 from chat [null] how you been andy?
9 1315925172612 1315925208656 andy@derek.gltd.local [null] leon@derek.gltd.local Spark 2.6.3 [null] 64Kx9e 18 leon@derek.gltd.local [null] 23 1315925208656 from chat [null] alright, andy, I'll see ya
10 1315925172676 1315925208659 leon@derek.gltd.local Spark 2.6.3 andy@derek.gltd.local [null] [null] 64Kx9e 19 leon@derek.gltd.local [null] 14 1315925172676 to chat [null] hi andy
10 1315925172676 1315925208659 leon@derek.gltd.local Spark 2.6.3 andy@derek.gltd.local [null] [null] 64Kx9e 19 leon@derek.gltd.local [null] 18 1315925195803 to chat [null] how you been andy?
10 1315925172676 1315925208659 leon@derek.gltd.local Spark 2.6.3 andy@derek.gltd.local [null] [null] 64Kx9e 19 leon@derek.gltd.local [null] 24 1315925208659 to chat [null] alright, andy, I'll see ya
10 1315925172676 1315925208659 leon@derek.gltd.local Spark 2.6.3 andy@derek.gltd.local [null] [null] 64Kx9e 20 andy@derek.gltd.local [null] 14 1315925172676 to chat [null] hi andy
10 1315925172676 1315925208659 leon@derek.gltd.local Spark 2.6.3 andy@derek.gltd.local [null] [null] 64Kx9e 20 andy@derek.gltd.local [null] 18 1315925195803 to chat [null] how you been andy?
10 1315925172676 1315925208659 leon@derek.gltd.local Spark 2.6.3 andy@derek.gltd.local [null] [null] 64Kx9e 20 andy@derek.gltd.local [null] 24 1315925208659 to chat [null] alright, andy, I'll see ya
11 1315925188145 1315925212225 leon@derek.gltd.local Spark 2.6.3 andy@derek.gltd.local spark [null] 1F6bqD 21 leon@derek.gltd.local [null] 15 1315925188145 from chat [null] hi leon
11 1315925188145 1315925212225 leon@derek.gltd.local Spark 2.6.3 andy@derek.gltd.local spark [null] 1F6bqD 21 leon@derek.gltd.local [null] 19 1315925198905 from chat [null] good leon
11 1315925188145 1315925212225 leon@derek.gltd.local Spark 2.6.3 andy@derek.gltd.local spark [null] 1F6bqD 21 leon@derek.gltd.local [null] 21 1315925202457 from chat [null] i gotta head off mate
11 1315925188145 1315925212225 leon@derek.gltd.local Spark 2.6.3 andy@derek.gltd.local spark [null] 1F6bqD 21 leon@derek.gltd.local [null] 25 1315925212225 from chat [null] bye leon
11 1315925188145 1315925212225 leon@derek.gltd.local Spark 2.6.3 andy@derek.gltd.local spark [null] 1F6bqD 22 andy@derek.gltd.local [null] 15 1315925188145 from chat [null] hi leon
11 1315925188145 1315925212225 leon@derek.gltd.local Spark 2.6.3 andy@derek.gltd.local spark [null] 1F6bqD 22 andy@derek.gltd.local [null] 19 1315925198905 from chat [null] good leon
11 1315925188145 1315925212225 leon@derek.gltd.local Spark 2.6.3 andy@derek.gltd.local spark [null] 1F6bqD 22 andy@derek.gltd.local [null] 21 1315925202457 from chat [null] i gotta head off mate
11 1315925188145 1315925212225 leon@derek.gltd.local Spark 2.6.3 andy@derek.gltd.local spark [null] 1F6bqD 22 andy@derek.gltd.local [null] 25 1315925212225 from chat [null] bye leon
12 1315925188151 1315925212227 andy@derek.gltd.local spark leon@derek.gltd.local Spark 2.6.3 [null] 1F6bqD 23 andy@derek.gltd.local [null] 16 1315925188151 to chat [null] hi leon
12 1315925188151 1315925212227 andy@derek.gltd.local spark leon@derek.gltd.local Spark 2.6.3 [null] 1F6bqD 23 andy@derek.gltd.local [null] 20 1315925198907 to chat [null] good leon
12 1315925188151 1315925212227 andy@derek.gltd.local spark leon@derek.gltd.local Spark 2.6.3 [null] 1F6bqD 23 andy@derek.gltd.local [null] 22 1315925202459 to chat [null] i gotta head off mate
12 1315925188151 1315925212227 andy@derek.gltd.local spark leon@derek.gltd.local Spark 2.6.3 [null] 1F6bqD 23 andy@derek.gltd.local [null] 26 1315925212227 to chat [null] bye leon
12 1315925188151 1315925212227 andy@derek.gltd.local spark leon@derek.gltd.local Spark 2.6.3 [null] 1F6bqD 24 leon@derek.gltd.local [null] 16 1315925188151 to chat [null] hi leon
12 1315925188151 1315925212227 andy@derek.gltd.local spark leon@derek.gltd.local Spark 2.6.3 [null] 1F6bqD 24 leon@derek.gltd.local [null] 20 1315925198907 to chat [null] good leon
12 1315925188151 1315925212227 andy@derek.gltd.local spark leon@derek.gltd.local Spark 2.6.3 [null] 1F6bqD 24 leon@derek.gltd.local [null] 22 1315925202459 to chat [null] i gotta head off mate
12 1315925188151 1315925212227 andy@derek.gltd.local spark leon@derek.gltd.local Spark 2.6.3 [null] 1F6bqD 24 leon@derek.gltd.local [null] 26 1315925212227 to chat [null] bye leon
DELETE FROM ofVersion WHERE name = 'monitoring';
DROP TABLE ofConversation ;
DROP TABLE ofConParticipant;
DROP TABLE ofMessageArchive;
DROP TABLE ofRRDs;
DELETE FROM ofVersion WHERE name = 'monitoring2';
DROP TABLE gtmsConversation ;
DROP TABLE gtmsConParticipant;
DROP TABLE gtmsMessageArchive;
DROP TABLE gtmsRRDs;
SELECT DISTINCT
gtmsConversation.conversationID,
gtmsConversation.room,
gtmsConversation.isExternal,
gtmsConversation.startDate,
gtmsConversation.lastActivity,
gtmsConversation.messageCount,
gtmsConParticipant.joinedDate,
gtmsConParticipant.leftDate,
gtmsConParticipant.bareJID,
gtmsConParticipant.jidResource,
gtmsConParticipant.nickname,
gtmsMessageArchive.fromJID,
gtmsMessageArchive.fromJIDResource,
gtmsMessageArchive.toJID,
gtmsMessageArchive.toJIDResource,
gtmsMessageArchive.sentDate,
gtmsMessageArchive.body
FROM gtmsConversation
INNER JOIN gtmsConParticipant ON gtmsConversation.conversationID = gtmsConParticipant.conversationID
INNER JOIN gtmsMessageArchive ON gtmsConParticipant.conversationID = gtmsMessageArchive.conversationID;
CONVERSATIONID ROOM ISEXTERNAL STARTDATE LASTACTIVITY MESSAGECOUNT JOINEDDATE LEFTDATE BAREJID JIDRESOURCE NICKNAME FROMJID FROMJIDRESOURCE TOJID TOJIDRESOURCE SENTDATE BODY
-------------- --------------------------------------- ---------- ------------- ------------- ------------ ------------- ------------- ----------------------- ----------- -------- ----------------------- --------------- --------------------------------------- ------------- ------------- ------------------------------------------------
9 [null] 0 1315919862033 1315920465881 12 1315919862033 andy@derek.gltd.local spark [null] andy@derek.gltd.local spark leon@derek.gltd.local Spark 2.6.3 1315919876168 this chat stuff is great, isn't it leon?
9 [null] 0 1315919862033 1315920465881 12 1315919862033 andy@derek.gltd.local spark [null] andy@derek.gltd.local spark leon@derek.gltd.local Spark 2.6.3 1315919885711 alright I'm off leon
9 [null] 0 1315919862033 1315920465881 12 1315919862033 andy@derek.gltd.local spark [null] andy@derek.gltd.local spark leon@derek.gltd.local Spark 2.6.3 1315919950690 by leon
9 [null] 0 1315919862033 1315920465881 12 1315919862033 andy@derek.gltd.local spark [null] andy@derek.gltd.local spark leon@derek.gltd.local Spark 2.6.3 1315919958745 bye i mean
9 [null] 0 1315919862033 1315920465881 12 1315919862033 andy@derek.gltd.local spark [null] andy@derek.gltd.local spark leon@derek.gltd.local Spark 2.6.3 1315920463002 let's make this a group chat
9 [null] 0 1315919862033 1315920465881 12 1315919862033 andy@derek.gltd.local spark [null] leon@derek.gltd.local Spark 2.6.3 andy@derek.gltd.local spark 1315919866150 hello andy
9 [null] 0 1315919862033 1315920465881 12 1315919862033 andy@derek.gltd.local spark [null] leon@derek.gltd.local Spark 2.6.3 andy@derek.gltd.local spark 1315919881032 yes it is andy
9 [null] 0 1315919862033 1315920465881 12 1315919862033 andy@derek.gltd.local spark [null] leon@derek.gltd.local Spark 2.6.3 andy@derek.gltd.local spark 1315919889015 bye andy
9 [null] 0 1315919862033 1315920465881 12 1315919862033 andy@derek.gltd.local spark [null] leon@derek.gltd.local Spark 2.6.3 andy@derek.gltd.local spark 1315920455737 andy, andy
9 [null] 0 1315919862033 1315920465881 12 1315919862033 andy@derek.gltd.local spark [null] leon@derek.gltd.local Spark 2.6.3 andy@derek.gltd.local spark 1315920465881 ok
9 [null] 0 1315919862033 1315920465881 12 1315919862033 leon@derek.gltd.local [null] andy@derek.gltd.local spark leon@derek.gltd.local Spark 2.6.3 1315919876168 this chat stuff is great, isn't it leon?
9 [null] 0 1315919862033 1315920465881 12 1315919862033 leon@derek.gltd.local [null] andy@derek.gltd.local spark leon@derek.gltd.local Spark 2.6.3 1315919885711 alright I'm off leon
9 [null] 0 1315919862033 1315920465881 12 1315919862033 leon@derek.gltd.local [null] andy@derek.gltd.local spark leon@derek.gltd.local Spark 2.6.3 1315919950690 by leon
9 [null] 0 1315919862033 1315920465881 12 1315919862033 leon@derek.gltd.local [null] andy@derek.gltd.local spark leon@derek.gltd.local Spark 2.6.3 1315919958745 bye i mean
9 [null] 0 1315919862033 1315920465881 12 1315919862033 leon@derek.gltd.local [null] andy@derek.gltd.local spark leon@derek.gltd.local Spark 2.6.3 1315920463002 let's make this a group chat
9 [null] 0 1315919862033 1315920465881 12 1315919862033 leon@derek.gltd.local [null] leon@derek.gltd.local Spark 2.6.3 andy@derek.gltd.local spark 1315919866150 hello andy
9 [null] 0 1315919862033 1315920465881 12 1315919862033 leon@derek.gltd.local [null] leon@derek.gltd.local Spark 2.6.3 andy@derek.gltd.local spark 1315919881032 yes it is andy
9 [null] 0 1315919862033 1315920465881 12 1315919862033 leon@derek.gltd.local [null] leon@derek.gltd.local Spark 2.6.3 andy@derek.gltd.local spark 1315919889015 bye andy
9 [null] 0 1315919862033 1315920465881 12 1315919862033 leon@derek.gltd.local [null] leon@derek.gltd.local Spark 2.6.3 andy@derek.gltd.local spark 1315920455737 andy, andy
9 [null] 0 1315919862033 1315920465881 12 1315919862033 leon@derek.gltd.local [null] leon@derek.gltd.local Spark 2.6.3 andy@derek.gltd.local spark 1315920465881 ok
10 leonsplace@conference.derek.gltd.local 0 1315920389261 1315920431704 5 1315920389261 1315920435991 leon@derek.gltd.local Spark 2.6.3 leon andy@derek.gltd.local spark leonsplace@conference.derek.gltd.local andy 1315920389262 alright everyone
10 leonsplace@conference.derek.gltd.local 0 1315920389261 1315920431704 5 1315920389261 1315920435991 leon@derek.gltd.local Spark 2.6.3 leon andy@derek.gltd.local spark leonsplace@conference.derek.gltd.local andy 1315920415432 thanks, let's see what this archives eh leon?
10 leonsplace@conference.derek.gltd.local 0 1315920389261 1315920431704 5 1315920389261 1315920435991 leon@derek.gltd.local Spark 2.6.3 leon leon@derek.gltd.local Spark 2.6.3 leonsplace@conference.derek.gltd.local leon 1315920393992 hi andy, leon here
10 leonsplace@conference.derek.gltd.local 0 1315920389261 1315920431704 5 1315920389261 1315920435991 leon@derek.gltd.local Spark 2.6.3 leon leon@derek.gltd.local Spark 2.6.3 leonsplace@conference.derek.gltd.local leon 1315920400368 welcome to my place
10 leonsplace@conference.derek.gltd.local 0 1315920389261 1315920431704 5 1315920389261 1315920435991 leon@derek.gltd.local Spark 2.6.3 leon leon@derek.gltd.local Spark 2.6.3 leonsplace@conference.derek.gltd.local leon 1315920431704 absolutely andy
10 leonsplace@conference.derek.gltd.local 0 1315920389261 1315920431704 5 1315920389261 1315920438950 andy@derek.gltd.local spark andy andy@derek.gltd.local spark leonsplace@conference.derek.gltd.local andy 1315920389262 alright everyone
10 leonsplace@conference.derek.gltd.local 0 1315920389261 1315920431704 5 1315920389261 1315920438950 andy@derek.gltd.local spark andy andy@derek.gltd.local spark leonsplace@conference.derek.gltd.local andy 1315920415432 thanks, let's see what this archives eh leon?
10 leonsplace@conference.derek.gltd.local 0 1315920389261 1315920431704 5 1315920389261 1315920438950 andy@derek.gltd.local spark andy leon@derek.gltd.local Spark 2.6.3 leonsplace@conference.derek.gltd.local leon 1315920393992 hi andy, leon here
10 leonsplace@conference.derek.gltd.local 0 1315920389261 1315920431704 5 1315920389261 1315920438950 andy@derek.gltd.local spark andy leon@derek.gltd.local Spark 2.6.3 leonsplace@conference.derek.gltd.local leon 1315920400368 welcome to my place
10 leonsplace@conference.derek.gltd.local 0 1315920389261 1315920431704 5 1315920389261 1315920438950 andy@derek.gltd.local spark andy leon@derek.gltd.local Spark 2.6.3 leonsplace@conference.derek.gltd.local leon 1315920431704 absolutely andy
11 andy_ahc@conference.derek.gltd.local 0 1315921080747 1315921128935 9 1315921080747 1315921101962 oliver@derek.gltd.local Spark 2.6.3 oliver andy@derek.gltd.local spark andy_ahc@conference.derek.gltd.local andy 1315921097870 bye ollie
11 andy_ahc@conference.derek.gltd.local 0 1315921080747 1315921128935 9 1315921080747 1315921101962 oliver@derek.gltd.local Spark 2.6.3 oliver andy@derek.gltd.local spark andy_ahc@conference.derek.gltd.local andy 1315921128935 bye
11 andy_ahc@conference.derek.gltd.local 0 1315921080747 1315921128935 9 1315921080747 1315921101962 oliver@derek.gltd.local Spark 2.6.3 oliver leon@derek.gltd.local Spark 2.6.3 andy_ahc@conference.derek.gltd.local leon 1315921094375 by ollie
11 andy_ahc@conference.derek.gltd.local 0 1315921080747 1315921128935 9 1315921080747 1315921101962 oliver@derek.gltd.local Spark 2.6.3 oliver leon@derek.gltd.local Spark 2.6.3 andy_ahc@conference.derek.gltd.local leon 1315921124199 i gotta go too
11 andy_ahc@conference.derek.gltd.local 0 1315921080747 1315921128935 9 1315921080747 1315921101962 oliver@derek.gltd.local Spark 2.6.3 oliver leon@derek.gltd.local Spark 2.6.3 andy_ahc@conference.derek.gltd.local leon 1315921126384 bye andy
11 andy_ahc@conference.derek.gltd.local 0 1315921080747 1315921128935 9 1315921080747 1315921101962 oliver@derek.gltd.local Spark 2.6.3 oliver oliver@derek.gltd.local Spark 2.6.3 andy_ahc@conference.derek.gltd.local oliver 1315921080748 hello everybody
11 andy_ahc@conference.derek.gltd.local 0 1315921080747 1315921128935 9 1315921080747 1315921101962 oliver@derek.gltd.local Spark 2.6.3 oliver oliver@derek.gltd.local Spark 2.6.3 andy_ahc@conference.derek.gltd.local oliver 1315921087547 andy thanks for inviting me to your private chat
11 andy_ahc@conference.derek.gltd.local 0 1315921080747 1315921128935 9 1315921080747 1315921101962 oliver@derek.gltd.local Spark 2.6.3 oliver oliver@derek.gltd.local Spark 2.6.3 andy_ahc@conference.derek.gltd.local oliver 1315921089539 i gotta go
11 andy_ahc@conference.derek.gltd.local 0 1315921080747 1315921128935 9 1315921080747 1315921101962 oliver@derek.gltd.local Spark 2.6.3 oliver oliver@derek.gltd.local Spark 2.6.3 andy_ahc@conference.derek.gltd.local oliver 1315921090628 bye all
11 andy_ahc@conference.derek.gltd.local 0 1315921080747 1315921128935 9 1315921080747 1315921132677 leon@derek.gltd.local Spark 2.6.3 leon andy@derek.gltd.local spark andy_ahc@conference.derek.gltd.local andy 1315921097870 bye ollie
11 andy_ahc@conference.derek.gltd.local 0 1315921080747 1315921128935 9 1315921080747 1315921132677 leon@derek.gltd.local Spark 2.6.3 leon andy@derek.gltd.local spark andy_ahc@conference.derek.gltd.local andy 1315921128935 bye
11 andy_ahc@conference.derek.gltd.local 0 1315921080747 1315921128935 9 1315921080747 1315921132677 leon@derek.gltd.local Spark 2.6.3 leon leon@derek.gltd.local Spark 2.6.3 andy_ahc@conference.derek.gltd.local leon 1315921094375 by ollie
11 andy_ahc@conference.derek.gltd.local 0 1315921080747 1315921128935 9 1315921080747 1315921132677 leon@derek.gltd.local Spark 2.6.3 leon leon@derek.gltd.local Spark 2.6.3 andy_ahc@conference.derek.gltd.local leon 1315921124199 i gotta go too
11 andy_ahc@conference.derek.gltd.local 0 1315921080747 1315921128935 9 1315921080747 1315921132677 leon@derek.gltd.local Spark 2.6.3 leon leon@derek.gltd.local Spark 2.6.3 andy_ahc@conference.derek.gltd.local leon 1315921126384 bye andy
11 andy_ahc@conference.derek.gltd.local 0 1315921080747 1315921128935 9 1315921080747 1315921132677 leon@derek.gltd.local Spark 2.6.3 leon oliver@derek.gltd.local Spark 2.6.3 andy_ahc@conference.derek.gltd.local oliver 1315921080748 hello everybody
11 andy_ahc@conference.derek.gltd.local 0 1315921080747 1315921128935 9 1315921080747 1315921132677 leon@derek.gltd.local Spark 2.6.3 leon oliver@derek.gltd.local Spark 2.6.3 andy_ahc@conference.derek.gltd.local oliver 1315921087547 andy thanks for inviting me to your private chat
11 andy_ahc@conference.derek.gltd.local 0 1315921080747 1315921128935 9 1315921080747 1315921132677 leon@derek.gltd.local Spark 2.6.3 leon oliver@derek.gltd.local Spark 2.6.3 andy_ahc@conference.derek.gltd.local oliver 1315921089539 i gotta go
11 andy_ahc@conference.derek.gltd.local 0 1315921080747 1315921128935 9 1315921080747 1315921132677 leon@derek.gltd.local Spark 2.6.3 leon oliver@derek.gltd.local Spark 2.6.3 andy_ahc@conference.derek.gltd.local oliver 1315921090628 bye all
11 andy_ahc@conference.derek.gltd.local 0 1315921080747 1315921128935 9 1315921080747 1315921134883 andy@derek.gltd.local spark andy andy@derek.gltd.local spark andy_ahc@conference.derek.gltd.local andy 1315921097870 bye ollie
11 andy_ahc@conference.derek.gltd.local 0 1315921080747 1315921128935 9 1315921080747 1315921134883 andy@derek.gltd.local spark andy andy@derek.gltd.local spark andy_ahc@conference.derek.gltd.local andy 1315921128935 bye
11 andy_ahc@conference.derek.gltd.local 0 1315921080747 1315921128935 9 1315921080747 1315921134883 andy@derek.gltd.local spark andy leon@derek.gltd.local Spark 2.6.3 andy_ahc@conference.derek.gltd.local leon 1315921094375 by ollie
11 andy_ahc@conference.derek.gltd.local 0 1315921080747 1315921128935 9 1315921080747 1315921134883 andy@derek.gltd.local spark andy leon@derek.gltd.local Spark 2.6.3 andy_ahc@conference.derek.gltd.local leon 1315921124199 i gotta go too
11 andy_ahc@conference.derek.gltd.local 0 1315921080747 1315921128935 9 1315921080747 1315921134883 andy@derek.gltd.local spark andy leon@derek.gltd.local Spark 2.6.3 andy_ahc@conference.derek.gltd.local leon 1315921126384 bye andy
11 andy_ahc@conference.derek.gltd.local 0 1315921080747 1315921128935 9 1315921080747 1315921134883 andy@derek.gltd.local spark andy oliver@derek.gltd.local Spark 2.6.3 andy_ahc@conference.derek.gltd.local oliver 1315921080748 hello everybody
11 andy_ahc@conference.derek.gltd.local 0 1315921080747 1315921128935 9 1315921080747 1315921134883 andy@derek.gltd.local spark andy oliver@derek.gltd.local Spark 2.6.3 andy_ahc@conference.derek.gltd.local oliver 1315921087547 andy thanks for inviting me to your private chat
11 andy_ahc@conference.derek.gltd.local 0 1315921080747 1315921128935 9 1315921080747 1315921134883 andy@derek.gltd.local spark andy oliver@derek.gltd.local Spark 2.6.3 andy_ahc@conference.derek.gltd.local oliver 1315921089539 i gotta go
11 andy_ahc@conference.derek.gltd.local 0 1315921080747 1315921128935 9 1315921080747 1315921134883 andy@derek.gltd.local spark andy oliver@derek.gltd.local Spark 2.6.3 andy_ahc@conference.derek.gltd.local oliver 1315921090628 bye all
12 olliesplace@conference.derek.gltd.local 0 1315921147455 1315921171177 7 1315921147455 1315921167950 oliver@derek.gltd.local Spark 2.6.3 oliver andy@derek.gltd.local spark olliesplace@conference.derek.gltd.local andy 1315921147456 hello lads
12 olliesplace@conference.derek.gltd.local 0 1315921147455 1315921171177 7 1315921147455 1315921167950 oliver@derek.gltd.local Spark 2.6.3 oliver andy@derek.gltd.local spark olliesplace@conference.derek.gltd.local andy 1315921165217 by ok
12 olliesplace@conference.derek.gltd.local 0 1315921147455 1315921171177 7 1315921147455 1315921167950 oliver@derek.gltd.local Spark 2.6.3 oliver leon@derek.gltd.local Spark 2.6.3 olliesplace@conference.derek.gltd.local leon 1315921150937 hello andy
12 olliesplace@conference.derek.gltd.local 0 1315921147455 1315921171177 7 1315921147455 1315921167950 oliver@derek.gltd.local Spark 2.6.3 oliver leon@derek.gltd.local Spark 2.6.3 olliesplace@conference.derek.gltd.local leon 1315921162065 bye
12 olliesplace@conference.derek.gltd.local 0 1315921147455 1315921171177 7 1315921147455 1315921167950 oliver@derek.gltd.local Spark 2.6.3 oliver leon@derek.gltd.local Spark 2.6.3 olliesplace@conference.derek.gltd.local leon 1315921171177 me too
12 olliesplace@conference.derek.gltd.local 0 1315921147455 1315921171177 7 1315921147455 1315921167950 oliver@derek.gltd.local Spark 2.6.3 oliver oliver@derek.gltd.local Spark 2.6.3 olliesplace@conference.derek.gltd.local oliver 1315921154834 hi andy
12 olliesplace@conference.derek.gltd.local 0 1315921147455 1315921171177 7 1315921147455 1315921167950 oliver@derek.gltd.local Spark 2.6.3 oliver oliver@derek.gltd.local Spark 2.6.3 olliesplace@conference.derek.gltd.local oliver 1315921158307 i gotta go again
12 olliesplace@conference.derek.gltd.local 0 1315921147455 1315921171177 7 1315921147455 1315921172852 leon@derek.gltd.local Spark 2.6.3 leon andy@derek.gltd.local spark olliesplace@conference.derek.gltd.local andy 1315921147456 hello lads
12 olliesplace@conference.derek.gltd.local 0 1315921147455 1315921171177 7 1315921147455 1315921172852 leon@derek.gltd.local Spark 2.6.3 leon andy@derek.gltd.local spark olliesplace@conference.derek.gltd.local andy 1315921165217 by ok
12 olliesplace@conference.derek.gltd.local 0 1315921147455 1315921171177 7 1315921147455 1315921172852 leon@derek.gltd.local Spark 2.6.3 leon leon@derek.gltd.local Spark 2.6.3 olliesplace@conference.derek.gltd.local leon 1315921150937 hello andy
12 olliesplace@conference.derek.gltd.local 0 1315921147455 1315921171177 7 1315921147455 1315921172852 leon@derek.gltd.local Spark 2.6.3 leon leon@derek.gltd.local Spark 2.6.3 olliesplace@conference.derek.gltd.local leon 1315921162065 bye
12 olliesplace@conference.derek.gltd.local 0 1315921147455 1315921171177 7 1315921147455 1315921172852 leon@derek.gltd.local Spark 2.6.3 leon leon@derek.gltd.local Spark 2.6.3 olliesplace@conference.derek.gltd.local leon 1315921171177 me too
12 olliesplace@conference.derek.gltd.local 0 1315921147455 1315921171177 7 1315921147455 1315921172852 leon@derek.gltd.local Spark 2.6.3 leon oliver@derek.gltd.local Spark 2.6.3 olliesplace@conference.derek.gltd.local oliver 1315921154834 hi andy
12 olliesplace@conference.derek.gltd.local 0 1315921147455 1315921171177 7 1315921147455 1315921172852 leon@derek.gltd.local Spark 2.6.3 leon oliver@derek.gltd.local Spark 2.6.3 olliesplace@conference.derek.gltd.local oliver 1315921158307 i gotta go again
12 olliesplace@conference.derek.gltd.local 0 1315921147455 1315921171177 7 1315921147455 1315921175677 andy@derek.gltd.local spark andy andy@derek.gltd.local spark olliesplace@conference.derek.gltd.local andy 1315921147456 hello lads
12 olliesplace@conference.derek.gltd.local 0 1315921147455 1315921171177 7 1315921147455 1315921175677 andy@derek.gltd.local spark andy andy@derek.gltd.local spark olliesplace@conference.derek.gltd.local andy 1315921165217 by ok
12 olliesplace@conference.derek.gltd.local 0 1315921147455 1315921171177 7 1315921147455 1315921175677 andy@derek.gltd.local spark andy leon@derek.gltd.local Spark 2.6.3 olliesplace@conference.derek.gltd.local leon 1315921150937 hello andy
12 olliesplace@conference.derek.gltd.local 0 1315921147455 1315921171177 7 1315921147455 1315921175677 andy@derek.gltd.local spark andy leon@derek.gltd.local Spark 2.6.3 olliesplace@conference.derek.gltd.local leon 1315921162065 bye
12 olliesplace@conference.derek.gltd.local 0 1315921147455 1315921171177 7 1315921147455 1315921175677 andy@derek.gltd.local spark andy leon@derek.gltd.local Spark 2.6.3 olliesplace@conference.derek.gltd.local leon 1315921171177 me too
12 olliesplace@conference.derek.gltd.local 0 1315921147455 1315921171177 7 1315921147455 1315921175677 andy@derek.gltd.local spark andy oliver@derek.gltd.local Spark 2.6.3 olliesplace@conference.derek.gltd.local oliver 1315921154834 hi andy
12 olliesplace@conference.derek.gltd.local 0 1315921147455 1315921171177 7 1315921147455 1315921175677 andy@derek.gltd.local spark andy oliver@derek.gltd.local Spark 2.6.3 olliesplace@conference.derek.gltd.local oliver 1315921158307 i gotta go again
Disco:
<iq id="vsIz2-25" to="derek.gltd.local" type="get">
<query xmlns="http://jabber.org/protocol/disco#info" />
</iq>
<iq id="vsIz2-25" to="leon@derek.gltd.local/Spark 2.6.3" from="derek.gltd.local"
type="result">
<query xmlns="http://jabber.org/protocol/disco#info">
<identity category="server" name="Openfire Server" type="im" />
<identity category="pubsub" name="null" type="pep" />
<feature var="http://jabber.org/protocol/pubsub#manage-subscriptions" />
<feature var="http://jabber.org/protocol/pubsub#modify-affiliations" />
<feature var="http://jabber.org/protocol/pubsub#retrieve-default" />
<feature var="http://jabber.org/protocol/pubsub#collections" />
<feature var="jabber:iq:private" />
<feature var="http://jabber.org/protocol/disco#items" />
<feature var="vcard-temp" />
<feature var="http://jabber.org/protocol/pubsub#publish" />
<feature var="urn:xmpp:archive:auto" />
<feature var="http://jabber.org/protocol/pubsub#subscribe" />
<feature var="http://jabber.org/protocol/pubsub#retract-items" />
<feature var="http://jabber.org/protocol/offline" />
<feature var="http://jabber.org/protocol/pubsub#meta-data" />
<feature var="jabber:iq:register" />
<feature var="http://jabber.org/protocol/pubsub#retrieve-subscriptions" />
<feature var="http://jabber.org/protocol/pubsub#default_access_model_open" />
<feature var="jabber:iq:roster" />
<feature var="http://jabber.org/protocol/pubsub#config-node" />
<feature var="http://jabber.org/protocol/address" />
<feature var="http://jabber.org/protocol/pubsub#publisher-affiliation" />
<feature var="http://jabber.org/protocol/pubsub#item-ids" />
<feature var="http://jabber.org/protocol/pubsub#instant-nodes" />
<feature var="http://jabber.org/protocol/commands" />
<feature var="http://jabber.org/protocol/pubsub#multi-subscribe" />
<feature var="http://jabber.org/protocol/pubsub#outcast-affiliation" />
<feature var="http://jabber.org/protocol/pubsub#get-pending" />
<feature var="google:jingleinfo" />
<feature var="jabber:iq:privacy" />
<feature var="urn:xmpp:archive:manage" />
<feature var="http://jabber.org/protocol/pubsub#subscription-options" />
<feature var="jabber:iq:last" />
<feature var="http://jabber.org/protocol/pubsub#create-and-configure" />
<feature var="urn:xmpp:ping" />
<feature var="http://jabber.org/protocol/pubsub#retrieve-items" />
<feature var="jabber:iq:time" />
<feature var="http://jabber.org/protocol/pubsub#create-nodes" />
<feature var="http://jabber.org/protocol/pubsub#persistent-items" />
<feature var="jabber:iq:version" />
<feature var="http://jabber.org/protocol/pubsub#presence-notifications" />
<feature var="http://jabber.org/protocol/pubsub" />
<feature var="http://jabber.org/protocol/pubsub#retrieve-affiliations" />
<feature var="http://jabber.org/protocol/pubsub#delete-nodes" />
<feature var="http://jabber.org/protocol/pubsub#purge-nodes" />
<feature var="http://jabber.org/protocol/disco#info" />
<feature var="http://jabber.org/protocol/rsm" />
</query>
</iq>
Retrieving a list with a user:
<iq type='get' id='id-gyzza'>
<list xmlns='urn:xmpp:archive' with='andy@derek.gltd.local'>
<set xmlns='http://jabber.org/protocol/rsm'>
<max>30</max>
</set>
</list>
</iq>
<iq type="result" id="id-gyzza" to="leon@derek.gltd.local/Spark 2.6.3">
<list xmlns="urn:xmpp:archive">
<chat with="andy@derek.gltd.local" start="2011-09-14T08:59:48.247Z" />
<chat with="leonsplace@conference.derek.gltd.local" start="2011-09-14T09:03:06.250Z" />
<set xmlns="http://jabber.org/protocol/rsm">
<first index="0">2</first>
<last>3</last>
<count>2</count>
</set>
</list>
</iq>
Retrieving a list with a conference:
<iq type='get' id='id-gyzza'>
<list xmlns='urn:xmpp:archive' with='leonsplace@conference.derek.gltd.local'>
<set xmlns='http://jabber.org/protocol/rsm'>
<max>30</max>
</set>
</list>
</iq>
<iq type="result" id="id-gyzza" to="leon@derek.gltd.local/Spark 2.6.3">
<list xmlns="urn:xmpp:archive">
<chat with="leonsplace@conference.derek.gltd.local" start="2011-09-14T09:03:06.250Z" />
<set xmlns="http://jabber.org/protocol/rsm">
<first index="0">3</first>
<last>3</last>
<count>1</count>
</set>
</list>
</iq>
Retrieving a list with all:
<iq type='get' id='id-gyzza'>
<list xmlns='urn:xmpp:archive'>
<set xmlns='http://jabber.org/protocol/rsm'>
<max>30</max>
</set>
</list>
</iq>
<iq type="result" id="id-gyzza" to="leon@derek.gltd.local/Spark 2.6.3">
<list xmlns="urn:xmpp:archive">
<chat with="andy@derek.gltd.local" start="2011-09-14T08:59:48.247Z" />
<chat with="leonsplace@conference.derek.gltd.local" start="2011-09-14T09:03:06.250Z" />
<chat with="oliver@derek.gltd.local" start="2011-09-14T10:57:36.233Z" />
<set xmlns="http://jabber.org/protocol/rsm">
<first index="0">2</first>
<last>3</last>
<count>2</count>
</set>
</list>
</iq>
Retrieving conversation with a user:
<iq type='get' id='id-gyzzb'>
<retrieve xmlns='urn:xmpp:archive' with='andy@derek.gltd.local'
start='2011-09-14T08:59:48.247Z'>
<set xmlns='http://jabber.org/protocol/rsm'>
<max>100</max>
</set>
</retrieve>
</iq>
<iq type="result" id="id-gyzzb" to="leon@derek.gltd.local/Spark 2.6.3">
<chat xmlns="urn:xmpp:archive" with="andy@derek.gltd.local" start="2011-09-14T08:59:48.247Z">
<from secs="0" jid="andy@derek.gltd.local">
<body>hi leon</body>
</from>
<to secs="12">
<body>hi andy</body>
</to>
<to secs="16">
<body>what's up andy?</body>
</to>
<from secs="20" jid="andy@derek.gltd.local">
<body>not much leon</body>
</from>
<from secs="24" jid="andy@derek.gltd.local">
<body>bye leon</body>
</from>
<to secs="28">
<body>bye andy</body>
</to>
<set xmlns="http://jabber.org/protocol/rsm">
<first index="0">0</first>
<last>5</last>
<count>6</count>
</set>
</chat>
</iq>
Retrieving a conversation with a conference:
<iq type='get' id='id-gyzzb'>
<retrieve xmlns='urn:xmpp:archive' with='leonsplace@conference.derek.gltd.local'
start='2011-09-14T09:03:06.250Z'>
<set xmlns='http://jabber.org/protocol/rsm'>
<max>100</max>
</set>
</retrieve>
</iq>
<iq type="result" id="id-gyzzb" to="leon@derek.gltd.local/Spark 2.6.3">
<chat xmlns="urn:xmpp:archive" with="leonsplace@conference.derek.gltd.local"
start="2011-09-14T09:03:06.250Z">
<from secs="0" jid="andy@derek.gltd.local">
<body>hello leon</body>
</from>
<from secs="5" jid="andy@derek.gltd.local">
<body>nice place you have here</body>
</from>
<to secs="9">
<body>thanks andy</body>
</to>
<from secs="161" jid="oliver@derek.gltd.local">
<body>hello everybody!</body>
</from>
<to secs="166">
<body>hi ollie</body>
</to>
<from secs="170" jid="andy@derek.gltd.local">
<body>hi ok</body>
</from>
<from secs="172" jid="andy@derek.gltd.local">
<body>bye guys, gtg</body>
</from>
<to secs="176">
<body>bye ag</body>
</to>
<from secs="180" jid="oliver@derek.gltd.local">
<body>bye all</body>
</from>
<set xmlns="http://jabber.org/protocol/rsm">
<first index="0">0</first>
<last>8</last>
<count>9</count>
</set>
</chat>
</iq>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment