User Tools

Site Tools


install:devel:git

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
install:devel:git [2013/01/19 18:51]
oej [6. What and where was installed]
install:devel:git [2015/01/03 18:31]
miconda [3.Tuning Makefiles]
Line 47: Line 47:
  
 <code> <code>
-  git clone --depth 1 git://git.sip-router.org/sip-router kamailio+  git clone --depth 1 --no-single-branch git://git.kamailio.org/kamailio kamailio
   cd kamailio   cd kamailio
 </code> </code>
  
 +//Note: if your git client version does not support **--no-single-branch** command line parameter, then just remove it.// 
 ===== 3.Tuning Makefiles ===== ===== 3.Tuning Makefiles =====
  
Line 74: Line 74:
 Save the **modules.lst** and exit. Save the **modules.lst** and exit.
  
-NOTE: this is one mechanism to enable modules which are not compiled by default, such as lcr, dialplan, presence -- add the modules to **include_modules** variable inside the **modules.lst** file.+**NOTE**: this is one mechanism to enable modules which are not compiled by default, such as lcr, dialplan, presence -- add the modules to **include_modules** variable inside the **modules.lst** file.
  
 Alternative is to set 'include_modules' variable to specify what extra modules to be included for compilation when building Makefile cfg: Alternative is to set 'include_modules' variable to specify what extra modules to be included for compilation when building Makefile cfg:
Line 82: Line 82:
 </code> </code>
  
-If you want to install everything in one directory (so you can delete all installed files at once), say /usr/local/kamailio-devel, then set PREFIX variable to the install path in 'make cfg ...' command:+**NOTE**: If you want to install everything in one directory (so you can delete all installed files at once), say /usr/local/kamailio-devel, then set PREFIX variable to the install path in 'make cfg ...' command:
  
 <code> <code>
Line 92: Line 92:
   * http://sip-router.org/wiki/tutorials/makefile-system   * http://sip-router.org/wiki/tutorials/makefile-system
  
-NOTE: Previous release series 3.x.x used FLAVOUR mechanism to set the name of the application to **kamailio**. Starting with 4.0.0, the default is **kamailio**. From now on, if you want to build **ser** flavour, use **FLAVOUR=ser** in the make command to generate the build configs.+**NOTE**: Previous release series 3.x.x used FLAVOUR mechanism to set the name of the application to **kamailio**. Starting with 4.0.0, the default is **kamailio**. From that version, if you want to build **ser** flavour, use **FLAVOUR=ser** in the make command to generate the build configs.
 ===== 4. Compile Kamailio ===== ===== 4. Compile Kamailio =====
  
Line 142: Line 142:
 <code> <code>
   /usr/local/lib/kamailio/modules/   /usr/local/lib/kamailio/modules/
-  /usr/local/lib/kamailio/modules_k/ 
 </code> </code>
 Note: On 64 bit systems, /usr/local/lib64 may be used. Note: On 64 bit systems, /usr/local/lib64 may be used.
Line 214: Line 213:
 </code> </code>
  
-If you changed the password for the 'openser' user of MySQL, you have to update the value for 'db_url' parameters.+If you changed the password for the 'kamailio' user of MySQL, you have to update the value for 'db_url' parameters.
  
 You can browse [[http://git.sip-router.org/cgi-bin/gitweb.cgi?p=sip-router;a=blob;f=etc/kamailio.cfg|kamailio.cfg]] online on GIT repository. You can browse [[http://git.sip-router.org/cgi-bin/gitweb.cgi?p=sip-router;a=blob;f=etc/kamailio.cfg|kamailio.cfg]] online on GIT repository.
Line 221: Line 220:
  
 The init.d script can be used to start/stop the Kamailio server in a nicer way. A sample of init.d script for Kamailio is provided at: The init.d script can be used to start/stop the Kamailio server in a nicer way. A sample of init.d script for Kamailio is provided at:
- 
-<code> 
-  /usr/local/src/kamailio-devel/pkg/kamailio/debian/kamailio.init 
-</code> 
  
 <code> <code>
Line 236: Line 231:
 </code> </code>
  
-then edit the file updating the $DAEMON value:+then edit the file updating the $DAEMON and $CFGFILE values: 
 <code> <code>
   DAEMON=/usr/local/sbin/kamailio   DAEMON=/usr/local/sbin/kamailio
 +  CFGFILE=/usr/local/etc/kamailio/kamailio.cfg
 </code> </code>
  
install/devel/git.txt · Last modified: 2019/01/11 17:20 by pepelux