A place to ask questions, connect with others, and stay in the know
Originally posted by AWooster;36868We wrote a handler to automatically place the call for the Agent once they "Pick Up" the callback interaction. Then, with another handler, once the call is disconnected, it automatically disconnects the callback interaction to prevent the agents from "camping" on the callback. I can provide more detail if you need.
Originally posted by AWooster;36886Auto Dial Handler:
In CustomACDPostAlertInteraction we do a "Query Media Type" to check to see if the interaction is a Callback, if it is we run the custom handler. Custom handler converts Callback Interaction Id to string using the "Convert Call Id to String". We get the agent's user id with an assignment statement "StrRight(p_sAgentQueueId, StrLen(p_sAgentQueueId) - 11)" (got help from another developer with this). Get the station the user is logged into with a "User Login List" toolstep. Get the customer phone number from the attribute "Eic_CallbackPhone". Run the subroutine "DialPlanEx" for the customer phone number. Get the workgroup from the attribute "Eic_WorkgroupName". Get the custom attribute "Outbound ANI" from the workgroup using a Lookup toolstep with "Key Type" of "Workgroup", "Search Attribute Type" of Queue Identifier", "Value to use in search" of "Workgoup Queue: (workgroup we found earlier)" and "Attribute Type" of "CUSTOM::Outbound ANI" (this is set in IA for each workgroup so they have unique outbound ANIs). Then an "Extended Place Call" to place the call for the agent. If the call connects to a live person we set the Interaction Id of the Callback as a custom attribute on the new call. If it fails we disconnect the CBR but you could do anything you want here.
Auto Disconnect Callback:
In CustomCallDisconnect we check to see if the custom attribute we set in the previous handler has a value, if it does we run the other custom handler. Use the "Get Attribute" to get the Interaction Id of the Callback. Convert the string Interaction Id into a true Interaction ID using the "Convert String to Call Id" and then disconnect the newly created Interaction Id.
Let me know if you need anything else.
Every year, Genesys® delivers more than 70 billion remarkable customer experiences for organizations in over 100 countries. Through the power of the cloud and AI, our technology connects every customer moment across marketing, sales and service on any channel, while also improving employee experiences. Genesys pioneered Experience as a ServiceSM so organizations of any size can provide true personalization at scale, interact with empathy, and foster customer trust and loyalty. This is enabled by Genesys Cloud™, an all-in-one solution and the world's leading public cloud contact center platform, designed for rapid innovation, scalability and flexibility. Visit www.genesys.com.