From 4d6e28d6f09276fae9a2be473afaded66a00f090 Mon Sep 17 00:00:00 2001 From: parv_gour Date: Sun, 13 Apr 2025 16:20:27 +0530 Subject: [PATCH 1/4] fix(samples): login issue --- docs/samples/contact-center/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/samples/contact-center/index.html b/docs/samples/contact-center/index.html index f737556aacf..cb0fbf5ef67 100644 --- a/docs/samples/contact-center/index.html +++ b/docs/samples/contact-center/index.html @@ -115,7 +115,6 @@

Agent Login @@ -280,6 +279,7 @@

Set the state of the agent

} + From d0e4383cff635b991113fd0dff7b3816a38c78da Mon Sep 17 00:00:00 2001 From: parv_gour Date: Sun, 13 Apr 2025 16:21:13 +0530 Subject: [PATCH 2/4] fix(samples): login issue --- docs/samples/contact-center/index.html | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/samples/contact-center/index.html b/docs/samples/contact-center/index.html index cb0fbf5ef67..a468a8164d5 100644 --- a/docs/samples/contact-center/index.html +++ b/docs/samples/contact-center/index.html @@ -279,7 +279,6 @@

Set the state of the agent

} - From d09b3f9404719512ec857d17c7e7aaa89de5d105 Mon Sep 17 00:00:00 2001 From: parv_gour Date: Sun, 13 Apr 2025 16:24:39 +0530 Subject: [PATCH 3/4] fix(samples): login issue --- docs/samples/contact-center/app.js | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/samples/contact-center/app.js b/docs/samples/contact-center/app.js index 48f66ecb331..84b90512360 100644 --- a/docs/samples/contact-center/app.js +++ b/docs/samples/contact-center/app.js @@ -713,7 +713,6 @@ function register() { teamsDropdown.add(option); }); const loginVoiceOptions = agentProfile.loginVoiceOptions; - agentLogin.innerHTML = ''; // Clear previously selected option on agentLogin. dialNumber.value = agentProfile.defaultDn ? agentProfile.defaultDn : ''; dialNumber.disabled = agentProfile.defaultDn ? false : true; if (loginVoiceOptions.length > 0) loginAgentElm.disabled = false; From 78a0c45bce2966e2e811944ef9c22ff8b18176b2 Mon Sep 17 00:00:00 2001 From: Ravi Chandra Sekhar Sarika Date: Tue, 29 Apr 2025 14:38:44 +0530 Subject: [PATCH 4/4] fix: added extra info logs for debug purposes --- packages/@webex/plugin-cc/src/cc.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/packages/@webex/plugin-cc/src/cc.ts b/packages/@webex/plugin-cc/src/cc.ts index f83f523cc24..3536cbb6272 100644 --- a/packages/@webex/plugin-cc/src/cc.ts +++ b/packages/@webex/plugin-cc/src/cc.ts @@ -563,6 +563,10 @@ export default class ContactCenter extends WebexPlugin implements IContactCenter private async silentRelogin(): Promise { try { const reLoginResponse = await this.services.agent.reload(); + LoggerProxy.info('event=silentRelogin | Silent relogin successful', { + module: CC_FILE, + method: this.silentRelogin.name, + }); const { agentId, lastStateChangeReason, @@ -576,6 +580,11 @@ export default class ContactCenter extends WebexPlugin implements IContactCenter this.agentConfig.lastIdleCodeChangeTimestamp = lastIdleCodeChangeTimestamp; await this.handleDeviceType(deviceType as LoginOption, dn); + LoggerProxy.info('handleDeviceType completed successfully', { + module: CC_FILE, + method: this.silentRelogin.name, + }); + // To handle re-registration of event listeners on silent relogin // TODO: https://jira-eng-gpk2.cisco.com/jira/browse/SPARK-626777 Implement the de-register method and close the listener there // this.incomingTaskListener();