Questions tagged [twilio-taskrouter]

Twilio TaskRouter allows you to build intelligent routing into your existing system to create smarter workflows that easily integrate with other Twilio APIs.

87 questions
5
votes
0 answers

Twilio client inside chrome extension. User denied access to microphone when device.connect runs

Hi I am developing chrome extension using Twilio Client JS library and Task Router JS SDK. I successfully registered Twilio device and receive on ready event also on background script. I also setup task router worker and receive events too. When I…
3
votes
1 answer

Twilio worker activity not changing from Busy to Idle after task is closed

We are using Twilio Task Router with Multitasking disabled Workspace and only default Task Channel set as Available for all Workers. After the Task Reservation is Accepted the Worker activity goes from Reserved to Busy, as expected. But finally when…
Nick
  • 222
  • 1
  • 2
  • 10
2
votes
1 answer

How to forward call to different number if first connect call to number is busy or not responding in Twilio Studio

In Twilio Studio, I have a flow which connects call to non-twilio number in the end. This number can be busy as I am forwarding all incoming requests to this number. If this currently forwarded number is busy or operator does not respond then I want…
2
votes
0 answers

Twilio Flex server side event callback

I am trying to intercept Twilio/Flex events like task created, accepted, call put on hold, etc. I set my Workspace's Event Callback URL and I also hooked up the Status Callback URL on my Phone #. And so far that gives me: Task related events like…
neel
  • 21
  • 1
2
votes
0 answers

What exactly is required in order to create custom WebChat for Twilio Flex?

I would like to understand how exactly I would go about creating a completely custom webchat for a website. The reason why is because I realize that there are some limits to the degree to which I can customize the WebChat that is out-of-the-box,…
Judy007
  • 5,484
  • 4
  • 46
  • 68
2
votes
1 answer

Taskrouter worker activity not changed when websocket disconnects

I'm using twiliotaskrouter13.min.js to initiate a worker using this.workerClient = new Twilio.TaskRouter.Worker( token, this.twilioConfig.debugging, this.twilioConfig.workerActivities.offline, …
2
votes
0 answers

Twilio 'Longest Idle' ordering for matching Workers not working as expected

Multitasking enabled Workspace. TaskQueue1 has matching workers Woker1 and Worker2. Worker1 comes online (Presence set to 'Idle') first and then Worker2 comes online. A Task created for TaskQueue1 with Wokflow Queue also set as TaskQueue1. As…
Nick
  • 222
  • 1
  • 2
  • 10
2
votes
1 answer

Twilio Task Reservation timeout

We are currently implementing a new Contact Centre using Twilio TaskRouter. The desired functionality is: Ring the first available worker that matches the filter criteria "Sales" If the Reservation times out (Worker does not answer), ring the…
2
votes
3 answers

How to offer a task to a specific worker on Twilio

I'm using Twilio's TasksRouter. I have 3 TaskQueues in my workspace and new tasks are being forwarded to the correct TaskQueue but I would also like them to be offered to a specific worker in that queue. I thought that the task attributes are…
Leo
  • 900
  • 1
  • 11
  • 26
1
vote
0 answers

TaskRouter event-parsing in callback API

I have set the callback URL to one of my controller methods in spring boot application. But I'm unable to understand how to parse the events being sent to this method. I figured there are two ways to do this. Note: End goal is to map each event type…
1
vote
1 answer

How to connect the incoming call after accepting a reservation through Twilio Task Router?

I'm able to follow Twilio TaskRouter example to accept reservations: import { Worker } from 'twilio-taskrouter' const worker = new Worker(token); worker.on("reservationCreated", async function (reservation) { console.log('reserved',…
Cain Wang
  • 21
  • 3
1
vote
0 answers

is there a way to get the number of agents with or without tasks in a particular queue?

I'm working on queue stats dashboard. there is a taskrouter api endpoint which provides stats about the agents state. https://www.twilio.com/docs/taskrouter/api/taskqueue-statistics# "activity_statistics": [ { "friendly_name": "Idle", "workers":…
SO-user
  • 1,458
  • 2
  • 21
  • 43
1
vote
1 answer

"Failed to issue Dequeue" when using Twilio Task Router for non-phone related tasks

NOTE: Code snippets below are functional. The "dequeue" error mentioned in this post was based on an existing Assignment Callback external to these scripts. Once the URL was removed and the reservation.dequeue moved to this code, the error was…
tcbeaton
  • 85
  • 7
1
vote
1 answer

Forwarding an incoming call after task reservation timeout

I am using Twilio Flex to support a call center. I have a TaskRouter workflow set up where Task Reservation Timeout is set to 120 seconds. In its filter, I've created two routing steps. The first one finds matching workers in the main queue and has…
Hamza
  • 13
  • 1
  • 3
1
vote
0 answers

Twilio Taskrouter - How to add information to custom tasks?

I'm working with Twilio programmable video and I'd like to integrate it with TaskRouter. Currently I can create custom tasks with a POST request to: https://taskrouter.twilio.com/v1/Workspaces/{WorkspaceSID}/Tasks/ Yet regardless of what I put into…
user601206
  • 123
  • 7
1
2 3 4 5 6