1

I am trying to code making a call to phone number from web application using c# without MVC. using the trial url, able to make a call and listening the demo voice . Now i want to go live/ test with my voice like taking in the web application using system/laptop mic/speaker. What to pass in the URL parameter. Iam using the

var call = CallResource.Create(
            record: true,
            to: new Twilio.Types.PhoneNumber("xxx-xxx-xxxx"),
            from: new Twilio.Types.PhoneNumber("xxx-xxx-xxxx"),
            url: new Uri("https://demo.twilio.com/welcome/voice/"));

1 Answer 1

1

Twilio developer evangelist here.

Hi Vimaan, it's great that you've managed to get the quick start working using the demo URL.

If you want to go further with this, then I recommend diving deeper into the documentation to find out more.

I'd first start with this tutorial on how to respond to incoming calls in C#. Once you've got the idea of responding with TwiML to an incoming call, you can then use those URLs in your outbound calls too.

Make sure you read up about TwiML itself, without it you won't get very far with voice calls.

If you want to connect two calls together, so that you can speak to someone else over a Twilio call, check out this tutorial on call forwarding with Twilio.

Finally, if making a call from your laptop is the goal you'll want to read up on Twilio Client JS and there's a quickstart available for that and a full on tutorial for C# ASP.NET MVC too.

Have a look through that documentation and good luck!

Sign up to request clarification or add additional context in comments.

2 Comments

Hi Philnash, I have a similar requirement where I can make a direct call to any phone number and talk (human call not recorded or programmed human to human call) using my existing ASP.NET MVC application. Can you please guide me step by step how I can achieve this with Twilio ? Is this possible ?
Hi @MahmadKhoja, that is absolutely possible. Have you checked out any of the links in the above answer?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.