12-21-2022 09:50 PM
dear Any Please share the Scrip for Macro to add the team button
and join team calls from touch by dialling the team ID
one Demo Attached for Refence
thanks
12-22-2022 02:34 AM
Here is the js code for a macro that works with CVI and the icon file we use on our systems.
const xapi = require('xapi');
const domain = ".<company domain>@m.webex.com";
function onGuiTeams(event) {
if (event.PanelId == 'teams_start') {
xapi.command('UserInterface Message TextInput Display', {
FeedbackId: 'teamsStart',
InputType: 'Numeric',
Text: 'Join the <Company Name> Teams meeting by typing the meeting ID or the full meeting invite.',
Placeholder: 'Meeting ID or full meeting invite',
SubmitText: 'Join',
Title: 'Join a <Company Name> Microsoft Teams Meeting',
Duration: 30,
});
}
}
function TeamsMeeting(event) {
if (event.FeedbackId == 'teamsStart') {
if (event.Text.search("@m.webex.com") == -1) {
xapi.command('Dial', {
Number: event.Text + domain,
});
}
else {
xapi.command('Dial', {
Number: event.Text,
});
}
}
}
xapi.event.on('UserInterface Extensions Panel Clicked', onGuiTeams);
xapi.event.on('UserInterface Message TextInput Response', TeamsMeeting);
Do note that this will not work for connecting to a meeting that uses WebRTC, that is the standard for MS Teams. It works for SIP calls where a CVI is used.
12-24-2022 05:31 AM
Cisco has published an example Join 3rd-Party Meeting UI but be forewarned that it only works where the MSFT Teams Meeting host has paid for a CVI provider so there is a SIP URI. Support for WebRTC joins isn’t available yet, supposedly because MSFT universal meeting IDs are not yet supported via a browser join.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide