I'm assuming you are interfacing with an external party, and then, yes, the external IP should be used for the RR header assuming that party should be able to route to that route.
Furthermore I assume you have multiple interfaces on your machine, in such case you need to set the listen/advertise param:
https://www.kamailio.org/wiki/cookbooks/5.1.x/core#listen cookbooks:5.1.x:core [Kamailio SIP Server Wiki]https://www.kamailio.org/wiki/cookbooks/5.1.x/core#listen This is the second section of the configuration file, containing the directives to load modules and set their parameters. It contains the directives loadmodule and ... www.kamailio.org
Cheers, Samuel ________________________________ From: sr-users sr-users-bounces@lists.kamailio.org on behalf of Wilkins, Steve swwilkins@mitre.org Sent: Tuesday, February 6, 2018 00:32 To: Kamailio (SER) - Users Mailing List Subject: [SR-Users] Contact and Record-Route are using Private IP Address- is this correct?
Hello All,
Contact and Record-Route are using Private IP Address - is this correct? I though the Public IP should be used. I do not know what setting is causing this to happen. Does anyone have any ideas?
Thank you,
-Steve