I am trying to see if anyone can give me directions on courtesy callback. What I need to do:
Based on EWT and some other factors, make a decision, to offer courtesy callback (this is easy and doable). The next part is to insert the callback as a virtual call in place of the actual caller in the same position in the queue and offer callback when the position comes to the front of the queue (this is the part I am struggling with).
I would be creating the callback, but I need to make sure that the created callback is at the same position in the queue. So for example, when the customer calls in they are at Queue Position 15 in VQ. We offer them to hold the position in the queue and they accept, which is when I would create a new callback.
Now, what kind of callback this should be? Immediate or scheduled? In either case, how to I ensure that the position of the customer in the VQ is 15 when the callback is created and then once the customer moves to the beginning of the queue generate the outbound call and connect with the available/reserved agent.
Up to my knowledge if it is immediate callback the position will be preserved automatically.
If it is scheduled then “preserving position” is sort of not applicable.
I agree, immediate should be the way to go. Make sure to inherit the inbound calls current priority, priority increment and skill expression and the callback interaction should have the “same place” in urs queue.
14:01:30.727 [T:5920] {ScxmlMetric:3} METRIC <transition sid='GFSKJQLNOL6AHATQG273H0A9VO000004' name='Activity.ActivityMethodsTemplate.RequestURSDelayStrategy.ReportInitialUserEvent' event='report_initial_userevent' target='Activity.ActivityMethodsTemplate.RequestURSDelayStrategy.AttachRepUserData1' line='5675' />
14:01:30.727 Alr 23019 [T:5920] Orchestration session: GFSKJQLNOL6AHATQG273H0A9VO000004 has encountered an execution error: uncaught exception: Invalid format for UTC timestamp : - in <script> at line: 5676.
14:01:30.727 [T:5920] {ScxmlMetric:3} METRIC <exec_error sid='GFSKJQLNOL6AHATQG273H0A9VO000004' result='uncaught exception: Invalid format for UTC timestamp : - in <script> at line: 5676' />
I tried passing the _desired_time in UTC as well, but that doesn’t generate the callback either, and it breaks here: