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

OpenCTI - SaveLog method does not work

We use Third party call center tool . I use OpenCTI to update the calldata once a call is completed . I included all the library files but the following SaveLog not at all getting called hence Account record is not created.

    var callback = function (response) {
            if (response.result) {
               } else { 

I included the following script in the top of the visualforce.
     <apex:includescript value="" />
    <apex:includescript value="/support/console/33.0/integration.js" />
    <apex:includeScript value="{!URLFOR($Resource.cnx__CnxSfdcResources,'js/ConnectsIntegrationAPI.min.js')}"/>
    <apex:includescript value="/soap/ajax/33.0/connection.js" />
    <apex:includescript value="/support/api/33.0/interaction.js" />
In the Console, It does not return any message.
Any help much appreciated.
SandhyaSandhya (Salesforce Developers) 

Try to put 

In Function
function saveLog() {

           //Invokes API method
                sforce.interaction.saveLog('Account','Name=NewAccountName&Phone=4155551212', callback);

Please refer below link for the same.
Hope this helps you!

Please mark it as Best Answer if my reply was helpful. It will make it available for other as the proper solution.
Thanks and Regards

Thanks Sandya for your response.

I already tried this one but does not work.