Setup Openfire Chat Server and Configure Asterisk-IM Plugin

In this session, I will show you how to setup the Openfire real-time collaboration server from Ignite Realtime. This free, open source application is a great way for organizations to leverage chat capabilities.

Also, we’re going to configure the Asterisk-IM plugin to interface with our Asterisk PBX. This plugin can be configured to display Caller ID information, and view the phone status of other users.

We’ll be using Spark as the chat client, also from Ignite Realtime.

Installing Openfire on Fedora is simple:

rpm -ivh openfire-3-5-2-1.i386.rpm

When the transaction has completed and Openfire has started, access http://hostname:9090 to finish the remaining portion of the setup process.

In this demo, I used a domain name for the system that would be considered inadequate in most cases. It is always best to use the FQDN (fully qualified domain name) of your system. Also, don’t forget to allow client traffic through your firewall (TCP 5222-5223), with each client as well. Did you run into configuration issues or problems? How did this install go for you?



9 Comments so far

  1. James @ September 18th, 2008

    Hi, I found your blog on this new directory of WordPress Blogs at blackhatbootcamp.com/listofwordpressblogs. I dont know how your blog came up, must have been a typo, i duno. Anyways, I just clicked it and here I am. Your blog looks good. Have a nice day. James.

  2. Thermal @ October 12th, 2008

    Thanks for the screencast.

    For some reason when ever I add the Asterisk server in Astetrisk-IM the CPU usage spikes. The two main processes that are using CPU are Java and Asterisk. I can tell that the plugin was able to login by looking at the manager users at the asterisk command line.

    The Openfire/Spark part is working great. I get presence, chat, etc.

    The Openfire and Asterisk are on the same Linux box.

    Did you have to do anything else that wasn't on the video?

  3. thermal @ October 13th, 2008

    It looks like it was a manager.conf permision error.

    I thought I read you only need this permision set:
    read = system,call

    I added read & write everything and it started working.

    Does anyone know what the permisions should be?

    -thermal

  4. Ghost @ November 17th, 2008

    hey man, great tutorial, I was looking for a basic setup for a chat server and this webcast helped me a lot.

  5. Ghost @ November 17th, 2008

    hey man, great tutorial, I was looking for a basic setup for a chat server and this webcast helped me a lot.

  6. Ashish @ January 18th, 2009

    Thanks very much. It is very informative. The sound and video quality are excellent.

    Ashish

  7. Sheldon @ March 26th, 2009

    i am a rank newbie when it comes to this stuff but with your fine video i was able to get it up and running quicker than my ” techy” friend that said it couldn’t be done …. and it works great frankly i’m amazed @ how cool the spark app isd and all the features avaiable … but i can’t for the life of me figure out how to get the phone thing to work … or the SIP plugin how does that relate i can’t find any settings or manual for it can you help me out here ….

    i would even be willing to pay you $$$ i just wanna get this to work :) i have a windows 208 dedicated server and openfire with those plugins how do i get it to work…

  8. Nishant kumar @ November 10th, 2009

    Nice blog
    Hyper link to Spark in “Link to We’ll be using Spark as the chat client” not working. Please correct it.

  9. Aiswarya @ February 5th, 2010

    HI
    Its a nice blog.
    I have a different doubt.
    I installed spark chat in my system.Can I invoke spark chat from my own application?.ie.I created one application which has username and password.And there is a button for chat.When I click that button I need to invoke spark chat window automatically and I should pass the username and password into that spark chat window.Is there any code for that?
    Please help me……

Leave a reply

Add this site to your Firefox Search Bar

Twitter Updates


First blue moon on NYE in almost 20 years:

Follow Ben on Twitter

Recent Entries

Categories

Archives

This site is optimized for Firefox.