• Surendran K 9
  • NEWBIE
  • 0 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 4
    Replies
Hi, I am using OpenCTI for telephony integration and for screen pop-up, I am using the function sforce.interaction.searchAndScreenPop(callerid,'','inbound', searchAndGetScreenPopUrl_callback).
I have 2 contacts set for tests.
ContactA has only 1 telephone number and it is registered in the "Phone" field.
ContactB has 2 telephone numbers, 1 in the "telephone" field and the other in the "Mobile" field.
When ContactA calls, the application recognizes it and pops up its page.
But when ContactB calls from its mobile number, the application does not recognize the number even it being in the "Mobile" field.

Could you, please, help me in figuring out how to make the sforce.interaction.searchAndScreenPop function lookup in all possible telephone number fields(phone, mobile, other phone and home phone)?

I am using the version 30.0 of the api.
<script src="https://c.na1.visual.force.com/support/api/30.0/interaction.js" type="text/javascript"></script>

Thank you for your help.
Joao Paulo
Hi,
  We have developed .NET Application & included it in Call center CTI Adapter Url . All the things are working well, when the call comes its searches phone field in objects , get the results & open the record in new tab in Service cloud console with the ANI no.  With standard all the things are working as expected.

But the issue we want to open our Custom VF page when the call comes instead of standard one.So created VF page & controller & that page is poping up instead of standard one. Now the main problem is we are not getting ANI no. neither in VF page nor in Controller .
1 ) We tried get ANI no. in Apex controller via url, host url, current url etc...but nothing is working.
2) In Vf page we tried to get via including interaction.js file & using its methods , but those methods are not getting called on page load.

Has anyone face the same issue in using open CTI in salesforce?

 Can anyone please help me to fix this error.