res_pjsip_transport_websocket: Ensure secure Websocket clients can be called.
authorJoshua Colp <jcolp@digium.com>
Sun, 24 Aug 2014 18:54:00 +0000 (18:54 +0000)
committerJoshua Colp <jcolp@digium.com>
Sun, 24 Aug 2014 18:54:00 +0000 (18:54 +0000)
commit2c0cbf8e64f1d79d4d11a3fc1acb7e10e6b44a20
tree6a514d7b6565f2cebc17d14cac3e91829b84faec
parentcee660dadf1e809bbc9fc452d711e0da89b006bb
res_pjsip_transport_websocket: Ensure secure Websocket clients can be called.

This change enforces the transport in the Contact header for Websocket clients.
Previously a client may provide a transport of 'ws' when it is actually using
a transport of 'wss'. This would cause outgoing calls to fail as the existing
connection could not be found.
........

Merged revisions 421931 from http://svn.asterisk.org/svn/asterisk/branches/12
........

Merged revisions 421932 from http://svn.asterisk.org/svn/asterisk/branches/13

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@421933 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_pjsip_transport_websocket.c