Re: [sr-dev] [kamailio/kamailio] Hostname only (no ports) in the advertise parameter should be allowed (#1884)

2019-03-21 Thread jklingenmeyer
Hi Daniel, Thanks for the quick fix you proposed, really appreciate it. I have to admit I didn't even think to try with port 0 for the advertise option! But it does not seem to behave as I expect: _Via_ headers are still filled with a port in my case. I did some deep checks and maybe I am not t

Re: [sr-dev] [kamailio/kamailio] Hostname only (no ports) in the advertise parameter should be allowed (#1884)

2019-03-18 Thread Daniel-Constantin Mierla
Closed #1884. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/1884#event-2210419627___ Kamailio (SER) - Development Mailing List sr-dev@l

Re: [sr-dev] [kamailio/kamailio] Hostname only (no ports) in the advertise parameter should be allowed (#1884)

2019-03-18 Thread Daniel-Constantin Mierla
It proved not to be complex, just a matter of the current config grammar. Even with the old versions you can set the port to `0` and then it should not appear in the headers. Anyhow, I pushed also a commit that allows advertise with host only, being an alias to `... advertise host:0`. When list

[sr-dev] [kamailio/kamailio] Hostname only (no ports) in the advertise parameter should be allowed (#1884)

2019-03-08 Thread jklingenmeyer
### Description The `advertise` option in a `listen` parameter seems to only allow the following syntax: `advertise ip_or_host:port` The `advertise ip_or_host` syntax is not allowed and gives the following error: > CRITICAL: [core/cfg.y:3507]: yyerror_at(): parse error in config file > /etc/kam