Re: [SR-Users] how to use get my domain name in VIA header (INVITE) instead of IP address.

2020-04-26 Thread Joel Serrano
And those, I AFAIR you can set dynamically with record_route_preset() / record_route_advertised_address() https://kamailio.org/docs/modules/5.3.x/modules/rr.html On Sun, Apr 26, 2020 at 06:47 Ovidiu Sas wrote: > There’s no need for FQDNs in Via headers for MS. IPs work just fine! > You need FQ

Re: [SR-Users] how to use get my domain name in VIA header (INVITE) instead of IP address.

2020-04-26 Thread Ovidiu Sas
There’s no need for FQDNs in Via headers for MS. IPs work just fine! You need FQDNs only in Route/Record-Route headers. Regards, Ovidiu Sas On Sat, Apr 25, 2020 at 13:08 Yuriy Nasida wrote: > Comrade :) > > Thanks for the advices! I will try them. > > And yes, that is for inbound calls to MS te

Re: [SR-Users] how to use get my domain name in VIA header (INVITE) instead of IP address.

2020-04-26 Thread Yuriy Nasida
Thanks for the answer Sergiu, but this shoud not be static domain name. I need to have different domains in Via for different calls. Is it possible ? On Fri, 24 Apr 2020 at 21:37, Sergiu Pojoga wrote: > Most common way is by using `advertise` in the `listen` directive. > > https://www.kamailio.