[Freeswitch-users] Problem with pause
Fabio Bigliardi
fabio.bigliardi at gmail.com
Thu Jul 14 17:06:14 MSD 2011
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110714/be728685/attachment-0001.html
More information about the FreeSWITCH-users
mailing list