Merge pull request #9037 from jitsi/tavram/sip-invite-password
feat(sip-invite) add room password for sip invite requests
This commit is contained in:
commit
ef4af415a8
|
@ -177,6 +177,7 @@ export function invite(
|
||||||
sipInviteUrl,
|
sipInviteUrl,
|
||||||
jwt,
|
jwt,
|
||||||
conference.options.name,
|
conference.options.name,
|
||||||
|
conference.password,
|
||||||
displayName
|
displayName
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -812,6 +812,7 @@ export function isSharingEnabled(sharingFeature: string) {
|
||||||
* @param {string} sipInviteUrl - The invite service that generates the invitation.
|
* @param {string} sipInviteUrl - The invite service that generates the invitation.
|
||||||
* @param {string} jwt - The jwt token.
|
* @param {string} jwt - The jwt token.
|
||||||
* @param {string} roomName - The name to the conference.
|
* @param {string} roomName - The name to the conference.
|
||||||
|
* @param {string} roomPassword - The password of the conference.
|
||||||
* @param {string} displayName - The user display name.
|
* @param {string} displayName - The user display name.
|
||||||
* @returns {Promise} - The promise created by the request.
|
* @returns {Promise} - The promise created by the request.
|
||||||
*/
|
*/
|
||||||
|
@ -821,6 +822,7 @@ export function inviteSipEndpoints( // eslint-disable-line max-params
|
||||||
sipInviteUrl: string,
|
sipInviteUrl: string,
|
||||||
jwt: string,
|
jwt: string,
|
||||||
roomName: string,
|
roomName: string,
|
||||||
|
roomPassword: String,
|
||||||
displayName: string
|
displayName: string
|
||||||
): Promise<void> {
|
): Promise<void> {
|
||||||
if (inviteItems.length === 0) {
|
if (inviteItems.length === 0) {
|
||||||
|
@ -840,7 +842,8 @@ export function inviteSipEndpoints( // eslint-disable-line max-params
|
||||||
callUrlInfo: {
|
callUrlInfo: {
|
||||||
baseUrl,
|
baseUrl,
|
||||||
callName: roomName
|
callName: roomName
|
||||||
}
|
},
|
||||||
|
passcode: roomPassword
|
||||||
},
|
},
|
||||||
sipClientParams: {
|
sipClientParams: {
|
||||||
displayName,
|
displayName,
|
||||||
|
|
Loading…
Reference in New Issue