How to add incoming twilio calls to a queue to be connected to the next available twilio client (browser phone)

All the examples I have found only show how to add callers to a queue which can be retrieved when agent calls in a number ...

I need to know how to add callers to a queue (when they call it rings all available browser phones and if none are available it places them in a queue. Afterwards when one becomes available the browser phone rings and the agent picking up the browser phone is connected to the next person in the queue)
MarkProgrammerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
Can you point to what you have so far? Is this it? https://www.twilio.com/docs/howto/callqueue

I have created only sample apps with twilio myself but getting ready to do some live work.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
MarkProgrammerAuthor Commented:
All I have are bits and pieces in a hundred different places. Teir call queue demo is only useful if an agent was dialing into a number to speak to the queue
0
Ray PaseurCommented:
I think you're going to want a data base table to hold the queue.  You can use a column of type=TIMESTAMP to get the order of the calls.  Obviously the same table can hold other information about the calls, so it will become useful for other things as well as the queue.
0
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
I was thinking the same thing about the database. Then use something like sockets.io et el to auto update each user's browser.  "Taking the call" will update the db then hit Twilio.
0
MarkProgrammerAuthor Commented:
I think I'm just going to have a central PC speak if there are aby queued calls, then in our CRM I will have a button "answer call" which will make an outbound call to the number 1, then in the outbound calls handler I will have it connect the outbound call to the queue if the number being dialed is 1
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.