Updated on 2023-10-12 GMT+08:00

What Do I Do If a Page Embedded in the CEC Cannot Be Opened?

Symptom

After an inbound call screen pop-up is configured, the integrated enterprise page cannot be displayed in the CEC, and an error is displayed, indicating that the setting of X-Frame-Options is incorrect. Figure 1 shows a possible error.

Figure 1 Error displayed on the page

Solution

This product uses iFrame to integrate enterprise pages. To integrate HTML pages, X-Frame-Options can be set only to a non-specific value or ALLOW-FROM URI, where URI indicates the URL of the CEC.

X-Frame-Options in the HTTP response header indicates whether a page can be displayed in <frame>, </iframe>, or <object>. This function allows a website to ensure that its content is not embedded in other websites, as shown in Figure 2.

Before integration, use the development tool to check the value of X-Frame-Options on the enterprise page to be embedded. The options are as follows:

  • DENY: The page cannot be embedded in any page, including pages with the same domain name.
  • SAMEORIGIN: The page can be embedded only in pages with the same domain name.
  • ALLOW-FROM URI: The page can be embedded in the specified page.
  • None: The page can be embedded in any page.

If the value of X-Frame-Options of the enterprise page is DENY or SAMEORIGIN, choose Configuration Center > Expansion Management > Screen Pop-up, click Edit, and set Open Mode to Independently opened in the Modify Incoming Call Screen Pop-up dialog box.

Figure 2 Checking the X-Frame-Options attribute