[OpenSIPS-Users] Compiling a Module

Chris Stone axisml at gmail.com
Wed Feb 9 22:10:23 CET 2011


Robin,

If you want to compile and install Opensips and all of the default
modules, then just use:

make all
make install

The default is to compile all modules except those listed here (from
the root Makefile):

exclude_modules?= b2b_logic jabber cpl-c xmpp rls mi_xmlrpc xcap_client \
       db_mysql db_postgres db_unixodbc db_oracle db_berkeley aaa_radius \
       osp perl snmpstats perlvdb carrierroute mmgeoip \
       presence presence_xml presence_mwi presence_dialoginfo \
       pua pua_bla pua_mi pua_usrloc pua_xmpp pua_dialoginfo \
       ldap h350 identity regex memcached db_http json dialplan

If you want some of them, you include them by doing:

make include_modules="MODULE_NAME" all

or

make include_modules="MODULE_NAME" modules

where MODULE_NAME is one or more (space delimited) module names.

So, you might try:

make
make include_modules="perl snmpstats" modules
make install

That'll compile opensips, compile all modules, include the normally
excluded perl and snmpstats modules, and install it all.



Chris



More information about the Users mailing list