InnovateAsterisk / Browser-Phone

A fully featured browser based WebRTC SIP phone for Asterisk

Home Page:https://www.innovateasterisk.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Regarding iframe

prathibhacdac opened this issue · comments

Any other solution other than using iframes as iframes create CORS error.

Failed to read a named property 'countSessions' from 'Window': Blocked a frame with origin "https://10.10.10.73:1443" from accessing a cross-origin frame.

Your server is responsible for adding the CORS headers.

Added CORS headers still getting the error.

Added the following in .htaccess file. Still not working.
Header set Access-Control-Allow-Origin "*"
Header set Access-Control-Allow-Methods "GET,POST,PUT,DELETE,OPTIONS"
Header set Access-Control-Allow-Headers "Content-Type,Authorization,X-Requested-With"
Header set Access-Control-Allow-Credentials "true"