04-12-2011 10:25 AM - edited 03-14-2019 07:44 AM
Hi All,
When scripting an application or queue, how do we know if the call is already "accept trigger" or not? If not, the "accept" trigger step will use, if yes, we will skip the step. I am thinking using "get contact info", and check if it "Handled", but it seems not the right choice. Any idea would much appreciated.
Thanks,
Tom P.
Solved! Go to Solution.
04-12-2011 12:27 PM
you can check if there is a session number or not. if there is a session number, the call should be "accepted" already.
04-12-2011 08:56 PM
You should only set the contact status to Handled if the caller was taken care of. If a caller hangs up after the status is set to handled, then they won't be classified as an abandoned call.
It doesn't hurt to accept a contact more than once. It's simply skipped if you accept a call that's already accepted. It's actually less code to simply accept it twice than to check.
Cliff
04-12-2011 12:27 PM
you can check if there is a session number or not. if there is a session number, the call should be "accepted" already.
04-12-2011 08:56 PM
You should only set the contact status to Handled if the caller was taken care of. If a caller hangs up after the status is set to handled, then they won't be classified as an abandoned call.
It doesn't hurt to accept a contact more than once. It's simply skipped if you accept a call that's already accepted. It's actually less code to simply accept it twice than to check.
Cliff
04-13-2011 07:09 AM
Thanks to Frzhang and Clifford for the reply. I will try to both to see if it works. As for Cliff mentioned, I will use "accept" call anyway as long as it not complain.
Thanks you guys.
Tom P.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide