<div dir="ltr">It appears that nearly six years ago the API &#39;break&#39; was simply changed to &#39;uuid_break&#39; in this commit:<div><a href="https://freeswitch.org/stash/projects/FS/repos/freeswitch/commits/63120a7452ad16fe62dd2b5d22135eb6222e6611">https://freeswitch.org/stash/projects/FS/repos/freeswitch/commits/63120a7452ad16fe62dd2b5d22135eb6222e6611</a><br></div><div><br></div><div>From what I see in the code, both &#39;break&#39; and &#39;uuid_break&#39; call &#39;break_function&#39; in mod_commands.c, so &#39;break&#39; is really just an alias for &#39;uuid_break&#39;:</div><div><br></div><div><div><font face="monospace, monospace">SWITCH_ADD_API(commands_api_interface, &quot;break&quot;, &quot;uuid_break&quot;, break_function, BREAK_SYNTAX);</font></div><div><font face="monospace, monospace">SWITCH_ADD_API(commands_api_interface, &quot;uuid_break&quot;, &quot;Break out of media sent to channel&quot;, break_function, BREAK_SYNTAX);</font></div><div><br></div></div><div>For the sake of consistency you might want to consider changing your &#39;bgapi break &lt;uuid&gt;&#39; calls to &#39;bgapi uuid_break &lt;uuid&gt;&#39;. There is a whole family of uuid_* APIs and &#39;uuid_break&#39; fits in nicely among them. You may find the word &#39;break&#39; all over source code, but if you see &#39;uuid_break&#39; then you know exactly what that means.<br></div><div><br></div><div>-MSC</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Mar 12, 2016 at 1:24 AM, Marek Slivanský - Livispace s.r.o. <span dir="ltr">&lt;<a href="mailto:marek@telfa.cz" target="_blank">marek@telfa.cz</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="CS" link="#0563C1" vlink="#954F72"><div><p class="MsoNormal">Hi there,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">sorry if <span lang="EN-US">I’m not choosing the right way for asking for something, please point me out, this is my first time using the mailing list.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">I have a question regarding API command “break” has changed to “uuid_break”. I really tried to but I’ve not found any information about that.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">We are using ”bgapi break &lt;uuid&gt;” to stop playing some sound to a call (leg), e.g. moh, and to continue with next dialplan item. We are using v1.2.stable. Probably since last upgrade to the latest commit in this branch (prior we were using some 09/2012 commit), sometimes (rarely) the command “bgapi break &lt;uuid&gt;” gets ignored by FreeSwitch and sound remains playing forever (</span>local_stream://moh).<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><span lang="EN-US">Could anyone please shed some light on this change (and perhaps add some info why break has been deprecated and consequences of continuing to use it, into wiki)?<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">Thanks in advance for any answer,<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></span></p><span class="HOEnZb"><font color="#888888"><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">Marek<u></u><u></u></span></p></font></span></div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><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" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>