Now I've tried it out but it doesn't work correctly. I use the
development version of Gloox.
I've created the following code:
public members:
Client *j;
Jingle::Session *m_jsession;
Jingle::PluginList plist;
initiate the client:
JID jid("rory@localhost/desktop");
j = new Client( jid, "password" );
j->registerMessageSessionHandler( this, 0 );
j->connect(true);
The client connects successfully to the server. I can send and receive
messages without any problems.
Now I want to initiate a Jingle Session in another thread:
JID responder("dean@localhost/virtbox");
m_jsession = new Jingle::Session( j, responder, this );
const Jingle::Plugin *tp = new Jingle::DTMF("any_code",5,23);
plist.push_back(tp);
m_jsession->initiate(plist);
I traced with Wireshark. Gloox sends only an "empty" iq stanza to the
responder without the jingle stanzaextension:
<iq to='dean@localhost/virtbox' id='uid:4bc58418:00003d6c' type='set'
from='rory@localhost/desktop' xmlns='jabber:client'/>
What could be wrong? Can you give me a hint?
Thanks a lot!