Skip to Content

CTI oubound call error / BUG?

Hi All,

In order to create outbound call from C4C I follow the instructions from the admin guide:

1. Download the CTI Connector project from the SAP Service Marketplace and install it.

2. Open the project in Microsoft® Visual Studio.

3. Add the logic in the dialOut method to pass the phone number to the CTI solution (see the following example for details).

4.Build the DLL and deploy it in CTI Client Adapter file structure. To deploy the DLL, copy the DLL to C:\Program Files (x86)\SAP\SAP Hybris Cloud for Customer CTI Client.

5. Restart the adapter.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Runtime.InteropServices;

namespace SAP.COD.CTI.Connector{
    public class OutboundCallHandler{
        Logger logUtil;
//Add constructor to initiate logging
        public OutboundCallHandler(){   
		logUtil = new Logger();
        }
        //Destructor
        ~OutboundCallHandler(){
            logUtil.Close(); 
        }
        public bool dialOut(string dialData){
            	logUtil.writeLog("Dialed number: " + dialData);
		logUtil.writeLog("I am here in CTI outbound call " );
		return true;
        }
    }
}

The problem is that dialOut method is not called by CTI adapter. I am quite sure for that since in log file that is generated during initialization by this customized dll, and there are visible logs that I create for initialization process. That means my customized dll is used by CTI adaptor, but as I said dialOut method is newer called from CTI adaptor.

In the meanwhile Incoming calls are handled correctly, which also means that connection between CTI adaptor and browser is working.

Is there some missing step in admin guide for handling CTI outbound calls?

Please help!

br,

Zoran Galijanic

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    Jul 12, 2017 at 07:58 AM

    Solved by SAP support with manual correction in the system.

    Br,

    Zoran

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 28, 2017 at 09:41 AM

    Hi,

    Horst Schaude I saw that you answer to this post (please see attached screenshot), but unfortunately do not see you answer here :-(

    br,

    Zoran

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 27, 2017 at 09:27 AM

    Update: Definitely is the problem in configuration or browser settings since I monitor local host traffic for the outbound call URL

    http://localhost:36729/?CID=SAPCOD&PHONENUMBER=%2Bxxxxxxx

    where xxxxxxx is phone number.

    When this URL is executed directly in the browser (without C4C) adapter is working correctly, and logs from dialOut method (the code above) are successfully created.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 20 at 08:49 AM

    Goodmorning Zorang!!

    I'm Xavier Ortega from LectaGroup in Barcelona, I'm new in the c4c world, and I'have the same problem...the dialOut method is not called but your writted 12 Jul: "Solved by SAP support with manual correction in the system."

    The question is.....what is this manual correction in the system??

    Add comment
    10|10000 characters needed characters exceeded