For now Kamailio module [stirshaken](https://github.com/kamailio/kamailio/tree/master/src/modules/stirshaken) is not compatible with libks2. So first we need update stirshaken Kamailio module first.
I see the version in the kamailio repo as 2.0.2 - isn't that same as Signalwire's libks2 (API wise)? FreeSWITCH has libks-1.8.2 and libks2-2.0.0. I assume it is from the same repo but starting at different tags.