]> 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:29 +0000 (07:20 -0500)
commitdc1e446ebd0d7f93ad3d9a82f291c500e351e7a4
tree6195018b747642eff100f0f563b402d8a02a3d18
parenta143c37fc0e76a63d69a955f3f8ec9b38ef760cf
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