Recently, I heard from some people that is difficult to install OpenSIPS on CentOS, mainly the mi_xmlrpc module. Some servers do not support Debian or Ubuntu, where the compilation process is quite simple, but in most cases they support RedHat and CentOS. The instructions below are valid for both. Using the preinstalled operating system is sometimes valuable because of the tech support and improved drivers. The objective of this tutorial is to show you how to compile successfully OpenSIPS on CentOS. This configuration was tested with CentOS 5.5.

Step 3: Compile the library xmlrpc-c. If you forget to use --disable-abyss-threads, the system will eventually dump the core because OpenSIPS is multiprocess but not multithreaded. The newest versions of xmlrpc compile by default with threads enabled. This problem do not occur with Debian or Ubuntu because they use an old version of xml-rpc (0.9.1) that does not support threads.