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:
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?
About Benjamin Perove
Benjamin has been associated with computer technology starting from a very early age, and has contributed to the success of many businesses and enterprises since 2001.
He loves to crush pow at Keystone, play acoustic guitar, climb rocks, and ascend mountains on his road bike.
Benjamin is an Avalanche fan and currently resides in Boulder, Colorado.

Comments(18)



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.
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?
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
hey man, great tutorial, I was looking for a basic setup for a chat server and this webcast helped me a lot.
hey man, great tutorial, I was looking for a basic setup for a chat server and this webcast helped me a lot.
Thanks very much. It is very informative. The sound and video quality are excellent.
Ashish
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…
Nice blog
Hyper link to Spark in “Link to We’ll be using Spark as the chat client” not working. Please correct it.
It’s been fixed. Thanks Nishant
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……
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?
Hi Sharron, at the time of the recording both Openfire and Asterisk were running on the same server.
When I was playing around with the integration, I noticed the java process hogging a lot of CPU. This was the case with Openfire; it took at least a few minutes to restart the service each time. Are you running Asterisk 1.4 or 1.6? Do you have enough free memory on the server or are you swapping to disk?
This screencast is realy helpful for the Eng & Small Business Or Company Thanks A lot
Dear Friends
I have problehem in network after the configuration of Operfire chat server in my local lan.It show huge latency difference while pinging.can someone help to resolve this issue.
Hi @Nagaraj, can you give more details? What are you pinging which is slow to respond, and from where? Does latency return to normal when Openfire is shut down? The more information the better…
Hi Ben,
Thank you very much for putting this how-to together. It was very helpful.
I have only one problem with the system and that is that on a Mac Spark client the phone notification doesn’t come up when you get a call or make a call.
I have been looking everywhere for some type of hint about what the problem might be.
Any ideas ?
Thank you . . . Don
IM spark i do not need Broadcast message, how to disable/remove that’s plugins on the tools
help me pls….
thanks ..SUT