[SR-Users] record-route and INFO

David Villasmil david.villasmil.work at gmail.com
Wed Nov 18 17:28:08 CET 2020

Hello guys,

I have a setup like this:


I have mhomed=0, enable_double_rr=1, I'm listening on 2 different ports, 1
private, 1 public (with advertise) and on Kamailio1 the DISPATCH ROUTE I
force the socket


To the private ip when the destination IP is a private IP.

This all works fine.

But When calling OUT (i.e. public) kamailio adds itself only for the
private IP:

*INVITE sip:12345678 at mydmain.com <sip%3A12345678 at mydmain.com>
SIP/2.0Record-Route: <sip:;lr;did=9da.3a61;nat=yes>Via:

So when INFO messages come from the provider to kamailio2, kamailio 2 tries
to send the INFO straight to "".

Should i manually add a record-route when calling OUT with


Or is there a better way of getting this working?


David Villasmil
email: david.villasmil.work at gmail.com
phone: +34669448337
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20201118/cc27e020/attachment.htm>

More information about the sr-users mailing list