Mod_campfire is a project mainly written in Erlang, it's free.
An ejabberd module for interacting with the campfire API
Description: This ejabberd module manages connections to 37Signals Campfire service, listens for events in rooms and can take action accordingly. Author: Sylvain Niles [email protected] Copyright: Cascadeo Corporation http://cascadeo.com/ License: Creative Commons Attribution-ShareAlike CC BY-SA, please see http://creativecommons.org/licenses/by-sa/3.0/ for more info.
Requires ibrowse (full) and mochijson.erl be installed: https://github.com/cmullaparthi/ibrowse https://github.com/mochi/mochiweb