" /> Process voice call after target block (if and only if answered by agent) - Genesys CTI User Forum

Author Topic: Process voice call after target block (if and only if answered by agent)  (Read 1292 times)

Offline marciel

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Advertisement
Hi people,

I have a case requested by one of our customers, and as I'm not an expert in composer, I needed some help, or ideas. The situation is as follows:

After a customer is answered by an agent, AND only if it is answered, the strategy must send the call to a subroutine that will remove the customer from a CallingList (ocs database table).

That's the situation.
« Last Edit: January 13, 2022, 12:47:40 AM by marciel »

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Process voice call after target block (if and only if answered by agent)
« Reply #1 on: January 14, 2022, 04:06:42 PM »
Well to do this doesn't involve Composer.


Cancel Call via OCS API is what you are looking for.


You can do it via OCS HTTP API or via OCS Native API


Via HTTP you need to enable OCS HTTP engine and then call it via REST from anywhere, could be the agent softphone, a CRM, etc.
Via OCS Native API you can do it via WDE custom module or any TLib client via Genesys PSDK.


https://docs.genesys.com/Documentation/OU/8.1.5/Ref/CommunicationDNAPI
https://docs.genesys.com/Documentation/OU/8.1.5/Ref/OCSSupportHTTP