Question

Is it possible to omit setting up telephony parameters?

Hi Community,

Hopefully, my last post about CTI integrations.

Would anyone know if it's possible to omit setting up call center parameters from SetupTelephonyParametersPageModule? I don't need it, but it's mandatory to fill in for the CTI provider to work and run properly.

My take is to intercept the setting of ctiSettings.connectionParams with something hard coded and delete the first "if" fragment where checking is done. in CTIBaseHelper, but I want to avoid that at all cost. Does anyone have any better idea?

Like 15

Like

2 comments

I could also use the setting button from module CTIPanel and use it in my side page in freedomUI (I make my own button to open that SetupTelephonyParametersPage). That would sufficient enough for me. But then the question is: How do I open that page? In the code below is the implementation of click button in CTIPanel, but you cannot replicate that in FreedomUI as there is no sandbox property in it. 

onSettingsButtonClick: function() {
					var callCentreParametersModule = "SetupTelephonyParametersPageModule";
					this.sandbox.publish("PushHistoryState", {hash: callCentreParametersModule});
				},

If I do either of ways shown below, it won't work.

    const handlerChain = sdk.HandlerChainService.instance;
 
    // Navigate to the telephony parameters setup module
    await handlerChain.process({
        type: "crt.OpenPageRequest",
        schemaName: "SetupTelephonyParametersPageModule",
        $context: request.$context
    });
 
        const handlerChain = sdk.HandlerChainService.instance;
 
    // Navigate to the telephony parameters setup module
    await handlerChain.process({
        type: "crt.OpenPageRequest",
        schemaName: "BaseSetupTelephonyParametersPage",
        $context: request.$context
    });

Found an answer to opening pages using sandbox, but in FreedomUI.

https://customerfx.com/article/navigating-a-user-back-from-a-creatio-fr…

Show all comments