A number of additional ports have been opened on Kamailio – the relevant one here is TCP
443. An INVITE comes in from a UA whose from URI is suffixed with :443. PUA generates a
PUBLISH out of this. Log is at
https://gist.githubusercontent.com/phil-lavin/c381d556c22fd29b4fde/raw/77c5….
The relevant bit to the issue is the last line. PUA is trying to send the PUBLISH to the
address and port taken from the from URI… however it sends it over UDP. Because Kamailio
is not bound to UDP 443, the PUBLISH is not received.
A hacky “fix” is to make Kamailio bind to UDP 443 as well as TCP 443. I will dig into this
deeper today in an attempt to find a better fix.
Suggestions around what is the best solution would be appreciated. I’m thinking that
sending this over TCP is not desirable in most instances – unless perhaps Kamailio is only
bound to TCP ports?
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/509