Twilio stream
You can direct a Twilio audio stream to Heidi by configuring a <Stream> element.
To configure a new stream in Twilio, you will need to:
- Authenticate using the steps described on the Authentication page
- Create a new Heidi session, as explained on the Create a new session page
Then you can configure a new stream in Twilio with the following parameters:
<Stream url="wss://<base_url>/twilio-stream">
<Parameter name="session_id" value="your-session-id" />
<Parameter name="token" value="your-jwt-token" />
</Stream>The base_url is the base Heidi API base url, as described on the Authentication and Going Live pages.