fix(sip-invite) do not send query params on sip invite request
This commit is contained in:
parent
067ff0729e
commit
529b182666
|
@ -827,7 +827,10 @@ export function inviteSipEndpoints( // eslint-disable-line max-params
|
|||
return Promise.resolve();
|
||||
}
|
||||
|
||||
const baseUrl = locationURL.href.toLowerCase().replace(`/${roomName}`, '');
|
||||
const baseUrl = Object.assign(new URL(locationURL.toString()), {
|
||||
pathname: locationURL.pathname.replace(`/${roomName}`, ''),
|
||||
search: ''
|
||||
});
|
||||
|
||||
return fetch(
|
||||
sipInviteUrl,
|
||||
|
|
Loading…
Reference in New Issue