Connecting to EA Origin over Jabber/XMPP (Part 2)

As I noted in my previous post, EA Origin’s XMPP post, the service disconnects you if you don’t send a keep-alive after 120 seconds. My original experiments were using chat clients such as Pidgin, which don’t have a customisable keep-alive timeout for XMPP Servers (and apparently will not implement it.) Using agsXMPP and C#, I’ve managed to maintain a continuous connection to EA Origin Jabber servers. It shouldn’t be too hard for someone to build a custom chat client out of this.

Connecting to Origin:

xmppClient.Server = "";
xmppClient.Username = "YOUR_NUMERICAL_ID";
xmppClient.Password = "YOUR_PASSWORD";
xmppClient.ConnectServer = "";
xmppClient.Port = "5222";
xmppClient.Resource = "origin";
xmppClient.UseSSL = false;
xmppClient.AutoResolveConnectServer = false;
xmppClient.UseStartTLS = false;
xmppClient.UseCompression = false;
xmppClient.KeepAlive = true;
xmppClient.KeepAliveInterval = 30;

And getting your buddies actual Origin name (not the numerical ID) – not my work, but isn’t published elsewhere:

item.GetAttribute("origin:eaid")) (from a roster item)

2 thoughts on “Connecting to EA Origin over Jabber/XMPP (Part 2)”

  1. Hi there,

    thanks for the guide.
    I was able to add Origin to the Miranda Messenger.
    However it shows me only the Ids
    Do you have any idea how to add the
    “item.GetAttribute(“origin:eaid”))” command to Miranda ?

Leave a Reply

Your email address will not be published. Required fields are marked *