Upgrade 3CX to v18 and get it hosted free!

Using XMPP/Jabber/PubSub for distributed presence

Author image

I have multiple Asterisk boxes running 1.8 and needed to track presence between them. After carefully following the instructions in the book Asterisk The Definitive Guide, and the almost identical instructions online, I still kept running into problems. But I finally figured it out, I think. Hopefully my week of hell will help someone else trying to accomplish the same thing.

I think the big issue is that the instructions say only the Tigase server is really supported. There are two ways to work with Tigase – either download the software and install it on their site or using their free hosted site tigase.im. I couldn’t seem to make a lot of sense out of the download and install process, and I ran into constant problems using the hosted site. Couldn’t figure it out. Everything looked good (especially with the jabber show buddies and other testing techniques) but hints were never updated.

There was another problem — the 1.8 boxes had a tendency to crash Asterisk when something was imperfect with the Jabber setup. Like if the server went offline. No good for a production system. I have not noticed this problem in 10.

I did two things that solved my problem immediately. The biggest one was I switched to the Openfire XMPP server (http://www.igniterealtime.org/projects/openfire/). It was super easy to install both on Windows and Linux (I did both initially) and has a simple web GUI. I’m not sure Tigase was really the problem, although I noticed that the SSL cert tigase.im was sending was self-issued and had expired a year earlier, so that could have been an issue.

Other thing… I moved up to Asterisk 10.5.2. Suddenly things worked.

The SSL cert on the new Openfire is also self issued but is not expired, but it seems to not be a problem.

So… I will update this as I move forward, but the testing of changing the custom device_state seems to be working well. Funny thing is that I went back to the 1.8 boxes and tried to get them on the new Openfire and while they registered easily, the device_state did not work. Plus with that crashing problem I was never entirely comfortable with that.


Article Reviews

Write a Review

Your email address will not be published. Required fields are marked *

Required Field. Minimum 5 characters.

Required Field. Minimum 5 characters, maximum 50.

Required field.There is an error with this field.

Required Field.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

There are no reviews for this article. Be the first one to write a review.

Related Posts:

Get 3CX - Absolutely Free!
Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.