Hi,
Saw my name mentioned here, thought I'd chime in.
Unfortunately you have to compile Kamailio in order to use the nsqd module as of now (even in the 5.x releases).
This is because some of the nsq dependency libraries aren't packaged for linux distributions. You need to compile and install these libraries manually:
libevbuffsock and
libnsq
That being said-- I'm looking at using the xhttp module to replace some of the functionality in that blog post you mentioned.
I've already successfully swapped out jannson-rpc (for performing authentication) with xhttp. I wrote a simple go-app for the xhttp module to hit for authentication, you can find that
here.
It's important to leverage Kamailio's htable so you aren't hammering your http server for authentication requests, if you do this properly it works amazingly well (you can easily scale into the 100,000s of users).
The 2nd part of that blog post talks about using nsqd for presence... my next experiment is to replace nsqd with xhttp. The xhttp module allows inbound http requests to Kamailio and executes an event-route for each request. This is very similar to how the nsqd module executes an event-route on receiving an nsq message, so it should not be too difficult to swap it out.
Once i have some more time, I'll post a tutorial on all this.
Thanks
/E