diff --git a/docs/integrations/telephony/asterisk-ari.mdx b/docs/integrations/telephony/asterisk-ari.mdx index 8d9ad61..9fb7a41 100644 --- a/docs/integrations/telephony/asterisk-ari.mdx +++ b/docs/integrations/telephony/asterisk-ari.mdx @@ -73,12 +73,32 @@ Replace `dograh` with the app name you configured in `ari.conf` and in Dograh. Dograh uses Asterisk's external media streaming to send and receive audio over WebSocket. Configure a WebSocket client connection that points to your Dograh instance: -```ini -[dograh] -type = websocket_client -uri = ws://your-dograh-host:port/api/v1/telephony/ws/ari -protocols = media -``` + + + ```ini + [dograh] + type = websocket_client + uri = wss://api.dograh.com/api/v1/telephony/ws/ari + protocols = media + ``` + + + Dograh Cloud requires a secure WebSocket connection (`wss://`). Make sure your Asterisk build includes TLS support for `chan_websocket`. The ARI credentials (**Stasis App Name** and **App Password**) must match what you configure in the Dograh dashboard under Telephony Settings. + + + + ```ini + [dograh] + type = websocket_client + uri = ws://your-dograh-host:port/api/v1/telephony/ws/ari + protocols = media + ``` + + + Self-hosted deployments on an internal network may use an unencrypted WebSocket (`ws://`). If your Dograh instance is exposed over HTTPS, use `wss://` and the corresponding hostname instead. + + + The section name (e.g., `dograh`) is the **WebSocket Client Name** you'll enter in the Dograh telephony configuration. This name tells Asterisk which WebSocket connection to use for external media streaming during calls.