Learn how to interact with an active session via HTTP.
If you start a call session with an HTTP request, as a response you will receive an object with the media_session_access_url property:
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:
Making an HTTP request on this URL will result 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:
After an HTTP request to media_session_access_url is performed, the session will be terminated.