The Speak command converts the given text to speech and plays it
to the caller, callee or all. You can see how to use this command in
a HTTP request and what HTTP response you will get from the phone system (Figure 1).
Figure 1 - Speak Application/XML example
string value, Speak
Specifies the type of the HTTP API command.
string value, e.g. H2Wwb
The call ID of the call you want to run the Speak method on.
Step 1: Make a call between two extensions. Use ListActiveCalls command to find the call ID of the call you want the Speak command to run on. You can find the CallId in the response, between one of the <CallId></CallId> nodes.
Step 2: Initiate a Speak command using a HTTP request as seen in the picture above. Paste the call ID you found in Step 1 in the CallId parameter of the request.
The project was established
with the European Union
subsidized by the European
Regional Development Fund