<div dir="ltr"><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Oct 21, 2013 at 4:47 PM, Matthew Jordan <span dir="ltr"><<a href="mailto:mjordan@digium.com" target="_blank">mjordan@digium.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><div><div class="h5">
<div class="gmail_quote">On Mon, Oct 21, 2013 at 10:05 AM, Daniel Jenkins <span dir="ltr"><<a href="mailto:dan.jenkins88@gmail.com" target="_blank">dan.jenkins88@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">
<div><div>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:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div>Daniel Jenkins wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style: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><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><div>
______________________________<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></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>
</blockquote></div><div class="gmail_extra"><br></div></div></div>Before we decide to obliterate /indicate, do we foresee a need for other indications, e.g., /busy, /congestion, etc.? These are more in the "telephony" concepts subdomain, and are really different ways to destroy a channel. I'd prefer to not have them at all, honestly - the fact that you are disposing of a channel is all you should really care about through the API. Playing a particular tone when that occurs feels more like an optional detail, and not a true separate operation. But I'd hate to have a proliferation of similar concepts as separate operations when they make more sense grouped together.</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">Follow up: how ugly is it to have a parameter passed to DELETE?<br clear="all"></div></div></blockquote><div><br></div><div>Not ugly at all!</div><div><br></div>
<div>Especially when the BODY issue gets worked on, you'd have a JSON object with the extra params</div><div><br></div><div>This is definitely how I'd deal with the many iterations of how you could hangup</div><div>
<br></div><div>+1 </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra">
<div><br></div>-- <br><div dir="ltr"><div>Matthew Jordan<br></div><div>Digium, Inc. | Engineering Manager</div><div class="im">
<div>445 Jan Davis Drive NW - Huntsville, AL 35806 - USA</div></div><div>Check us out at: <a href="http://digium.com" target="_blank">http://digium.com</a> & <a href="http://asterisk.org" target="_blank">http://asterisk.org</a></div>

</div>
</div></div>
<br>_______________________________________________<br>
asterisk-app-dev mailing list<br>
<a href="mailto:asterisk-app-dev@lists.digium.com">asterisk-app-dev@lists.digium.com</a><br>
<a href="http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev" target="_blank">http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev</a><br>
<br></blockquote></div><br></div></div>