Monday, March 19, 2007

Ok, now we have constructed the more-or-less "correct" xml nodes for sending a voice session initiate (xep-166). We also made a simple parse in the plugin. But right now we have some issues for initiating the xmpp startup. When we are trying to do a session towards the local server (builderbob.dk) server we get an error 500, servicer time out:


Server Connect Timeout


When we are tying to do the same towards gtalk (google) we get an error 400, bad request:


If set, the 'from' attribute must be set to the user's full JID.



Open issues:

* how can we connect and issue a voice call on the local builderbob.dk?. should the server (jabberd1.4) be upgraded to 2.0?

* do we have to implement something on the server to be able to do it?

* is service discovery needed before initiating the voice call?

* The difference between google sessions (gtalk) and xmpp (xep-166 etc). what is truely the differnce. We might use Jabbin (gtalk implementation) vs. the xmpp documentation to view this better.

* If we find the correct diffrence between the two, we should be able to make an gateway inside our plugin to support both the gtalk and xmpp protocol.

Tuesday, March 13, 2007

RAW XML through GAIM

Today we wrote 2 new simple Gaim plugins. One for sending RAW XML and one for receiving it. We succeded to intercept xml packages when they arrive to the Jabber protocol - we did by connecting to the signals the Jabber Protocol emits.
We found the xmlnode.h which has nice functionality for assembly/dissasembly of xml stanzas.
Tonight we will get our CVS server back online, and tomorrow we will look further into sending and receiving xml. And the XEP-166 specification on how this should be done.

Tuesday, March 06, 2007

Gaim beta6

Today we updated to Gaim beta6 since we were going to look on the code in the jabber protocol plugin. It was a good surprise to see that Sean Egan had written a small XMPP console plugin... that will probably be very helpful.

We have now been looking at the code.
One useful hint it gave us is that you can connect to signals:
"jabber-receiving-xmlnode" and "jabber-sending-text"

Dette kode sender rĂ¥ XML gennem Jabber protokollen:
if (gc && prpl_info->convo_closed != NULL)
prpl_info->send_raw(gc, text, strlen(text));
Check send_message_cb i xmppconsole.c

Sunday, March 04, 2007

Gizmo launches meta-voice

http://www.gizmoproject.com/meta-voice.html
It is now possible to call Yahoo messenger, Google GTalk and MSN Messenger from one application, namely Gizmo 3.0. Just the functionality we currently want to integrate into Gaim. Unfortunately it is closed source with an open C++ API.