asterisk/res/res_pjsip
Jørgen H 7922f26cb0 res_pjsip WebRTC/websockets: Fix usage of WS vs WSS.
According to the RFC[1] WSS should only be used in the Via header
for secure Websockets.

* Use WSS in Via for secure transport.

* Only register one transport with the WS name because it would be
ambiguous.  Outgoing requests may try to find the transport by name and
pjproject only finds the first one registered.  This may mess up unsecure
websockets but the impact should be minimal.  Firefox and Chrome do not
support anything other than secure websockets anymore.

* Added and updated some debug messages concerning websockets.

* security_events.c: Relax case restriction when determining security
transport type.

* The res_pjsip_nat module has been updated to not touch the transport
on Websocket originating messages.

[1] https://tools.ietf.org/html/rfc7118

ASTERISK-26796 #close

Change-Id: Ie3a0fb1a41101a4c1e49d875a8aa87b189e7ab12
2017-03-01 09:53:18 -06:00
..
include Revert "Update qualifies when AOR configuration changes." 2017-02-08 11:54:39 -06:00
config_auth.c res_pjsip: Add "like" processing to pjsip list and show commands 2015-10-24 11:02:43 -05:00
config_domain_aliases.c res_pjsip: Move internal init/destroy prototypes to private header file. 2015-03-11 16:39:29 +00:00
config_global.c res_pjsip: Add ignore_uri_user_options option. 2016-09-09 17:13:02 -05:00
config_system.c res_pjsip: Set threadpool max size default to 50. 2015-11-02 18:24:09 -05:00
config_transport.c PJSIP: provide valid tcp nodelay option for reuse 2016-07-07 11:32:58 -05:00
location.c Revert "Update qualifies when AOR configuration changes." 2017-02-08 11:54:39 -06:00
pjsip_cli.c pjproject cli: Add object count after object lists 2017-02-20 08:07:31 -06:00
pjsip_configuration.c Free endpoint ACLs when destroying PJSIP endpoints. 2017-01-23 16:22:34 -06:00
pjsip_distributor.c Merge "res_pjsip: Update artificial auth whenever default_realm changes." 2017-02-21 22:55:13 -06:00
pjsip_global_headers.c res_pjsip: Allow global headers to be overridden. 2016-09-07 16:02:01 -05:00
pjsip_message_ip_updater.c pjsip: Support dual stack automatically. 2016-10-23 13:53:55 +00:00
pjsip_options.c res_pjsip: Fix crash when contact has no status 2017-02-27 15:16:57 -06:00
pjsip_resolver.c Add support for older name resolving version libraries like openBSD 2016-11-20 09:19:18 +11:00
pjsip_scheduler.c res_pjsip_pubsub: Correctly implement persisted subscriptions 2017-02-15 13:11:46 -06:00
presence_xml.c res/res_pjsip/presence_xml.c: Add missing 2nd call presence state case. 2016-01-21 16:04:39 -06:00
security_events.c res_pjsip WebRTC/websockets: Fix usage of WS vs WSS. 2017-03-01 09:53:18 -06:00