<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">On Mon, Oct 21, 2013 at 3:55 PM, Joshua Colp <span dir="ltr"><<a href="mailto:jcolp@digium.com" target="_blank">jcolp@digium.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">Daniel Jenkins wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Is this to put a channel on hold/answer etc or to find out what state<br>
the channel is in?<br>
</blockquote>
<br></div>
It's to put a channel on hold, instruct it to indicate ringing, etc.<div class="im HOEnZb"><br>
<br>
-- <br>
Joshua Colp<br>
Digium, Inc. | Senior Software Developer<br>
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA<br>
Check us out at: <a href="http://www.digium.com" target="_blank">www.digium.com</a> & <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a><br>
<br></div><div class="HOEnZb"><div class="h5">
______________________________<u></u>_________________<br>
asterisk-app-dev mailing list<br>
<a href="mailto:asterisk-app-dev@lists.digium.com" target="_blank">asterisk-app-dev@lists.digium.<u></u>com</a><br>
<a href="http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev" target="_blank">http://lists.digium.com/cgi-<u></u>bin/mailman/listinfo/asterisk-<u></u>app-dev</a></div></div></blockquote><div><br></div><div>
<br></div><div>Oh right OK, I would agree with Paul on this one,</div><div><br></div><div>One, the api is being designed partially so that non telephony people can get into this, I didn't know what indicate meant in this context</div>
<div><br></div><div>I would have this as a PUT (you're updating the state of that channel as such) and have /ari/channel/{id}/hold (or whatever the prefix is) etc</div><div><br></div><div>This is very clear, you're updating a channel to be in a hold state/ you're telling the channel to answer etc.</div>
<div><br></div><div>so +1 to Paul</div></div><br></div></div>