For those interested in building SIP and SIMPLE rich presence applications in Ruby language:
http://xcapclient.rubyforge.org/ http://dev.sipdoc.net/projects/ruby-xcapclient/wiki/
Ruby XCAPClient -------------------------------------------------- A XCAP client library written in Ruby language.
XCAP (RFC 4825) is a protocol on top of HTTP which allows a client (usually a VoIP/SIP device) to manipulate the contents of Presence Information Data Format (PIDF) based presence documents. These documents are stored in a server in XML format. Ruby xcapclient library implements the XCAP protocol in client side, allowing the applications to get, store, modify and delete XML documents in the server.
== Features
* Fetch, create/replace and delete a document. * Fetch, create/replace and delete a document element (XML node). * Fetch, create/replace and delete an element attribute. * Full configurable parameters allowing customized fields for each XCAP application, such auid, XML namespace, MIME-Type, scope (:user or :global) and default document name ("index" if not set). * Fetch the namespaces and prefixes of a document node as they are used in the server. * Manage of multiple documents per XCAP application. * Fetch the XCAP server auids, extensions and namespaces ("xcap-caps" application). * SSL. * Digest and Basic HTTP authentication. * Raise custom Ruby exception for each HTTP error response. --------------------------------------------------
Enjoy.