Hello,
nice! Is there a sip library for ruby that can handle presence
extensions as well?
Thanks,
Daniel
On 30.07.2009 2:53 Uhr, IƱaki Baz Castillo wrote:
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.
--
Daniel-Constantin Mierla
* SIP Router Bootcamp
* Kamailio (OpenSER) and Asterisk Training
* Berlin, Germany, Sep 1-4, 2009
*
http://www.asipto.com/index.php/sip-router-bootcamp/