Most common way is by using `advertise`  in the `listen` directive.

https://www.kamailio.org/wiki/cookbooks/5.3.x/core#listen

On Fri, Apr 24, 2020 at 2:19 PM Nasida Yuriy <nasida@live.ru> wrote:

Hi guys,

It sounds simple but I can not get  domain name in VIA header (INVITE) instead of IP address.

It is just 

FS ---INVITE --> Kamailio --INVITE--> endpoint

Kamailio gets INVITE, and adds one more VIA with it's IP address. How to get domain name instead ?

Please advice.

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users