<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hello,</p>
<p>you should use listen with advertise instead of advertise_address
parameter, it takes care of both Via and Record-Route, as well as
matching 'myself'. See:</p>
<p> - <a class="moz-txt-link-freetext" href="https://www.kamailio.org/wiki/cookbooks/5.0.x/core#listen">https://www.kamailio.org/wiki/cookbooks/5.0.x/core#listen</a><br>
</p>
<p>The advertise_address is only for Via, for Record-Route you will
have to use other functions from RR module<br>
</p>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 12.04.17 13:45, Mridul B wrote:<br>
</div>
<blockquote
cite="mid:CA+zJJFK4w2dA6Lmmn+Tfn1NoBgP3AXgF26QaUcA+ta0iPk5Lww@mail.gmail.com"
type="cite">
<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_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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - May 22-24 (USA) - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - May 8-10, 2017 - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
</body>
</html>