This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
install:devel:git [2013/01/09 13:03] miconda [3.Tuning Makefiles] |
install:devel:git [2013/06/10 09:14] miconda [2. Getting sources from GIT] |
||
---|---|---|---|
Line 13: | Line 13: | ||
==== Notes on Kamailio vs SER ==== | ==== Notes on Kamailio vs SER ==== | ||
- | Since version 4.0.0, Kamailio and SER are completely merged, no duplicated modules anymore. | + | Since version 4.0.0, Kamailio and SER are completely merged, no duplicated modules anymore. Default application name is **kamailio**. |
The 3.x.x series offered the possibility to build Kamailio and SER from same source code, meaning that they were more or less same application, | The 3.x.x series offered the possibility to build Kamailio and SER from same source code, meaning that they were more or less same application, | ||
Line 47: | Line 47: | ||
< | < | ||
- | git clone --depth 1 git:// | + | git clone --depth 1 --no-single-branch |
cd kamailio | cd kamailio | ||
</ | </ | ||
+ | //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 144: | Line 144: | ||
/ | / | ||
</ | </ | ||
+ | Note: On 64 bit systems, / | ||
The documentation and readme files are installed in: | The documentation and readme files are installed in: | ||
Line 187: | Line 188: | ||
</ | </ | ||
- | You can call this script without any parameter to get some help for the usage. You will be asked for the domain name Kamailio is going to serve (e.g., mysipserver.com) and the password of the ' | + | You can call this script without any parameter to get some help for the usage. You will be asked for the domain name Kamailio is going to serve (e.g., mysipserver.com) and the password of the ' |
The script will add two users in MySQL: | The script will add two users in MySQL: | ||
- | - **openser** - (with default password 'openserrw') - user which has full access rights to 'openser' database | + | - **kamailio** - (with default password 'kamailiorw') - user which has full access rights to 'kamailio' database |
- | - **openserro** - (with default password 'openserro') - user which has read-only access rights to 'openser' database | + | - **kamailioro** - (with default password 'kamailioro') - user which has read-only access rights to 'kamailio' database |
**__Do change the passwords for these two users to something different that the default values that come with sources.__** | **__Do change the passwords for these two users to something different that the default values that come with sources.__** | ||
Line 213: | Line 214: | ||
</ | </ | ||
- | If you changed the password for the 'openser' user of MySQL, you have to update the value for ' | + | If you changed the password for the 'kamailio' user of MySQL, you have to update the value for ' |
You can browse [[http:// | You can browse [[http:// | ||
Line 219: | Line 220: | ||
===== 9. The init.d script ===== | ===== 9. The init.d script ===== | ||
- | The init.d script can be used to start/stop the Kamailio | + | 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: |
- | + | ||
- | < | + | |
- | / | + | |
- | </ | + | |
< | < | ||
Line 235: | Line 232: | ||
</ | </ | ||
- | then edit the file updating the $DAEMON | + | then edit the file updating the $DAEMON |
< | < | ||
DAEMON=/ | DAEMON=/ | ||
+ | CFGFILE=/ | ||
</ | </ | ||
Line 265: | Line 264: | ||
</ | </ | ||
- | Then you can start/stop Kamailio | + | Then you can start/stop Kamailio using the following commands: |
< | < | ||
Line 303: | Line 302: | ||
</ | </ | ||
- | Now you have the latest Kamailio | + | Now you have the latest Kamailio devel running on your system. |
Line 315: | Line 314: | ||
</ | </ | ||
- | then an update has been made to Kamailio | + | then an update has been made to Kamailio devel version and it will be available to the public GIT in no time. |