• Raheel Iqbal
  • NEWBIE
  • 0 Points
  • Member since 2019

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 0
    Replies
Hello. Anyone please tell me. What's the alternative of Force.com plugin? Now I unable to upload the demo-apdater.
Please help me it's my humble request. I'm stuck on 5 days. I add server ip ranges but still not working. I follow this link:

http://www.salesforcegeneral.com/salesforce-articles/ip-whitelists-for-salesforce.html
Hi, 
I'm trying to integrate Cisco finesse call controls in my salesforce organization. I'm done with sign in and state transitions of agent but now stuck at making call. I'm receiving the following error to requesting make call api in apex:

IO Exception: Unable to tunnel through proxy. Proxy returns "HTTP/1.0 503 Service Unavailable.

Check this code is anything wrong?
 
Http http = new Http();
HttpRequest request = new HttpRequest();

// Setting authorization header
Blob headerValue = Blob.valueOf(account + ':' + token);
String authorizationHeader = 'BASIC ' + EncodingUtil.base64Encode(headerValue);
request.setHeader('Authorization', authorizationHeader);

request.setEndpoint('https://uccx1.dcloud.cisco.com:8445/finesse/api/User/' + account + '/Dialogs');
request.setMethod('POST');
request.setHeader('Content-Type', 'application/xml;charset=UTF-8');

// Set the body as a JSON object
request.setBody('<Dialog><requestedAction>MAKE_CALL</requestedAction><fromAddress>1081</fromAddress><toAddress>1080</toAddress></Dialog>');

HttpResponse response = http.send(request);
CallResult result = new CallResult();
result.status = response.getStatus();

return result;