Cookie Preference Centre

Your Privacy
Strictly Necessary Cookies
Performance Cookies
Functional Cookies
Targeting Cookies

Your Privacy

When you visit any web site, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences, your device or used to make the site work as you expect it to. The information does not usually identify you directly, but it can give you a more personalized web experience. You can choose not to allow some types of cookies. Click on the different category headings to find out more and change our default settings. However, you should know that blocking some types of cookies may impact your experience on the site and the services we are able to offer.

Strictly Necessary Cookies

These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site may not work then.

Cookies used

Performance Cookies

These cookies allow us to count visits and traffic sources, so we can measure and improve the performance of our site. They help us know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies, we will not know when you have visited our site.

Cookies used

Google Analytics

Functional Cookies

These cookies allow the provision of enhance functionality and personalization, such as videos and live chats. They may be set by us or by third party providers whose services we have added to our pages. If you do not allow these cookies, then some or all of these functionalities may not function properly.

Cookies used




Targeting Cookies

These cookies are set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant ads on other sites. They work by uniquely identifying your browser and device. If you do not allow these cookies, you will not experience our targeted advertising across different websites.

Cookies used


This site uses cookies and other tracking technologies to assist with navigation and your ability to provide feedback, analyse your use of our products and services, assist with our promotional and marketing efforts, and provide content from third parties


Upcoming Events


How To Enter the 2020 Members' Choice Awards - For Vendors




UCWA by the numbers - #5 Re-join Conversations - Clarity Connect - Blog

UCWA by the numbers - #5 Re-join Conversations

I have been a bit lax on finding aspects of UCWA that could use a bit of demystification, but it is not to say that there are not things I do not understand rather that I have not spent time thinking about some of the more unique scenarios. One of those scenarios is needing to re-join an in-progress conversation that the UCWA dropped out of. This can be achieved by utilizing the threadId parameter provided either when making the initial POST request to startMessaging or as part of event channel data included in messagingInvitation / conversation events. I'm re-purposing work done for UCWA by the numbers – #4 Anonymous Meeting Join and creating a sample that allows user sign-in (username and password) and starts a conversation with a specified user. Additional buttons will be present to leave and re-join the conversation. Refreshing the page will attempt to clean up the UCWA application similar to how anonymous meeting join cleaned up.

The sample I have in mind will make use of startMessaging providing operationId (required), to (required), threadId (optional). It is possible to not provide threadId and parse messagingInvitation or conversation event data to retrieve a generated threadId (as seen below).

Differences between Conversations and Meetings

One interesting situation I encountered when transitioning the code from meeting to conversation is how event data related to typingParticipants and message (other events exhibit this behavior, but are less important to this sample). Meeting events will contain a participant object that has a populated title property whereas conversation events do not. This immediately posed a problem due to the code structure of expecting to find this value to indicate who is typing or sent a message.

Meeting - typingParticipants

Conversation typingParticipants

Meeting - message

Conversation - message

While this property value may not be available in certain circumstances it is possible to follow the participant href to get data stored in the meeting or conversation about the participant. This however had similar problems that a name property was not available to conversation, but by following the contact href it is possible to finally reach the name (or title).



I created an array of titles/names indexed by URI to track what users I had already executed the additional requests (as opposed to getting new contact information every new typingParticipants / message event). It was also important to track completed messagingInvitation and conversation events to determine if/when a remote participant declined the invitation or a failure occurred and when the conversation has ended.

Re-join a Conversation

After authenticating and starting a conversation with a remote participant it is possible to leave the conversation via Leave Conversation button. What I did notice is that after making the request to startMessaging with the original threadId is the UCWA joins a conversation while the remote user can take a short while before they re-join the conversation. I have actually seen two distinct behaviors surrounding this as follows:

  • Lync Client is in background - Upon re-join request a popup message indicating that UCWA user is adding IM appears and both users appears in sample site under participants list
  • Lync Client is in foreground - Upon re-join Lync conversation window blinks and only UCWA user appears in sample site under participants list

