I need to start a bi-directional stream. Can I initiate the bi-directional stream element without including any other elements in my XML instruction?

Yes, you can initiate a bi-directional stream with the keepCallAlive parameter set to true. With this setting, Plivo will initialize the audio stream and refrain from executing subsequent elements in the XML instruction. 

Parameter Datatype Description
keepCallAlive Boolean

Specifies that the stream element should be the only one executed. This applies exclusively to the bi-directional audio stream.

If keepCallAlive is set to true, any elements mentioned after the stream will not be executed. This is relevant only when initiating the stream during a call.

Allowed values: true, false

Default: false

Was this article helpful?
0 out of 0 found this helpful
Didn’t find what you are looking for? Create new ticket