@Arian Azmoudeh
Hello! I'm glad to assist you with your queries.
Firstly, regarding the use of both Italian and English during a call, VAPI does offer multilingual support which can be very useful for voice interactions. However, for transcribing, it's important to set the primary language that the transcriber will expect. If you need to transcribe both Italian and English in the same call, you would typically need to inform the system when the language is switching. This can be done by using language-specific cues or by setting up the system to detect language switches automatically if such a feature is supported. Please check the VAPI documentation or ask support for more info on this to see if there's a way to enable dynamic language switching for transcription during a call.
Secondly, yes, you can make calls directly from a website using VAPI's WebRTC capabilities. This allows you to embed real-time communication features into your web applications without the need for a traditional phone. Here's a basic outline of how you might start with integrating WebRTC for making calls from a website:
1. Set up your VAPI account and obtain the necessary API keys.
2. Include the VAPI WebRTC client library in your web application.
3. Initialize the WebRTC client with your API credentials.
4. Create a user interface for making calls, with buttons to start and end the call.
5. Use the WebRTC client to handle call events and connect the call to the desired number or SIP endpoint.
For sample code and a more detailed guide, you should refer to the VAPI documentation on WebRTC integration or reach out to support for specific code examples and further assistance.
If you need any more help or have additional questions, feel free to ask!