Ejabberd installation8/4/2023 ![]() At any rate, ejabberd seemed to have good documentation and a good community, so I decided to give it a try. However, it appears to have some really cool features, and I intend to experiment with it at some point. Openfire is written in Java, which everyone tells me is a dumpster fire of a language. I can’t really provide any particularly compelling reasons for why I chose ejabberd over other solutions, such as Openfire. Configure the dialplan to do cool stuff, like check presence and send instant messages.Configure nf to connect the res_xmpp Asterisk module to ejabberd.Now that the topology is understood, let’s take a brief look at the steps necessary to make this all work: I’m running Pidgin for testing purposes, but it shouldn’t matter as long as you’re using something that talks XMPP. Desktop PC – This is my personal PC with instant messaging software on it.A 7940 running SIP firmware and connected to Asterisk. Cisco 7940 IP Phone – This is exactly what it looks like.You’ll find me using both names throughout this article. It was originally called Jabber, and the two names are often used interchangeably. XMPP is the Extensible Messaging and Presence Protocol, and it is what we’ll be using for IM and presence information. This is used for instant messaging and XMPP. I obtained this as an AsteriskNOW distro. Asterisk – Asterisk 11.8.1 on CentOS 6.5.Let’s quickly discuss the elements of this setup: It’s a bit more complex, but this works for our purposes). Overall, it’s a fairly simple topology (I’m actually simplifying it. I’ll get this message when I log back in. But also send me an instant message that says I missed a call. If I am unavailable (not logged into IM on my Desktop or not available), then drop into a different menu with other options (I’ll cover these in later blog articles).If I am available (logged into IM on my Desktop computer and available), then send me an instant message with the caller ID and ring the IP phone on my desk.Asterisk obtains XMPP presence information from my XMPP server.Someone dials my extension (1001) with the intent to hear my beautiful voice on the other end of the phone.With the resolve to learn some new skills firmly set in my mind, I came up with a few simple goals for calls going to my phone’s extension. It would give me the opportunity to learn a new technology (XMPP) while building my knowledge of Asterisk. But seriously: the idea of integrating Asterisk with XMPP, presence, and instant messaging seemed cool to me. I get a little carried away with the buzzwords. That’s when I decided to learn about XMPP, unified communications, presence, synergy, communications enabled business practices, agile, methodologies, eXtreme programm…Oops, my bad. Clearly, I was lacking in the home telephony department, so I decided to try finding some neat things to do with my setup. My current home voice system consists of an Asterisk virtual machine, two Cisco 7940 IP Phones running SIP firmware, and a Google Voice number that is handled by Asterisk. Then simply remove Ejabberd and try again from step 1.Voice and XMPP: Integrating Asterisk with ejabberd If you mess up your installation or if you mess up while editing your config file and you are not able to revert your changes. That’s it, If you see console panel you have completed your setup.ġ. Make sure you have opened ports 52 on AWS for your EC2 instance from its security group. To solve the error, I opened the apparmor configuration file: usr/sbin/ejabberdctl: line 428: 3427 segmentation fault Where you will register admin user from command prompt then you will get below error: # You can put here as many accounts as you want. # The ‘admin’ ACL grants administrative privileges to XMPP accounts. Note - Be very careful while editing the ‘yml’ file as it has indent based syntax. Edit Config File to setup admin user and host Note- If you get any error like “package not found” then run sudo apt-get update and try the above command again.Ĥ. Login to your EC2 instance with Terminal or Putty.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |