Brussels / 4 & 5 February 2017

schedule

Lua API for RTC Services with Kamailio

Build scalable VoIP services with Lua


Kamailio is an open source SIP (RFC3261) server that can be used for building real time communications systems for IP telephony, instant messaging or presence. Seeral years ago it introduced a Lua embedded interpreter to allow more flexibility in routing calls. Recently, it was extended to allow entire RTC routing logic to be written in Lua. This talk focuses on showing the insights of implementing the LUA RTC API in Kamailio, tips and tricks discovered to make it as fast as the native pre-compiled routing language, and the benefits it bring to enhance RTC systems and integrate with third party services, such as social networking platforms (e.g., sending a Twitter DM on a missed call).

Real time communications has evolved at a fast pace in the last decade. From what it used to be direct voice calls or testing via classic or mobile telephony, nowadays everyone connects through a multitude of channels, dedicated messaging systems or other social media channels. Kamailio is an open source SIP server developed since 2001, with an initial focus on scalability for IP telephony services. To allow more flexibility and easier integration with other RTC services, an embedded LUA interpreter was added to it and with a recent development, the entire SIP routing logic can be written in Lua. The presentation will reveal insights of implementing the LUA RTC API in Kamailio, tips and tricks discovered to make it as fast as the native pre-compiled routing language, and the benefits it bring to enhance RTC systems and integrate with third party services, such as social networking platforms (e.g., sending a Twitter DM on a missed call).

Speakers

Photo of Daniel-Constantin Mierla Daniel-Constantin Mierla

Attachments

Links