cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1443
Views
0
Helpful
2
Replies

MS TEAM Button on Cisco touch JION BY Dial

Kabeern74
Level 1
Level 1

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 

 

2 Replies 2

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.



Response Signature


Jonathan Schulenberg
Hall of Fame
Hall of Fame

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.