Commits
Travis Cross committed b5294c53d69
Fix crash on transport=tls with non-TLS profile We use the transport of the Contact header of the remote UAC to decide which of our own Contact addresses we should use when replying to a SUBSCRIBE or sending a presence NOTIFY. If TLS is not enabled on a Sofia profile, then the TLS Contacts for that profile are NULL. Unfortunately we were using these NULL values uncritically when the remote UAC sent us a Contact header with a TLS transport and our own Sofia profile did not have TLS enabled. With this commit we fall back to our TCP Contact address when the remote Contact is TLS and our Sofia profile does not have TLS enabled.