<div dir="ltr">you can find commit that changed behavior using command "git bisect".<div><br></div><div>Sergey</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">чт, 7 мар. 2019 г. в 21:55, <<a href="mailto:krice@tollfreegateway.com">krice@tollfreegateway.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="#0563C1" vlink="#954F72"><div class="m_-6483456776204311802WordSection1"><p class="MsoNormal">If you think you have found a bug its best to open a ticket on Jira. That way all the discussion, problem descriptions, patches and commits are all tracked together and the devs don’t have to search the mailing list to see what is broken or see this, get busy then forget it about it later<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><div><div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"></p></div></div></div></div><div lang="EN-US" link="#0563C1" vlink="#954F72"><div class="m_-6483456776204311802WordSection1"><div><div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b>From:</b> FreeSWITCH-users <<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>> <b>On Behalf Of </b>Grant Bagdasarian<br></p></div></div></div></div><div lang="EN-US" link="#0563C1" vlink="#954F72"><div class="m_-6483456776204311802WordSection1"><div><div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b>Sent:</b> Thursday, March 7, 2019 8:16 AM<br><b>To:</b> FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>><br><b>Subject:</b> Re: [Freeswitch-users] avmd stop not working on 1.8.5<u></u><u></u></p></div></div></div></div><div lang="EN-US" link="#0563C1" vlink="#954F72"><div class="m_-6483456776204311802WordSection1"><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><span lang="NL">Hi all,<u></u><u></u></span></p><p class="MsoNormal"><span lang="NL"><u></u> <u></u></span></p><p class="MsoNormal">Just leaving this out here for anyone encountering the same issue:<u></u><u></u></p><p class="MsoNormal">It seems like the ‘avmd {uuid} stop’ command is just broken in this version.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">We’ve changed our python script to call the avmd_start and avmd_stop applications on the session itself, like so: <u></u><u></u></p><p class="MsoNormal">session.execute("avmd_start")<u></u><u></u></p><p class="MsoNormal">session.execute("avmd_stop")<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">session.execute(“avmd”, “start|stop”) gives a deprecated warning, as documented on the wiki. <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Also, when a beep is detected, do not call session.execute("avmd_stop") as this results in the same behavior as when calling ‘avmd {uuid} stop’. <u></u><u></u></p><p class="MsoNormal">Simply skip the stop command when session.getVariable("avmd_detect") returns True.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Hope this helps.<u></u><u></u></p><p class="MsoNormal"><br>Regards,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Grant<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><div><div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b>From:</b> FreeSWITCH-users <<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>> <b>On Behalf Of </b>Grant Bagdasarian<br><b>Sent:</b> woensdag 6 maart 2019 14:23<br><b>To:</b> <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br><b>Subject:</b> [Freeswitch-users] avmd stop not working on 1.8.5<u></u><u></u></p></div></div><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><span lang="NL">Hello,<u></u><u></u></span></p><p class="MsoNormal"><span lang="NL"><u></u> <u></u></span></p><p class="MsoNormal">The command ‘avmd {uuid} stop’ is currently causing some issues on one of our Freeswitch instances running version 1.8.5 -6-31281a0bf1 (Installed using apt-get).<u></u><u></u></p><p class="MsoNormal">When executing the command in Python or simply through the cli, it just hangs and doesn’t continue processing the rest of the script (in the case of python). <u></u><u></u></p><p class="MsoNormal">After the call is disconnected physically, the ‘show channels’ command still shows the channel. ‘uuid_kill’ ends in ‘no such channel’. <u></u><u></u></p><p class="MsoNormal">Also, no new calls can be originated, until Freeswitch is restarted. <u></u><u></u></p><p class="MsoNormal">I can disconnect from the cli, and reconnect again just fine, so Freeswitch doesn’t actually crash. <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">We have another instance running an older version of Freeswitch 1.6.13 git d422498 (Compiled from source), which doesn’t run into this issue. <u></u><u></u></p><p class="MsoNormal">The python script executed is the same on both instances.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">When we remove the ‘avmd {uuid} stop’ command from the script, the script continues normally and the call is disconnected without issue, and removed from the internal db. <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Any ideas how to debug this properly? I’ve tried gdb, but since Freeswitch doesn’t crash, nothing is generated (unless I used it wrong. I’m not experienced in running gdb).<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">What is the performance impact if we leave out the avmd stop command? Will any resources consumed by the module be cleaned up automatically after the call disconnects?<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Regards,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Grant<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p></div></div>_________________________________________________________________________<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div>