Click2call

VOiD

New Member
Hello,

I'm evaluation Flashphoner and I need to get a simple click2call working. The standard demo page works fine but I want to customise the WCS URL port. I changed the wss port in the flashphoner.properties file but the WCS URL on the click2call page stays pointing to the default port 8443. How can I change this ?
Is there a way to leave both the WCS URL and Callee input fields away ?

Kind regards
 

Max

Administrator
Staff member
Good day.
I changed the wss port in the flashphoner.properties file but the WCS URL on the click2call page stays pointing to the default port 8443. How can I change this ?
In addition to changing the WCS settings in the file flashphoner.properties, you need to change the Websocket address of your WCS server in the WebSDK:
Code:
{WCS server}/client2/examples/demo/dependencies/js/utils.js
It changes in function setURL:
PHP:
function setURL() {
    var proto;
    var url;
    var port;
    if (window.location.protocol == "http:") {
        proto = "ws://";
        port = "8080";
    } else {
        proto = "wss://";
        port = "8443";
    }
    url = proto + window.location.hostname + ":" + port;
    return url;
}
Is there a way to leave both the WCS URL and Callee input fields away ?
Please clarify what you mean.
 
Last edited:
Top