function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
eric garniereric garnier 

CTI Toolkit : Why does OnCallEstablished call pLine->HideLineStatusBar() ?

Hi everyone,

 

In my CTI environment, the OnCallEstablished follow quickly the OnCallRinging. The result is that if the search result is a "not found", this status appears only between these two event, that is too quickly for the agent.

 

What can I do for this?

 

I have different options. Does any of them look better?

 

 

 

A) remove the call to 

 

pLine->HideLineStatusBar(); in OnCallEstablished. This is not my preferred, as it modify the SalesForce source code.

 

 

 

 

B) Delay the call to OnCallEstablished. This is not perfect, as this means that the the line state will be wrong, and that I have to put a timer and handle it.

 

 

 

C) Reverts the call to pLine->HideLineStatusBar(); after the call to OnCallEstablished.

Any advice on this subject?

Thanks

Eric

Best Answer chosen by Admin (Salesforce Developers) 
*werewolf**werewolf*

It would be unwise to modify the library code.  It's a pretty low-calorie operation to just call ShowStatusBar again.

All Answers

*werewolf**werewolf*

It would be unwise to modify the library code.  It's a pretty low-calorie operation to just call ShowStatusBar again.

This was selected as the best answer
eric garniereric garnier

Thanks for your advice.

I can't call ShowStatusBar again, as it is done by the search thread, but I simply modify the library to have the possibility to get and set the visibility of the status.

 

So I revert the visibility to its previous value. And it work.

 

Eric