Kamailio 4.2.3, Update from git

Posted . ~1min read.

Kamailio 4.2.3 has been released.

Kamailio SIP Server v4.2.3 stable is out – a minor release including fixes in code and documentation since v4.2.2 – configuration file and database compatibility is preserved.

So, if you’re updating from git, the simple way to update is:

  1. cd /usr/local/src/kamailio-4.2/kamailio (or your kamailio directory)
  2. git pull origin
  3. make all
  4. make install
  5. /etc/init.d/kamailio restart

Problems? I had one…

When I ran the git pull origin command, I kept receiving the error fatal: read error: Connection reset by peer.

I switched to the repository on github, and all worked:

  1. cd /usr/local/src/kamailio-4.2/kamailio
  2. git remote set-url origin https://github.com/kamailio/kamailio.git
  3. git pull origin
  4. make all
  5. make install
  6. /etc/init.d/kamailio restart

You can see your current url by running git remote -v.

Next...
...and even more...