Code Monkey home page Code Monkey logo

Comments (3)

davehorton avatar davehorton commented on September 16, 2024

Not sure I follow what you want to do. When you make an outbound call, you are sending an INVITE....the only way to truly redirect a call (if by redirect sending something like a 302 Moved) is when you are receiving an INVITE, not sending it...

You can certainly make an outbound call and, on answer, put the called party on hold and then connect them to another user / endpoint (by sending a second INVITE). Are you talking about something like that?

from drachtio-srf.

falvarezoliva avatar falvarezoliva commented on September 16, 2024

from drachtio-srf.

davehorton avatar davehorton commented on September 16, 2024

I'm still not sure I understand what you want.

From the asterisk documentation "The Asterisk Manager Interface (AMI) allows a client program to connect to an Asterisk instance and issue commands or read events over a TCP/IP stream"

This is exactly how drachtio-srf works: you connect to a drachtio server, receive an incoming call event and decide what to do with it.

Have you looked at any of the examples here? Are any of them close to what you want to do?

Perhaps what you want is to use outbound connections, which lets you receive an inbound call via a web app and then decide which drachtio-srf app should handle it.

I could certainly provide an example if I understood what you wanted to do..

from drachtio-srf.

Related Issues (20)

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.