http://www.kamailio.org/docs/modules/devel/xmpp.html