Feature Request: Dynamic WebSocket URI Support for ARI ExternalMedia

Currently, ARI ExternalMedia (transport=websocket) requires external_host to map to a static entry in websocket_client.conf. This forces all WebSocket destinations to be predefined.

In real-world deployments, media routing is dynamic (load balancing, region-based routing, tenant isolation, HA, etc.). We may have 20–30 WebSocket media servers, and creating a static configuration entry for each does not scale and increases operational complexity.

It would be extremely valuable if Asterisk could accept a dynamic WebSocket host/port or full ws:// / wss:// URI directly in the ARI request and build the connection at runtime, without requiring a predefined config entry.

This change would greatly improve scalability and enable modern cloud-native and AI/media-processing use cases using ARI ExternalMedia.

Feature requests need to be submitted through the Github issue tracker.

More specifically, the feature requests repo:

done