User Tools

Site Tools


install:4.2.x: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
install:4.2.x:git [2014/12/19 08:54]
youngjuan [1. Prerequisites]
install:4.2.x:git [2015/01/03 18:32]
miconda [6. What and where was installed]
Line 87: Line 87:
 </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-4.2, then set PREFIX variable to the install path in 'make cfg ...' command:
  
 <code> <code>
-make PREFIX="/usr/local/kamailio-devel" include_modules="db_mysql dialplan" cfg+make PREFIX="/usr/local/kamailio-4.2" include_modules="db_mysql dialplan" cfg
 </code> </code>
  
Line 97: Line 97:
   * 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 135: Line 135:
   * __kamdbctl__ - script to create and manage the Databases   * __kamdbctl__ - script to create and manage the Databases
   * __kamctl__ - script to manage and control Kamailio SIP server   * __kamctl__ - script to manage and control Kamailio SIP server
-  * __sercmd__ - CLI - command line tool to interface with Kamailio SIP server+  * __kamcmd__ - CLI - command line tool to interface with Kamailio SIP server
  
 To be able to use the binaries from command line, make sure that '/usr/local/sbin' is set in PATH environment variable. You can check that with 'echo $PATH'. If not and you are using 'bash', open '/root/.bash_profile' and at the end add: To be able to use the binaries from command line, make sure that '/usr/local/sbin' is set in PATH environment variable. You can check that with 'echo $PATH'. If not and you are using 'bash', open '/root/.bash_profile' and at the end add:
Line 170: Line 170:
 </code> </code>
  
-In case you set the PREFIX variable in 'make cfg ...' command, then replace **/usr/local** in all paths above with the value of PREFIX in order to locate the files installed.+**NOTE**; In case you set the **PREFIX** variable in 'make cfg ...' command, then replace **/usr/local** in all paths above with the value of PREFIX in order to locate the files installed.
  
 ===== 7. Create MySQL database ===== ===== 7. Create MySQL database =====
Line 293: Line 293:
  
   2.   2.
-  edit '/root/.kamctlrc' and add:+  edit '/usr/local/etc/kamailio/kamctlrc' (or per user file, like '/root/.kamctlrc'and add:
   SIP_DOMAIN=mysipserver.com   SIP_DOMAIN=mysipserver.com
 </code> </code>
Line 302: Line 302:
  
 <code> <code>
-  cd /usr/local/src/kamailio-devel/kamailio+  cd /usr/local/src/kamailio-4.2/kamailio
   git pull origin   git pull origin
   make all   make all
install/4.2.x/git.txt ยท Last modified: 2015/01/03 18:32 by miconda