Giter VIP home page Giter VIP logo

Comments (4)

bld010 avatar bld010 commented on June 30, 2024

This is outside the scope of basic functionality we want to include in the Quickstarts.

If you want to implement something like this, you have a few options.

Let's say you want to have a caller enter a queue if the Browser Device is busy:
Set up a new endpoint in app.py that is called something like '/no-answer. In that endpoint, you can use the <Record>, <Play> or <Enqueue> TwiML verbs.

Within your /voice endpoint in app.py, use the action attribute on your dial: dial = Dial(action="/no-answer")

The action attribute will fire a POST request to the specified URL when the call ends (or in this case, the browser client is busy).

If the Device is offline, you can also provide a fallback URL in your TwiML App. You can point that to another endpoint you create within this or another app or a Twilio Function or a TwiML bin. That's where you can play a message or prompt a caller to record a message.

from voice-javascript-sdk-quickstart-python.

9mido avatar 9mido commented on June 30, 2024

Your team should make a set of non-quickstart github libraries in each of the programming languages to make something like what I am trying to express in these issues - one place to make and receive calls through the browser and have the other functionalities that a typical business phone system would have.

Does Twilio Flex seem to do most of what I am trying to express in these issues? Am I better off with that even though I am a 1 person business but in the future will likely expand? I imagine Flex would be more expensive than doing it through code. What about TaskRouter?

When I have time I will try to implement these things you are saying. I will let you know then if I need more assistance.

from voice-javascript-sdk-quickstart-python.

bld010 avatar bld010 commented on June 30, 2024

I'd love to chat with you about what functionalities you'd think would be highest value for customers to see in quickstarts/tutorials. Can you email me at the Twilio address in my profile?

Also, I'm the Developer Educator focused on Voice, so Flex is a bit out of my realm of expertise. I'd suggest reaching out to Twilio Support (there is a link on the top right called 'Talk to Support'). They may have a better idea of what would be best for your business needs.

from voice-javascript-sdk-quickstart-python.

9mido avatar 9mido commented on June 30, 2024

Basically it is an all in 1 browser page to handle all your business call needs. I have seen something like this before at a previous company I worked for. Each username had something similar to this github project except it had more features. Basically replace an old fashioned physical business phone device where all business call needs would be done all from one page - put any type of call on hold, park the call, transfer the call to someone else, conferences (with or without entrance pins/passwords), etc. Somehow we gave customers 1 department phone number to call incoming and anyone who was logged in could take the call from that 1 department phone number.

from voice-javascript-sdk-quickstart-python.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.