<div dir="ltr">Hi <span style="color:rgb(0,0,0);white-space:pre-wrap">Daniel,</span><div><br></div><div>Thanks for the clarification, this really helps. </div><div><br></div><div>In the doc, it says that using advertised_address param should take care of the RR (other destination lumps).</div><div><a href="goog_30153741"><br></a></div><div><a href="https://www.kamailio.org/wiki/cookbooks/5.0.x/core#advertised_address">https://www.kamailio.org/wiki/cookbooks/5.0.x/core#advertised_address</a></div><div><br></div><div>I think the doc should be updated with your example. </div><div><br></div><div>listen=udp:x.x.x.x:5060 advertise x.x.x.x:5060<br></div><div><br></div><div>This works perfectly when the machine instance has VIP as public IP.</div><div><br></div><div>@Ivo:  <span style="color:rgb(0,0,0);white-space:pre-wrap">record_route_advertised_address() also works in replacing the RR.</span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">Thanks for the help.</span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div class="gmail_extra"><div><div class="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><span style="font-family:arial;font-size:12px">Best regards,</span></div><div dir="ltr"><span style="font-family:arial;font-size:12px">MRIDUL<br></span></div></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Wed, Apr 12, 2017 at 5:15 PM, Mridul B <span dir="ltr"><<a href="mailto:mridul@plivo.com" target="_blank">mridul@plivo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>Using <b>advertised_address </b>core parameter in the kamailio script doesn't update the address mentioned in the Record-Route header. </div><div><br></div><div>We see this problem in the 200 OK message (of the INVITE msg), where the Record-Route header sent by the Kamailio contains socket address.</div><div><br></div><div>We're using kamailio 4.4.5 (x86_64/linux) 239f3c</div><div><b><br></b></div><div>Can you please tell if this core parameter is effective for changing the RR header ?</div><div><br></div><div>Thanks</div><div><div><div><div class="gmail-m_-2490380037056548976gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><span style="font-family:arial;font-size:12px">Best regards,</span></div><div dir="ltr"><span style="font-family:arial;font-size:12px"><b>MRIDUL</b></span><br style="font-family:arial;font-size:12px"><br></div></div></div></div></div></div></div></div></div></div></div>
</div></div></div>
</blockquote></div><br></div></div>