Twilio Task Reservation is not returning reservation timeout

291 Views Asked by At

We are currently implementing a new Contact Centre using Twilio TaskRouter.

The desired functionality is:

Call the available worker via Task Assignment URL.
If the Reservation times out (Worker does not answer), Change Worker Activity to Offline. We have successfully established this scenario but the problem we are facing is that, we do not get reservation.timeout event. Instead of timeout we get reservation.canceled event. However we do get reservation timeout when we accept task using Twilio Taskrouter JS. We are using "conference" instruction on Task Assignment URL.

1

There are 1 best solutions below

0
On

Yes, You will get reservation.canceled event with the reason Task TTL Exceeded. You can implement your condition on this reason.