cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
875
Views
0
Helpful
3
Replies

Accept Trigger Call

vhawlaphant
Level 1
Level 1

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.

2 Accepted Solutions

Accepted Solutions

frzhang
Cisco Employee
Cisco Employee

you can check if there is a session number or not. if there is a session number, the call should be "accepted" already.

View solution in original post

Clifford McGlamry
Spotlight
Spotlight

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

View solution in original post

3 Replies 3

frzhang
Cisco Employee
Cisco Employee

you can check if there is a session number or not. if there is a session number, the call should be "accepted" already.

Clifford McGlamry
Spotlight
Spotlight

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

vhawlaphant
Level 1
Level 1

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.