Question related to Twilio voice implementation in my application
Our application's technologies are C# web API for backend and AngularJS for frontend.
And also our application is not a MVC it is a web application.
now I wanted to make a call from my application through Twilio as well as received a calls which is comes on my Twilio active number.
How can I configure Twilio Voice calls in our application?
Can you guide me how we want to implement this is in our application in frontend or in backend or in both. And Which library I want to use for this?
Note:: My account is trial / free account.
video link:: https://www.youtube.com/watch?v=U0Q7JIswi7g
I was go through the above video and I successfully implemented the same. Make Calls and Receive calls. But when my call is connect it plays or say the text which we written in code only and call will be disconnected right!
But I want a call to communicate with person through calls.
Answers
-
Hey @sayali, good work completing that tutorial. Now you know how to make a call and respond with TwiML. There is more to TwiML than just
<Say>
and<Play>
. If you want to connect to another phone, then you will want to use the<Dial>
verb. I recommend you read the documentation for `<Dial>` and see how you can apply it in your application instead of<Say>
/<Play>
. There is also a good tutorial on call forwarding that shows you how to take an incoming call and connect it on to another phone.Good luck building your app!
-
When I receive the call then it say the message and then say 'APPLICATION ERROR OCCURED'
I use ngrok for redirect to local
how can I solve above error
-
That means there is likely an error somewhere in your application. Can you share what your application is doing right now and any relevant code?
-
Thank you for your reply @pnash. Can you please tell me can I create a application With the Twilio Voice JavaScript SDK, can I create an app that lets my web browser place outgoing calls to any phone number Twilio can reach, and answer incoming calls to my Twilio phone number...? Can you provide me code for the same..?
-
Hi @sayali, you absolutely can. I recommend you check out the Twilio Voice SDK quickstart. That will get you going with an example application you can study that can make and receive calls.
-
Hi @pnash, thank you for your reference.
-
I integrate Twilio Voice SDK quickstart to my application because my application is non MVC it throw an exception::
Could not load file or assembly 'System.IdentityModel.Tokens.Jwt, Version=5.1.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
How can I solve this..? Can anyone please tell me.?
-
I'm afraid I'm not a C# developer, but that looks to me like a dependency is missing. Do you need to install this package to your project?
-
Thank you for your reference.
Yes, this package is already installed in my project.
-
Hello @pnash My Twilio account is Suspended.
How to reactive my account? plz help.
-
Oh no! @sayali if your account got suspended you should have received an email from the support team asking you some questions about your account. To get your account activated again, you just need to answer those questions as best you can.
Categories
- 83 All Categories
- 19 SIGNAL 2021
- 376 Product Discussions
- 7 Community - Announcements
- 2 Changelog
- 4 Forum UI Updates
- 8 Welcome Guide
- 6 Community - Events
- 2 Twilio Relay Developer Conference 2021 Mega Thread
- 1 External Community Events
- 25 Inspiration
- 17 Community - Other Discussions
- 1 Community- Twilio Startups