Quantcast
Channel: Ignite Realtime : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 10742

AdHocCommandDataProvider getting in the way?

$
0
0

I have a smackx I'm writing for a protocol called Openlink. An example of a packet I'm trying to send/receive is below.

 

The problem seems to be that I'm trying to register an IQProvider for command#http://jabber.org/protocol/commands but only AdHocCommandDataProvider seems to receive it.

 

The provider works fine in Smack 3.2.2 so wondering what's changed in Smack 4.x which breaks this?

 


Sent:

<iq id='8fR4x-3' to='vmstsp.garyvms.gltd.local' type='set'><command xmlns='http://jabber.org/protocol/commands' action='execute'  node='http://xmpp.org/protocol/openlink:01:00:00#get-profiles'>  <iodata xmlns='urn:xmpp:tmp:io-data' type='input'>  <in>  <jid>gary@garyvms.gltd.local</jid>  </in>  </iodata></command></iq>

 

Received:

<iq type="result" id="1deK7-3" from="vmstsp.garyvms.gltd.local" to="gary@garyvms.gltd.local/office"><command xmlns="http://jabber.org/protocol/commands" sessionid="7905"  node="http://xmpp.org/protocol/openlink:01:00:00#get-profiles" status="completed">  <iodata xmlns="urn:xmpp:tmp:io-data" type="output">  <out>  <profiles xmlns="http://xmpp.org/protocol/openlink:01:00:00/profiles">  <profile id="gary_office" device="vmstsp" default="true"  online="true">  <actions>  <action id="ClearConnection" label="ClearConnection" />  <action id="ClearCall" label="ClearCall" />  <action id="AddThirdParty" label="AddThirdParty" />  <action id="RemoveThirdParty" label="RemoveThirdParty" />  <action id="MuteParty" label="MuteParty" />  <action id="UnMuteParty" label="UnMuteParty" />  <action id="StartVoiceDrop" label="StartVoiceDrop" />  <action id="StopVoiceDrop" label="StopVoiceDrop" />  <action id="JoinCall" label="JoinCall" />  <action id="SendDigit" label="SendDigit" />  </actions>  </profile>  <profile id="gary_sip" device="vmstsp" default="false"  online="true">  <actions>  <action id="ClearConnection" label="ClearConnection" />  <action id="ClearCall" label="ClearCall" />  <action id="AddThirdParty" label="AddThirdParty" />  <action id="RemoveThirdParty" label="RemoveThirdParty" />  <action id="MuteParty" label="MuteParty" />  <action id="UnMuteParty" label="UnMuteParty" />  <action id="StartVoiceDrop" label="StartVoiceDrop" />  <action id="StopVoiceDrop" label="StopVoiceDrop" />  <action id="JoinCall" label="JoinCall" />  <action id="SendDigit" label="SendDigit" />  </actions>  </profile>  </profiles>  </out>  </iodata></command></iq>

Viewing all articles
Browse latest Browse all 10742

Trending Articles