Eventually the remote participant appears in both situations, but it is a bit odd at first glance.

Traces and Code

Traces containing the differences between Meetings and Conversations are as follows:

  • Conv (2 non-fed).saz - Conversation between 2 non-federated contacts
  • Meeting (2 non-fed).saz - Meeting between 2 non-federated contacts

The code is structured as follows:

  • Authentication.js - Version identical to AnonMeeting.7z
  • AutoDiscovery.js - Version identical to AnonMeeting.7z
  • Cache.js - Version identical to AnonMeeting.7z
  • Events.js - Version identical to AnonMeeting.7z
  • GeneralHelper.js - Version identical to AnonMeeting.7z
  • index.html - Main site with modifications for Conversations
  • RejoinConversation.js - Re-purposed logic from AnonMeeting.7z for handling buttons (start/leave/rejoin conversation, send message) and event handling
  • Transport.js - Version identical to AnonMeeting.7z
  • UcwaObject.js - Re-purposed logic from AnonMeeting.7z for handling AutoDiscovery, Authentication, and reportMyActivity

Sample code: RejoinConversation.7z

Next Up

I am thinking about doing a short excerpt on how to parse HTTP links posted into a conversation from Lync/LWA as they can appear funky.


Publish Date: September 11, 2015 5:00 AM

2020 Buyers Guide Consultancies

Call Center Masters

Giving consulting services to call centers

CC-CMM Certification Institute

CC-CMM Certification


Service Journey Thinking
Service Journey Thinking is a comprehensive approach for improving the experience customers have along the service journey. It considers the service journey not only from the customer’s perspective, but it also examines the components that support the experience, including people, technology, processes and policies. By applying Service Journey Thinking, COPC Inc. helps brands promote greater efficiency, improved performance and reduced cost within their operations. For customers, this means reduced effort, improved satisfaction and enhanced loyalty.
PH: 1.407.304.9032


Genesys PureConnect
Call Centers, Contact Centers and Cloud Solutions Consultancies

Customer Support Asia

Customer Support Asia assures the success of service offshoring initiatives in the Philippines. Our consultancy serves both:
- clients that have service partners in the Philippines, and need to implement a major service initiative (performance/CX improvement, service change, site expansion, etc); and
- clients that desire to outsource services to the Philippines for the first time, and need expert help to qualify an an "ideal fit" partner, and manage an end-to-end service transition

We support both contact center services and "back office" BPO projects, limiting our practice to sites in the Philippines
PH: +1 919 446 5114

CX Central

Contact Centre Specialist Consulting
CX Consult provides specialist contact centre consulting with decades of experience across Australia and Asia/Pacific lead by industry expert Justin Tippett. Services include health checks, optimisation, outsourcing (local and offshore), technology upgrades, strategy and more.

Whether you have a 5 seat contact centre or a large multi-site operation we'll provide you with expert advice to ensure you can achieve your business objectives.
PH: +61 3 9008 7287

ERIC YOUNG ASSOCIATES (Tele-Centre Assist Inc.)

Contact Center Consulting & Profit Improvement (Lean Six Sigma), Inside Sales, Efficiencies, Call Center Audit, Technology & vendor selection, Telephony, Recruiting, Training, Performance Management, Customer Journey Mapping, Software (CRM) Implementations
PH: (416) 498-9440

Lieber & Associates

Contact Center Consulting
Lieber & Associates assists organizations with contact center issues.This includes management, processes, training, and technology. The firm's assessments evaluate and make recommendations for 15 call center areas ranging from call seasonalities to staffing to better use of the telephone systems. Contact center technology services range from new technology selection and implementation to problem-solving and optimization to technical trouble-shooting. Senior consultants have more than 20 years of experience each and are leaders in their discipline. Clients span most business sectors.
PH: +1-773-325-0608

Mpathy Plus

Mpathy Plus transform service, improve performance and provide operational support. We work in all areas of customer service and contact centres from initial strategy, feasibility studies, business cases, project management through to operational reviews, resource planning etc. We are independent and have vast experience of implementing, managing and changing contact centres and the customer experience.
PH: 08450 569800

