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