rayo/xmpp — pull request #86 by chewi (2014-01-28 15:03:16+00:00)
Title: Map XMPP <message> to SIP MESSAGE?

I was looking for a way to handle SIP INFO through Rayo. There don't seem to be any XEPs that are a good fit but it was mentioned that the regular XMPP \ stanza could be used for SIP MESSAGE.

Most of Rayo is based around \ stanzas but I don't see why this can't be an exception. [RFC 6086](http://tools.ietf.org/html/rfc6086) says that a UA __SHOULD__ send a response when receiving a SIP MESSAGE but there is no guarantee that a client actually will so perhaps the fire-and-forget nature of \ is a good fit in this regard.

We could even take this one step further and forward any response sent using [XEP-0184](http://xmpp.org/extensions/xep-0184.html), Message Delivery Receipts.