|channelId||(optional) A unique ID to assign to the channel. One will be generated by Asterisk if not supplied.|
|app||(required) The Stasis application.|
|variables||(optional) A JSON object containing any variables you wish added to the channel.|
|external_host||(required) The media destination as |
Be aware though that DNS queries must be done synchronously so the response to the post request may be delayed.
(optional) The media encapsulation desired.
(optional) The network transport desired.
(optional) The connection type (client/server) desired.
(required) The format/codec you wish the media to be encoded in.
|direction||(optional) The media direction (in/out/both) desired.|
With the first release of this capability, only
In this mode, media can flow in both direction on the External Media channel.
All parameters except
variables can be supplied as part of the POST's query string. Because it's a JSON object,
variables MUST be supplied on the request body. This is similar to other channel creation calls.