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

Daniel-Constantin Mierla notifications at github.com
Mon Mar 18 14:46:44 CET 2019


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 listing the sockets via rpc, the port 0 will appear, but in headers should be no port.

I did basic testing, if it does not work, reopen this issue.

-- 
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#issuecomment-473916147
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20190318/4c367cf6/attachment.html>


More information about the sr-dev mailing list