[SR-Users] Encode host ip in Contact header for semi-stateless setup

Daniel Greenwald dgreenwald at gmail.com
Tue Nov 26 05:42:11 CET 2019


At kamailio world 2017, Jan Lorenz of Pascom explained how they use
kamailio in a semi-stateless manner and encode the asterisk's IP into the
contact header on the way out so that it can be decoded and used to route
properly on the way back without Record-Routing. I would like to create
such a setup.

I'm looking for pointers if there is a particular module/method that would
be ideal to to use for this. Any other gotcha's to consider in such a
setup. My plan is to keep the transaction on the same kamailio by not
altering the VIA but allow the subsequent in-dialog transactions to
potentially hit another kamailio by changing the contact to a shared SRV
record (and encoding the freeswitch box's IP into it for later retrieval.)

Thanks in advance.

Daniel Greenwald
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20191125/6d649e96/attachment.html>


More information about the sr-users mailing list