Getting FOP infos from another server
-
Hi,
We are trying to build a general administration page for our staff, where there is many work info besides the FOP2 info. The script is on a different server from FOP and we want to bring the list of all of the agents in one group (to see who's available or not) back to our administration. But it seems like we cannot make a simple FOP iframe on our administration for some security reasons I understand.
For example, we thought about trying something as easy as:
<iframe width="750px" height="760px" src="http://[server]/fop2/?exten=[ext]&pass=[password]" scrolling="no" frameborder="0"></iframe>The direct link works but not the iFrame.
Do you have another idea besides using an iFrame to collect precise data from another server, like the list of all busy lines?
Thanks!
-
I think fop2 in itself does not have any restriction, but browsers might prevent websockets from working inside an iframe, I really do not know about it... if page is served on the same domain, then the browser should allow it (the restriction is the same domain policy implemented in browsers). So if you have a page in http://www.server.com/something and you have fop2 on http://fop2.server.com/fop2 it might work.
Best regards,
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login