Pizzja Homepage

What is Pizzja?

Pizzja is a Jabber component that allows you to control a single connection (resource) to your Jabber account using several clients.

To achieve this, once given the account's information (through standard subscription mechanism from a local account, just like legacy gateways), the component will connect to the account (let's call it foreign account). The clients can then "control" the component's behaviour by sending stanzas to it, which the component will forward after modifying the 'to' and 'from' attributes.

Pizzja probably didn't yet reach a point where it can be used in any way. Hence, this documentation describes how it should work in the end; it does not reflect the current state of the development.

Technical Details

When Pizzja receives a stanza from the local account, if the "to" address is xxx@transport, with an optional resource, it forwards it to xxx (unescaped as a whole JID), adding the resource again if any.

Resources on the local account are expected to be of the form A/B (for example foo@bar/Work/something), where A is the resource Pizzja should use on the remote account. Pizzja stays connected as A as long as there is at least one local resource matching this name.

Presence changes are not forwarded transparently, the controlling resources have to send stanzas to xxx@transport explicitely for them to be forwarded.

This way, a resource can send any stanza from an already foreign connection without actually staying connected itself: sending and receiving messages, changing presence information, seeing contacts' presence, sending and receiving IQs, etc..

Where can I see how Pizzja works exactly?

The TechnicalDetails page probably explains some of Pizzja internals.

Code details

You can browse the current code, or download the current code by running:

svn co http://svn.last-exile.org/pizzja

Pizzja is written in Python, and is licensed under the GPL v2.

How is it pronounced?

The way you like. I say "pizz-yah".

Who's writing Pizzja?

David Ammouial (da HAT weeno DOUBT net)