Twilio TaskRouter allows you to build intelligent routing into your existing system to create smarter workflows that easily integrate with other Twilio APIs.
Questions tagged [twilio-taskrouter]
87 questions
0
votes
1 answer
Does twilio task router "call" instruction accepts AMD (Answering Machine Detection) parameters?
I am using twilio task router to a great effect implementing a call center functionality. When a task reservation is created, I am issuing a "call" instruction as I need to create a call leg to the worker, something very similar to as shown in the…

Gautam Kumar Samal
- 758
- 1
- 7
- 23
0
votes
0 answers
Event Streams vs TaskRouter callbacks
I have an application that uses Twilio Conference. My use-case is to parse the events and store them in a datastore like Redis.
Currently I'm using TaskRouter callback to get events on my backend. Recently, I've came across Twilio Event Stream.
Now…

Shalin Kumar Deval
- 11
- 1
0
votes
0 answers
Twilio answer call enqued as task
I'm attempting to build a contact center where text and voice calls are routed to workers by taskrouter.js. The text side of this is working but I am struggling to figure out how a worker is to accept a call that has been enqueued as a task. I've…

neanderslob
- 2,633
- 6
- 40
- 82
0
votes
0 answers
Query average call length for calls in task router queues
Is there an API call that returns the average call length of calls in each of the task router queues or the average call length for all queues in the workspace? I see data for durations until accepted or canceled, but none to show average call…

tcbeaton
- 85
- 7
0
votes
0 answers
What will be the best practice to create call requests to a group of users in the most optimal order
So I have a call queue flow in our app, on incoming call the caller is put in queue based on the verb and then I call to a group of users who needs to get this call using the Twilio REST api for creating calls.Once a user answers the call the Twiml…

ilan kogan
- 19
- 3
0
votes
1 answer
How to send an abandoned call back to Studio Flow?
I want to implement a solution where, if there are no available workers Twilio I don't send it to Flex, but do something else (e.g: say a message to contact us by other channel type, run a Function, or any other option)
Best posible scenario: Inside…

Facundo Chambó
- 47
- 6
0
votes
0 answers
Is it possible to have the web app called within the DialCallStatus or statusCallback url pass info back that would interact w TaskRouter?
I have a function that updates worker activity via updating worker activitySid. Is it possible to trigger function that through a web app that is at the action URL within when dialCallStatus = "complete" or statusCallback = "complete" through the…
0
votes
1 answer
Cannot get a task to dequeue a call and connect to javascript client device
I've so far been able to capture an incoming call, and add it to a queue with a workflow reference.
After that the Javascript client I have connected with a worker and a device can see the reservation being created, at which point I call…

Jordan
- 2,393
- 4
- 30
- 60
0
votes
1 answer
Can we stop Task Router from creating reservation of a Task in queue having available workers?
Objective: Manually route tasks (calls) in some specific queue WQ_i within some timeout
How: Update a task in Task Router by setting worker sid to known_worker_sid
After going through the documentation of Twilio Task Router, I came to know that:
A…

Techie Fort
- 422
- 7
- 18
0
votes
1 answer
Twilio worker client disconnect reason
I'm trying to ensure single worker session/window at a time.
In order to achieve this I have added a parameter closeExistingSessions to the createWorker and it's disconnecting (websocket) the other workerClient as expected.
Just wondering if there…

Jyothi Babu Araja
- 10,076
- 3
- 31
- 38
0
votes
1 answer
How to connect agent to a Twilio outbound call before the customer?
I'm trying to setup a seamless outbound calling experience for a Twilio Flex setup. I have the dialpad outbound as well as a callback feature from previously delivered callback/voicemail request tasks (agent can accept the task and make an outbound…

ege
- 812
- 6
- 16
0
votes
0 answers
How to Complete a task via API in Twilio?
const completeTask = async(taskid) => {
console.log(taskid)
completeTask = twilioWorkspaceClient.tasks(taskid).update({
assignmentStatus: 'completed',
reason: 'completed',
attributes: JSON.stringify({
type: 'other'
})
})
…

Sadam Ashraf
- 17
- 2
0
votes
1 answer
Twilio : Calculating and announcing average wait time
I have a workflow in Twilio which have multiple queues. I need to calculate average wait time for each incoming user based on their position in that specific queue and announce it back to the user.

T-rex
- 3
- 2
0
votes
0 answers
Twilio taskrouter worker heartbeat timed out. closing socket
If the user sets the computer on sleep for long interval then on reconnection it starts giving error
Websocket closed
Websocket has disconnected
Received a message of
type [disconnected] Websocket had an error.
Timeout on…

Ghazanfar Khan
- 3,648
- 8
- 44
- 89
0
votes
1 answer
Twilio's taskrouter.js is throwing a CORS policy error when I call the worker.completeTask or reservation.task.complete()
I am attempting to move the Taskrouter task from "wrapping" to "completed" programmatically when the agent is done with their post-call duties. Other method calls to worker or reservation work, but when trying to call either worker.completeTask or…

tcbeaton
- 85
- 7