Instructions to download sources from GIT repository, specific for stable branch 4.0 (release series v4.0.x).
Direct download of sources from GIT for latest Kamailio v4.0.x.
git clone --depth 1 git://git.sip-router.org/kamailio kamailio cd kamailio git checkout -b 4.0 origin/4.0