Outsourcing Solutions Europe

Outsourcing Solutions Europe is an advisory firm that helps companies to find the right contact center/BPO partner to serve European customers


We can help You boost Your business results by:

- Building or developing high performing multi-channel customer care operations

- Improving metrics like Customer Satisfaction, Net Promoter Score (NPS), Customer Effort Score (CES), First Contact Resolution (FCR), Customer Retention rate, Inbound conversions

- Developing Your teams' skills to excel front and back-office operations and Customer relations

- Preparing and executing efficient Voice of the Customer and Customer Advocacy approach

- We will help You manage challenges and risks when changes affect people, operations and technology.

SCC Services Group

Contact Center Operations Performance Management
In today’s competitive business environment, contact center and marketing professionals are constantly challenged to manage a growing business, achieve superior performance levels and at times are asked to support services and products that are becoming more complex.

Faced with this reality, the consulting disciplines that SCC Services Group focuses on are operations management and service delivery excellence in the customer service, contact center and brand marketing arenas.

Our consulting practice puts emphasis on:

- Contact Center Operational Assessments
- Human Capital Management
- Organizational Structure
- Brand Marketing
- Strategic Planning
- Sales and Customer Care Tra...
(read more)
PH: 954-444-3668

The Taylor Reach Group

Established in 2003, The Taylor Reach Group is an award winning, call, contact centre and customer experience consulting and advisory firm. The company is based in Toronto and has offices in New York, Atlanta, Washington, Ottawa, London, Bangalore, Hong Kong and Beijing. We are vendor agnostic and do not partner with technology or outsource agencies. The only one who pays us are our clients. Each of our consultants possess a minimum of 20 years of ‘hands-on’ call/contact center operational management experience. We do not sell the pyramid, the seasoned experts you deal with through the sales process are the same people who will complete your project.
Taylor Reach has worked with contact cen...
(read more)
PH: 8663343739

Triad Services

Services Triad is a consulting firm with experience in the field of customer relations. He will celebrate his 25th professional anniversary in 2021. His facilitation skills and creativity allow him to work on many transformations related to the operational management challenges of customer contact centers.
With the support of his consulting team, he collaborates to many projects in Canada and abroad for public and private sector organizations. More than 275 consulting assignments and 150 benchmarking studies are part of his curriculum.
PH: 514-738-2197

View more from Clarity Connect

Recent Blog Posts:
Informal Contact CentersDecember 8, 2015 5:00 AM
The Importance of Intelligent Routing and ForwardingOctober 2, 2015 5:00 AM
What Really Matters in Your Contact Center? Headcount Turnover vs. Service LevelSeptember 11, 2015 5:00 AM
Getting rerouted messages to the right UCMA endpointSeptember 11, 2015 5:00 AM
UCWA - Messing with SignalR and NodeJSSeptember 11, 2015 5:00 AM
Response Groups and call forwardingSeptember 11, 2015 5:00 AM
Presence updates and multiple application poolsSeptember 11, 2015 5:00 AM
UCWA by the numbers - #5 Re-join ConversationsSeptember 11, 2015 5:00 AM
UCWA & Deciphering multipart/batching with FiddlerSeptember 11, 2015 5:00 AM
Clarity Connect + Skype for BusinessJuly 9, 2015 5:00 AM
Submit Event

Upcoming Events

15th annual Best Practice Conference - this is the contact center world's most highly rated event - a whopping 100% of delegates say they would recommend it!

100's of best practice tips and ideas from contact center professionals Read More...

Latest Americas Newsletter
both ids empty
session userid =
session UserTempID =
session adminlevel =
session blnTempHelpChatShow =
session cookie set = True
session page-view-total =
session page-view-total =
applicaiton blnAwardsClosed =
session blnCompletedAwardInterestPopup =
session blnCheckNewsletterInterestPopup =
session blnCompletedNewsletterInterestPopup =