A new version of the tutorial about Asterisk and Kamailio realtime integration is out, upgraded to use the latest stable release of Kamailio, v3.1.0. You can find it at:

Besides making it work for v3.1.x, the Kamailio config file has some new features included:

  • IP authentication – can be enabled via define WITH_IPAUTH
  • TLS support – can be enabled via define WITH_TLS – TLS to UDP translation and vice-versa is done automatically by Kamailio in case you configure Asterisk on UDP
  • detection of DoS attacks – can be enabled via define WITH_ANTIFLOOD – banning automatically traffic from attacker IP addresses for a specific time interval
  • restructuring of configuration file for better modularity and highlighting of functionalities such as registrar, location server, within-dialog request routing