Hi all,
I'm trying to have an audio stream played back on a channel and to pause/resume it through API commands on event socket.
Below you can find the sequence of commands and outputs:
$
telnet 127.0.0.1 8021
Trying 127.0.0.1...
Connected to
127.0.0.1.
Escape character is '^]'.
Content-Type:
auth/request
auth ClueCon
Content-Type:
command/reply
Reply-Text: +OK accepte
api originate
user/1003 &playback(${sounds_dir}/jazz.wav)
Content-Type: api/response
Content-Length: 41
+OK
8fcdb494-82a4-42c4-b011-ecca1da0ade2
api pause
8fcdb494-82a4-42c4-b011-ecca1da0ade2 on
Content-Type:
api/response
Content-Length: 14
-ERR no reply
The "pause" command is successful (the stream is really paused) but the api response indicates an error.
Same output with the CLI.
Is it correct?
Thank you very much.
Fabio Bigliardi