]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_transport_websocket: Also set the remote name.
authorJoshua C. Colp <jcolp@sangoma.com>
Tue, 17 May 2022 12:18:03 +0000 (09:18 -0300)
committerJoshua Colp <jcolp@sangoma.com>
Thu, 19 May 2022 15:21:17 +0000 (10:21 -0500)
commit1ab6ff175d8bd23ee387bac8280903729b94837b
treeaced64c17d7649ab6774705c8ff7f7222d984a2f
parentc11dc10be164fed746954d92a93d79ecd9107ae7
res_pjsip_transport_websocket: Also set the remote name.

As part of PJSIP 2.11 a behavior change was done to require
a matching remote hostname on an established transport for
secure transports. Since the Websocket transport is considered
a secure transport this caused the existing connection to not
be found and used.

We now set the remote hostname and the transport can be found.

ASTERISK-30065

Change-Id: Ia1cdef33e1411f927985b4b852c95e163c080e94
(cherry picked from commit c5c858287a6d7fb17af84e6abd90447afb26eb94)
res/res_pjsip_transport_websocket.c