<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 21, 2013 at 11:53 AM, Paul Belanger <span dir="ltr"><<a href="mailto:paul.belanger@polybeacon.com" target="_blank">paul.belanger@polybeacon.com</a>></span> wrote:<br>
<div><br></div><div style><snip></div><div> </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"><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">
<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"><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 class="im">
<br>
<br>
</div></blockquote><div class="im">
Before we decide to obliterate /indicate, do we foresee a need for other<br>
indications, e.g., /busy, /congestion, etc.? These are more in the<br>
"telephony" concepts subdomain, and are really different ways to destroy a<br>
channel. I'd prefer to not have them at all, honestly - the fact that you<br>
are disposing of a channel is all you should really care about through the<br>
API. Playing a particular tone when that occurs feels more like an optional<br>
detail, and not a true separate operation. But I'd hate to have a<br>
proliferation of similar concepts as separate operations when they make<br>
more sense grouped together.<br>
<br>
</div></blockquote></blockquote>
This was one of the reason I was trying to suggest, if we do expose more / all, I'd have to have /congestion /ring. /noanswer for each one. But if /indicate was alive, it would just be a reason varaible passed.<div class="im">
<br>
<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"><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">
<br></blockquote></blockquote></div></blockquote><div><br></div><div style><snip></div><div> </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 class="im"><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"><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">
</blockquote>
<br>
</blockquote></div>
I've been trying to find a solution to this issue too. I can't really find a best pratice for it either. Unless there is a specific reason NOT to add parameters to a DELETE, I'm fine with passing them.<div class="im">
<br></div></blockquote></div><br>After this discussion, it feels like we have the following path forward for indications (and Josh's code review <a href="https://reviewboard.asterisk.org/r/2916/">https://reviewboard.asterisk.org/r/2916/</a>)</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">* No explicit /indications</div><div class="gmail_extra"> * Add /ringing</div><div class="gmail_extra"> * Add /progress</div><div class="gmail_extra" style>* Add generic, non-technology specific hangup cause reasons to the DELETE /channels/{id} operation.<br>
</div><div class="gmail_extra" style> * Include busy as a reason</div><div class="gmail_extra" style> * Include congestion as a reason</div><div class="gmail_extra" style>* Keep /hold, /answer as they are</div><div class="gmail_extra" style>
<br></div><div class="gmail_extra" style>The only one I'd prefer to debate further is /progress, as it feels like that can be inferred from performing a media operation on an unanswered channel. I'm not sure, however, if there's value in keeping it as an explicit operation. Thoughts?</div>
<div class="gmail_extra" style><br></div><div class="gmail_extra" style>Matt</div><div class="gmail_extra" style><br></div><div class="gmail_extra" style>-- <br></div><div class="gmail_extra"><div dir="ltr"><div>Matthew Jordan<br>
</div><div>Digium, Inc. | Engineering Manager</div><div>445 Jan Davis Drive NW - Huntsville, AL 35806 - USA</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>