Hello, 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:
- https://www.kamailio.org/wiki/cookbooks/5.0.x/core#listen The advertise_address is only for Via, for Record-Route you will have to use other functions from RR module Cheers, Daniel On 12.04.17 13:45, Mridul B wrote: > Hi, > > Using *advertised_address *core parameter in the kamailio script > doesn't update the address mentioned in the Record-Route header. > > 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. > > We're using kamailio 4.4.5 (x86_64/linux) 239f3c > * > * > Can you please tell if this core parameter is effective for changing > the RR header ? > > Thanks > Best regards, > *MRIDUL* > > > > _______________________________________________ > Kamailio (SER) - Users Mailing List > [email protected] > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users -- Daniel-Constantin Mierla www.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio Advanced Training - May 22-24 (USA) - www.asipto.com Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com
_______________________________________________ Kamailio (SER) - Users Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
