freeswitch/src/mod/endpoints/mod_sofia
Travis Cross b5294c53d6 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.
2014-10-10 18:36:37 +00:00
..
conf Remove misleading `tport` example from configs 2014-08-27 23:15:45 +00:00
Makefile.am baseline 2013-03-31 21:27:13 -05:00
mod_sofia.2008.vcproj add new files to msvc builds 2013-03-31 21:27:27 -05:00
mod_sofia.2010.vcxproj add new files to msvc builds 2013-03-31 21:27:27 -05:00
mod_sofia.2012.vcxproj Disabled some compiler warnings on Windows build (for Visual Studio 2012), also disabled code analysis one some projects. This should make the Windows build more clean in the future. 2014-01-22 22:47:11 +01:00
mod_sofia.c Merge pull request #47 in FS/freeswitch from ~FLAVIO/freeswitch-fs-5106:master to master 2014-10-07 14:06:34 -05:00
mod_sofia.h add 908-retry-seconds gateway param to set reg retry time when getting a 908 for backup interfaces to connect quickly 2014-10-09 14:43:23 -04:00
mod_sofia.vcproj add new files to msvc builds 2013-03-31 21:27:27 -05:00
rtp.c Fixed trucation of value warning. 2014-07-03 14:41:24 -07:00
sip-dig.c FS-3166 --resolve 2011-04-22 16:43:29 -05:00
sofia.c add 908-retry-seconds gateway param to set reg retry time when getting a 908 for backup interfaces to connect quickly 2014-10-09 14:43:23 -04:00
sofia_glue.c Fix crash on transport=tls with non-TLS profile 2014-10-10 18:36:37 +00:00
sofia_media.c FS-6874 #resolve 2014-09-30 17:05:06 -05:00
sofia_presence.c Fix crash on transport=tls with non-TLS profile 2014-10-10 18:36:37 +00:00
sofia_reg.c add 908-retry-seconds gateway param to set reg retry time when getting a 908 for backup interfaces to connect quickly 2014-10-09 14:43:23 -04:00