]> 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>
Tue, 17 May 2022 12:20:14 +0000 (07:20 -0500)
commitf01ce810d0bbdd7b8e1e29a758a290b927c9e4ca
tree194f984da81ec3585fae0ec5c310396825712f52
parentc720ccf46a8371ff1422c726381680d0c78b5505
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
res/res_pjsip_transport_websocket.c