{"id":8,"date":"2021-09-16T06:16:08","date_gmt":"2021-09-16T06:16:08","guid":{"rendered":"http:\/\/6142dfd3e1dc7800166da151"},"modified":"2021-11-09T12:21:54","modified_gmt":"2021-11-09T12:21:54","slug":"issues-encountered-while-configuring-click2call-in-ucm-and-how-to-resolve-them","status":"publish","type":"post","link":"https:\/\/jazchye.com\/index.php\/2021\/09\/16\/issues-encountered-while-configuring-click2call-in-ucm-and-how-to-resolve-them\/","title":{"rendered":"Issues encountered while configuring CLICK2CALL in UCM and how to resolve them"},"content":{"rendered":"<p>While I was configuring CLICK2CALLwith UCM6302 in my environment, I encountered several issues, and I managed to fix them along the way. I hope this guide will be helpful for those who are facing the same issues as me.<\/p>\n<p><strong>1. Call icon Stuck in \u2018calling\u2019<\/strong><\/p>\n<p><strong>Issue \u2013<\/strong><\/p>\n<p>The webserver used here is IIS. Configuration was double verified with my previous how-to guide, and there was no mistake on the configuration side.<\/p>\n<p>However, when I clicked on the call icon, it was stuck in \u2018calling\u2019. No calls were coming into the UCM, as shown under Active calls.<\/p>\n<p>Upon inspecting the console on the webpage, I found out that I am hitting a RunTimeError \u2013<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-72\" src=\"http:\/\/jazchye.com\/wp-content\/uploads\/2021\/10\/issues_CTC_1.jpg\" alt=\"\" width=\"2232\" height=\"1198\" srcset=\"https:\/\/jazchye.com\/wp-content\/uploads\/2021\/10\/issues_CTC_1.jpg 2232w, https:\/\/jazchye.com\/wp-content\/uploads\/2021\/10\/issues_CTC_1-300x161.jpg 300w, https:\/\/jazchye.com\/wp-content\/uploads\/2021\/10\/issues_CTC_1-1024x550.jpg 1024w, https:\/\/jazchye.com\/wp-content\/uploads\/2021\/10\/issues_CTC_1-768x412.jpg 768w, https:\/\/jazchye.com\/wp-content\/uploads\/2021\/10\/issues_CTC_1-1536x824.jpg 1536w, https:\/\/jazchye.com\/wp-content\/uploads\/2021\/10\/issues_CTC_1-2048x1099.jpg 2048w, https:\/\/jazchye.com\/wp-content\/uploads\/2021\/10\/issues_CTC_1-1568x842.jpg 1568w\" sizes=\"auto, (max-width: 2232px) 100vw, 2232px\" \/><\/p>\n<figure><\/figure>\n<p><strong>Reason \u2013<\/strong><\/p>\n<p>It was stuck in calling is because by default IIS does not have a content type for WASM extension.<\/p>\n<p><strong>Resolution \u2013<\/strong><\/p>\n<p>Adding &#8220;application\/wasm&#8221; for the WASM extension fixes the issue. (I note that IIS Express uses &#8220;application\/octet-stream&#8221; as the mime type, but it doesn&#8217;t look like there is a standard yet.)<\/p>\n<p>It should look like this after adding \u201capplication\/wasm&#8221; for the WASM extension file.<\/p>\n<pre><code><\/code><\/pre>\n<p><strong>2. Clicking on the Call button does not prompt anything<\/strong><\/p>\n<p><strong>Issue \u2013<\/strong><\/p>\n<p>Click on the call button does not do anything\/ respond. It does not prompts the microphone and speaker check test and does not proceed to call as well. Tested with Mozilla Firefox and Google Chrome, and the issue was happening to both bowsers.<\/p>\n<p>I found out that I was hitting an Uncaught TypeError from the browsers \u2013<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-73\" src=\"http:\/\/jazchye.com\/wp-content\/uploads\/2021\/10\/issues_CTC_2.png\" alt=\"\" width=\"1080\" height=\"35\" srcset=\"https:\/\/jazchye.com\/wp-content\/uploads\/2021\/10\/issues_CTC_2.png 1080w, https:\/\/jazchye.com\/wp-content\/uploads\/2021\/10\/issues_CTC_2-300x10.png 300w, https:\/\/jazchye.com\/wp-content\/uploads\/2021\/10\/issues_CTC_2-1024x33.png 1024w, https:\/\/jazchye.com\/wp-content\/uploads\/2021\/10\/issues_CTC_2-768x25.png 768w\" sizes=\"auto, (max-width: 1080px) 100vw, 1080px\" \/><\/p>\n<figure><\/figure>\n<p><strong>Reason \u2013<\/strong><\/p>\n<p>There are two resolutions for this:<\/p>\n<p><strong>1. Access the webpage using HTTPS instead of HTTP<\/strong><\/p>\n<p>You will need to make some configurations on your IIS side to ensure that the webpage can be accessed with HTTPS<\/p>\n<p><strong>2. Modifying the browser security configuration (Direct and Simple way)<\/strong><\/p>\n<p>i. Input in the browser address bar:<\/p>\n<pre><code>chrome:\/\/flags\/#unsafely-treat-insecure-origin-as-secure\n\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-74\" src=\"http:\/\/jazchye.com\/wp-content\/uploads\/2021\/10\/issues_CTC_3.png\" alt=\"\" width=\"889\" height=\"50\" srcset=\"https:\/\/jazchye.com\/wp-content\/uploads\/2021\/10\/issues_CTC_3.png 889w, https:\/\/jazchye.com\/wp-content\/uploads\/2021\/10\/issues_CTC_3-300x17.png 300w, https:\/\/jazchye.com\/wp-content\/uploads\/2021\/10\/issues_CTC_3-768x43.png 768w\" sizes=\"auto, (max-width: 889px) 100vw, 889px\" \/><\/code><\/pre>\n<figure><\/figure>\n<p>ii. Turn on Insecure origins treated as secure<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-75\" src=\"http:\/\/jazchye.com\/wp-content\/uploads\/2021\/10\/issues_CTC_4.jpg\" alt=\"\" width=\"1386\" height=\"1012\" srcset=\"https:\/\/jazchye.com\/wp-content\/uploads\/2021\/10\/issues_CTC_4.jpg 1386w, https:\/\/jazchye.com\/wp-content\/uploads\/2021\/10\/issues_CTC_4-300x219.jpg 300w, https:\/\/jazchye.com\/wp-content\/uploads\/2021\/10\/issues_CTC_4-1024x748.jpg 1024w, https:\/\/jazchye.com\/wp-content\/uploads\/2021\/10\/issues_CTC_4-768x561.jpg 768w\" sizes=\"auto, (max-width: 1386px) 100vw, 1386px\" \/><\/p>\n<figure><\/figure>\n<p>iii: Relaunch the browser<\/p>\n<figure><\/figure>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-76\" src=\"http:\/\/jazchye.com\/wp-content\/uploads\/2021\/10\/issues_CTC_5.jpg\" alt=\"\" width=\"1920\" height=\"1040\" srcset=\"https:\/\/jazchye.com\/wp-content\/uploads\/2021\/10\/issues_CTC_5.jpg 1920w, https:\/\/jazchye.com\/wp-content\/uploads\/2021\/10\/issues_CTC_5-300x163.jpg 300w, https:\/\/jazchye.com\/wp-content\/uploads\/2021\/10\/issues_CTC_5-1024x555.jpg 1024w, https:\/\/jazchye.com\/wp-content\/uploads\/2021\/10\/issues_CTC_5-768x416.jpg 768w, https:\/\/jazchye.com\/wp-content\/uploads\/2021\/10\/issues_CTC_5-1536x832.jpg 1536w, https:\/\/jazchye.com\/wp-content\/uploads\/2021\/10\/issues_CTC_5-1568x849.jpg 1568w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>While I was configuring CLICK2CALLwith UCM6302 in my environment, I encountered several issues, and I managed to fix them along the way. I hope this&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,9,5],"tags":[],"class_list":["post-8","post","type-post","status-publish","format-standard","hentry","category-ippbx","category-sip","category-troubleshooting"],"_links":{"self":[{"href":"https:\/\/jazchye.com\/index.php\/wp-json\/wp\/v2\/posts\/8","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jazchye.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jazchye.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jazchye.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jazchye.com\/index.php\/wp-json\/wp\/v2\/comments?post=8"}],"version-history":[{"count":2,"href":"https:\/\/jazchye.com\/index.php\/wp-json\/wp\/v2\/posts\/8\/revisions"}],"predecessor-version":[{"id":152,"href":"https:\/\/jazchye.com\/index.php\/wp-json\/wp\/v2\/posts\/8\/revisions\/152"}],"wp:attachment":[{"href":"https:\/\/jazchye.com\/index.php\/wp-json\/wp\/v2\/media?parent=8"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jazchye.com\/index.php\/wp-json\/wp\/v2\/categories?post=8"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jazchye.com\/index.php\/wp-json\/wp\/v2\/tags?post=8"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}