Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make a outbound call with twilio media stream apporach #175

Open
padhur opened this issue Jun 1, 2022 · 2 comments
Open

Make a outbound call with twilio media stream apporach #175

padhur opened this issue Jun 1, 2022 · 2 comments

Comments

@padhur
Copy link

padhur commented Jun 1, 2022

Hi Team,

I took the connect-basic quick start guide and integrated with Dialogflow.
I am able to send sms but when i try to make a outbound call its not working.

Below is the code snippet i am using to make a outbound call

     .create({
        to: number,
        from: called
      })
     .then(call => {
       console.log(call.sid)
       });```

But its not making an outbound call.

With the below twiml param, i can see the call is connecting but i can't hear anything
```client.calls
     .create({
       twiml: '<Response><Connect><Stream url="wss://245a-14-200-112-162.au.ngrok.io/streams"></Stream></Connect></Response>',
        to: number,
        from: called
      })
     .then(call => {
       console.log(call.sid)
       });```
could you please suggest what am doing wrong here?
@elizabethsiegle
Copy link

Wondering about this/making outbound calls!

@bytecod3r
Copy link

Could anyone make this works?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants