<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>28 sep 2012 kl. 13:34 skrev Joshua Colp &lt;<a href="mailto:jcolp@digium.com">jcolp@digium.com</a>&gt;:</div><br class="Apple-interchange-newline"><blockquote type="cite">Olle E. Johansson wrote:<br><blockquote type="cite">27 sep 2012 kl. 19:43 skrev Joshua Colp (JIRA)&lt;<a href="mailto:noreply@issues.asterisk.org">noreply@issues.asterisk.org</a>&gt;:<br><br><blockquote type="cite"> &nbsp;&nbsp;&nbsp;&nbsp;[ <a href="https://issues.asterisk.org/jira/browse/ASTERISK-17367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel">https://issues.asterisk.org/jira/browse/ASTERISK-17367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel</a> ]<br><br>Joshua Colp closed ASTERISK-17367.<br>----------------------------------<br><br> &nbsp;&nbsp;&nbsp;Resolution: Won't Fix<br><br>After reading the existing code, the patch, and the discussions that occurred as a result of this I have determined that changing the behavior is not warranted. Stopping music on hold within streamfile is done as a precaution to ensure it can play the file. It is not designed or expected to restore the state of the world to what it was to this degree. This can be accomplished in the AGI by calling set music before playing the file.<br><br>If there are situations where this is not possible I am completely willing to discuss them and re-evaluate my decision.<br></blockquote><br><br>Josh,<br></blockquote><br>Hola,<br><br><blockquote type="cite">I don't agree - in many other parts of Asterisk - and in the AGI - we turn generators on after we're done with the requested operation. I think that should be the default. If not, you will have to add documentation that clearly CLEARLY states that the AGI streamfile command turns off music on hold and it will stay off.<br></blockquote><br>I've looked over the tree and I just don't see this happening like you say it does. Can you provide some examples? The cases that I see where something like music on hold is stopped and started are situations where it is explicitly expected and defined to do so, for example the Queue application when playing an announcement.<br></blockquote><div style="text-align: left;">Haven't got the source code now, but I do not expect musiconhold to stop until I say so in any channel.</div><div style="text-align: left;"><font color="#333333" face="lucida grande, tahoma, verdana, arial, sans-serif"><span style="font-size: 13px; line-height: 17px;"><br></span></font></div><blockquote type="cite">As for changing the default behavior it's been like this for many, many, many years. Changing something that appears to be so simple but really fundamentally changes the behavior I really am against. I can see people using this behavior without expecting it. Ultimately in my view it would have to be another knob you turn on which effectively does the same as calling set music from the AGI afterwards OR a trunk only change so we don't surprise everyone.<br></blockquote>In the issue I also commented on this, wanting a setting, but changing default behaviour in new releases.</div><div><br></div><div><blockquote type="cite">As for documentation, okay! That's reasonable.<br></blockquote>Go ahead!</div><div><br></div><div>/O<br><blockquote type="cite"><br>Cheers,<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: &nbsp;<a href="http://www.digium.com">www.digium.com</a> &nbsp;&amp; <a href="http://www.asterisk.org">www.asterisk.org</a><br><br>--<br>_____________________________________________________________________<br>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com">http://www.api-digital.com</a> --<br><br>asterisk-dev mailing list<br>To UNSUBSCRIBE or update options visit:<br> &nbsp;<a href="http://lists.digium.com/mailman/listinfo/asterisk-dev">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br></blockquote></div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; font-size: 12px; border-spacing: 0px; "><div>---</div><div>* Olle E Johansson -&nbsp;<a href="mailto:oej@edvina.net">oej@edvina.net</a></div><div>* Cell phone +46 70 593 68 51, Office +46 8 96 40 20, Sweden</div><div><br class="webkit-block-placeholder"></div></span><br class="Apple-interchange-newline">

</div>
<br></body></html>