]> 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:25 +0000 (10:21 -0500)
commit3d441e1080d98e6ef23cd9206409eaf84184f153
tree8bbf93303406ec1a9b0eb7cad6f0e80272c6d5b5
parentb026b473d30f304fdc785c838872be6b0f077fcd
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 dc1e446ebd0d7f93ad3d9a82f291c500e351e7a4)
res/res_pjsip_transport_websocket.c