Rate this page:

How to make inbound connection to the session

Learn how to interact with an active session via HTTP.

Managing Url

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:

Starting a scenario

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 request

Managing request

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:

Stopping the scenario

Stopping the scenario

After an HTTP request to media_session_access_url is performed, the session will be terminated.