Below are the steps to add a custom module to ejabberd
- put your module in the ejabberd / src folder.
- go to the ejabberd directory in the terminal and run the command $ sudo make
- it will show you that your module is compiled. Now run $ sudo make install
- Add your module to the configuration file in /etc/ejabberd/ejabberd.yml
- restart ejabberd and your user module will start.
source
share