How To Enable IM Over The Asterisk Server
I am currently, I create the VOIP server which enable the user to make the call over the asterisk server, Additionally now I want the user to be able to chat to each other too.
I found some suggestion of using the openfire with asterisk but not much said on it, Anyway could you please share me how can I config the IM server over asterisk?
I am waiting for your reply,
Thyda
8 thoughts on - How To Enable IM Over The Asterisk Server
Good morning Thyda;
Perhaps somebody has a solution for using it on Asterisk itself but after some trying I added the Openfire server as a IM server.
I was a bit afraid that ‘if’ I got it working properly we had to maintain it and off course had to troubleshoot it in case it didn’t work anymore.
I’ve read something that you add a ams_msg context in extensions.conf but that didn’t work for me unfortunaly. It did work for SIP Messages on phones but not for IM.
I found Openfire easier to configure and it added a full integration with our LDAP which allowed single sign so that users could use the same password and log on automatically with the Jitsi client.
But if you have some specific questions, I will be glad to answer.
//Kristof I am currently, I create the VOIP server which enable the user to make the call over the asterisk server, Additionally now I want the user to be able to chat to each other too. I found some suggestion of using the openfire with asterisk but not much said on it, Anyway could you please share me how can I config the IM server over asterisk?
I am waiting for your reply,
Thyda
Actually, I am using the openfire and I create two users with the SIP
mapping on the openfire to the asterisk server. I can register one user with the openfire client(Spark) and yes it is connect to asterisk SIP
also. But with the other one user, I register it with the SIP
client(Zoiper/ or Linphone) and then I can make the call over these two SIP
but they cannot reach the chat. I wonder what should I config between openfire and asterisk to enable chat over these two sip clients ?
I am waiting for your reply, Thank.
Thyda
Hi Thyda,
I think you should see these as two individual systems. (I’m not an expert so just thinking out loud).
Since you mention that you did a SIP mapping on Openfire, may I assume that you have the Asterisk IM plugin?
In case of yes:
Yes, there is a plugin between OpenFire and Asterisk but it is not actively developed anymore since 2006
http://www.igniterealtime.org/projects/asterisk/
So I don’t think the plugin is really realiable anymore on current versions.
I just get started with it so my question maybe not well catch. Anyway to do the VOIP call and IM we need to use two difference servers? which one is asterisk for VOIP ? and other one for IM that is openfire ? or we can have other choice better than this ?
Thank you for your help, I am waiting for your reply.
Thyda
Hi,
I think so yes unless somebody else can provide a better solution. (Perhaps I’m doing it wrong 😉 )
We have 2 asterisk servers (Xivo distribution based on Debian) whom work in Active/Passive cluster mode. Then we have a third server which is the OpenFire server (based on Ubuntu 14)
So yes, we have 2 different servers for that.
nb. The 3CX version of Asterisk (Windows Version) has a baked-in IM server so then you only need one. But it does require you to buy a license which I didn’t want to because Asterisk is opensource.
//Kristof I just get started with it so my question maybe not well catch. Anyway to do the VOIP call and IM we need to use two difference servers? which one is asterisk for VOIP ? and other one for IM that is openfire ? or we can have other choice better than this ?
Thank you for your help, I am waiting for your reply.
Thyda
Good morning Thyda;
Perhaps somebody has a solution for using it on Asterisk itself but after some trying I added the Openfire server as a IM server.
I was a bit afraid that ‘if’ I got it working properly we had to maintain it and off course had to troubleshoot it in case it didn’t work anymore.
I’ve read something that you add a ams_msg context in extensions.conf but that didn’t work for me unfortunaly. It did work for SIP Messages on phones but not for IM.
I found Openfire easier to configure and it added a full integration with our LDAP which allowed single sign so that users could use the same password and log on automatically with the Jitsi client.
But if you have some specific questions, I will be glad to answer.
//Kristof I am currently, I create the VOIP server which enable the user to make the call over the asterisk server, Additionally now I want the user to be able to chat to each other too. I found some suggestion of using the openfire with asterisk but not much said on it, Anyway could you please share me how can I config the IM server over asterisk?
I am waiting for your reply,
Thyda
You can have the openfire server installed on the same server as asterisk without any issue, just size your server appropriately. Just keep in mind they are different services.
James Cass <http://goog_987864563>
jcass78@gmail.com
Yes, I have though of setting them up on the same server(openfire, and asterisk) and the problem come in mind that how can register the user to openfire automatically when I register the user SIP on the asterisk server
? Do you have any idea? I am waiting for your reply.
Thank,
Thyda
The asterisk plugin for openfire would be what I would think would do that, but as another person posted, it’s very deprecated, so I’m not sure how well it would work. I’ve never used it personally.
James Cass <http://goog_987864563>
jcass78@gmail.com