Remote session management
Learn how to interact with an active session via HTTP.
URL management
If you start a call session with an HTTP request, you receive an object with the media_session_access_url property as a response:
Starting a scenario
This URL can be used for arbitrary tasks such as stopping scenarios or passing additional data to them. This is how you can make an HTTP request with additional data in it:
Managing the request
Making an HTTP request on this URL results in the AppEvents.HttpRequest VoxEngine event being triggered in a scenario, with HTTP request data passed to it.
For example, if you need to write additional data to the log and then stop the session, you can write the following code in your VoxEngine scenario:
Stopping the scenario
After an HTTP request to media_session_access_url is performed, the session is terminated.