Interface SvamlActionConnectStream

All Superinterfaces:
SvamlAction

public interface SvamlActionConnectStream extends SvamlAction
Determines how to route a call to a Stream/websocket server. Available to use in a response to an Incoming Call Event callback.
  • Method Details

    • getDestination

      DestinationWebSocket getDestination()
      Get destination

      Field is required

      Returns:
      destination
    • getStreamingOptions

      ConnectStreamStreamingOptions getStreamingOptions()
      Get streamingOptions
      Returns:
      streamingOptions
    • getMaxDuration

      Integer getMaxDuration()
      The max duration of the call in seconds (max 14400 seconds). If the call is still connected at that time, it will be automatically disconnected.
      Returns:
      maxDuration
    • getCallHeaders

      List<CallHeader> getCallHeaders()
      These custom parameters (headers/messages) are sent to your WebSocket server in the initial message when the ConnectStream is established.
      Returns:
      callHeaders
    • builder

      Getting builder
      Returns:
      New Builder instance