I see this, too. I looked in the source code and it looks like there's no explicit "+OK" anywhere. However, the "-ERR no reply" looks to me like what would happen on a successful call to the pause API. I think you're okay to assume that a "no reply" means your pause on/off worked.<div>
<br></div><div>-MC<br><div><br><div class="gmail_quote">On Thu, Jul 14, 2011 at 6:06 AM, Fabio Bigliardi <span dir="ltr"><<a href="mailto:fabio.bigliardi@gmail.com">fabio.bigliardi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<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><font color="#888888"><br>Fabio Bigliardi</font></font></font></p>
<big><font face="Arial"><small><big>
</big></small></font></big>
<br>_______________________________________________<br>
Join us at ClueCon 2011, Aug 9-11, Chicago<br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div>