Giter Club home page Giter Club logo

Comments (5)

davehorton avatar davehorton commented on July 28, 2024

Yes, for loop detection purposes the drachtio server will reject any attempt to send a SIP message for itself.

What are you trying to accomplish that you think requires this?

from drachtio-fsmrf.

TareenAsad avatar TareenAsad commented on July 28, 2024

Hi,
thank you for the response.

all i want to do is to send request to my drachtio server using the request function (like for now i am sending using zoiper) or by creating the srf.createUAC function to connect the call to the dialogflow agent so the request will hit the srf.invite function then it will execute and forward the call to the outbound number... as in the code i have pasted above.

from drachtio-fsmrf.

TareenAsad avatar TareenAsad commented on July 28, 2024

in short, I want to invoke srf.invite function via node.js app or possibly http request ..

kindly guide me to accomplish this.

i look forward for the response.

from drachtio-fsmrf.

davehorton avatar davehorton commented on July 28, 2024

You want to dial out and have the answered party connected to dialogflow it sounds like. You are going about it the wrong way. You should instead do this:

  1. connect to the media server (mrf.connect)
  2. create an endpoint (ms.createEndpoint)
  3. Send an INVITE offering the SDP of the endpoint (srf.createUAC)
  4. Modify the endpoint to stream to the caller once he or she answers (ep.modify)

At that point you can issue whatever commands you want to the endpoint, as far as connecting to dialogflow etc

from drachtio-fsmrf.

TareenAsad avatar TareenAsad commented on July 28, 2024

Thanks @davehorton It works now

from drachtio-fsmrf.

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.