<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style></head><body lang=EN-IN link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal>I agree it is signalling a thread and so it is async . But the other lines never appear and so bridge is never destroyed fully and if we issue the delete command again it gives “Bridge not in Stasis application” . I have logs for more then an hour after the issue and BridgeDestroy event was not there .<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>We are not dependent on it being synchronous , but were trying to debug the issue of “Bridge not in Stasis application”<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Regards,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Abhay Gupta<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><div style='mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='border:none;padding:0cm'><b>From: </b><a href="mailto:jcolp@sangoma.com">Joshua C. Colp</a><br><b>Sent: </b>20 February 2020 18:16<br><b>To: </b><a href="mailto:asterisk-dev@lists.digium.com">Asterisk Developers Mailing List</a><br><b>Subject: </b>Re: [asterisk-dev] Bridge not in Stasis application</p></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>On Thu, Feb 20, 2020 at 8:41 AM Abhay Gupta <<a href="mailto:abhay@avissol.com">abhay@avissol.com</a>> wrote:</p></div><div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt'><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:4.8pt'>Hi</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:4.8pt'> </p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:4.8pt'>In case of issue manager event of BridgeDestroy does not come and as seen it never enters the destroy_bridge() function .</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:4.8pt'> </p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:4.8pt'>[Feb 20 15:33:07] DEBUG[25464] http.c: HTTP Request URI is /ari/bridges/1029<br>[Feb 20 15:33:07] DEBUG[25464] http.c: match request [ari/bridges/1029] with handler [httpstatus] len 10<br>[Feb 20 15:33:07] DEBUG[25464] http.c: match request [ari/bridges/1029] with handler [phoneprov] len 9<br>[Feb 20 15:33:07] DEBUG[25464] http.c: match request [ari/bridges/1029] with handler [static] len 6<br>[Feb 20 15:33:07] DEBUG[25464] http.c: match request [ari/bridges/1029] with handler [ari] len 3<br>[Feb 20 15:33:07] DEBUG[25464] http.c: Match made with [ari]<br>[Feb 20 15:33:07] DEBUG[25464] res_ari.c: Finding handler for bridges/1029<br>[Feb 20 15:33:07] DEBUG[25464] res_ari.c: Finding handler for bridges<br>[Feb 20 15:33:07] DEBUG[25464] res_ari.c: Checking ari applications: Didn't match bridges<br>[Feb 20 15:33:07] DEBUG[25464] res_ari.c: Checking ari deviceStates: Didn't match bridges<br>[Feb 20 15:33:07] DEBUG[25464] res_ari.c: Checking ari asterisk: Didn't match bridges<br>[Feb 20 15:33:07] DEBUG[25464] res_ari.c: Checking ari recordings: Didn't match bridges<br>[Feb 20 15:33:07] DEBUG[25464] res_ari.c: Checking ari sounds: Didn't match bridges<br>[Feb 20 15:33:07] DEBUG[25464] res_ari.c: Checking ari endpoints: Didn't match bridges<br>[Feb 20 15:33:07] DEBUG[25464] res_ari.c: Checking ari events: Didn't match bridges<br>[Feb 20 15:33:07] DEBUG[25464] res_ari.c: Checking ari playbacks: Didn't match bridges<br>[Feb 20 15:33:07] DEBUG[25464] res_ari.c: Checking ari bridges: Explicit match with bridges<br>[Feb 20 15:33:07] DEBUG[25464] res_ari.c: Finding handler for 1029<br>[Feb 20 15:33:07] DEBUG[25464] res_ari.c: Checking bridges bridgeId: Matched wildcard.<br>[Feb 20 15:33:07] DEBUG[25464] res_ari.c: No explicit handler found for 1029. Using wildcard bridgeId.<br>[Feb 20 15:33:07] DEBUG[25464] bridge.c: Bridge 1029: telling all channels to leave the party<br>[Feb 20 15:33:07] DEBUG[25464] bridge.c: Bridge 1029: dissolving bridge with cause 16(Normal Clearing)<br>[Feb 20 15:33:07] DEBUG[25464] bridge.c: Bridge 1029: queueing action type:13 sub:1001</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:4.8pt'> </p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:4.8pt'>In case where it is successfully deleted </p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:4.8pt'> </p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:4.8pt'>[Feb 20 15:34:30] DEBUG[29018] bridge.c: Bridge 1013: telling all channels to leave the party</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:4.8pt'>[Feb 20 15:34:30] DEBUG[29018] bridge.c: Bridge 1013: dissolving bridge with cause 16(Normal Clearing)</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:4.8pt'>[Feb 20 15:34:30] DEBUG[29018] bridge.c: Bridge 1013: queueing action type:13 sub:1001</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:4.8pt'>[Feb 20 15:34:30] DEBUG[4070][C-000019bf] bridge.c: Bridge 1013: actually destroying stasis bridge, nobody wants it anymore</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:4.8pt'>[Feb 20 15:34:30] DEBUG[29018] http.c: HTTP keeping session open. status_code:204</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:4.8pt'>[Feb 20 15:34:30] DEBUG[4070][C-000019bf] bridge.c: Bridge 1013: calling stasis bridge destructor</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:4.8pt'>[Feb 20 15:34:30] DEBUG[4070][C-000019bf] bridge.c: Bridge 1013: calling simple_bridge technology stop</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:4.8pt'>[Feb 20 15:34:30] DEBUG[4070][C-000019bf] bridge.c: Bridge 1013: calling simple_bridge technology destructor</p></div></div></blockquote><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Destruction is an asynchronous operation. Are you depending on it being synchronous, and it actually does complete but just after a period of time?</p></div></div><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal>-- </p><div><div><div><div><div><div><div><div><div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif;color:#073763'>Joshua C. Colp</span><span style='font-family:"Tahoma",sans-serif'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif;color:#073763'>Asterisk Technical Lead</span><span style='font-family:"Tahoma",sans-serif'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif;color:#073763'>Sangoma Technologies</span><span style='font-family:"Tahoma",sans-serif'><o:p></o:p></span></p></div></div></div></div></div></div></div></div></div></div></div><p class=MsoNormal><span style='font-family:"Tahoma",sans-serif;color:#073763'>Check us out at <a href="http://www.sangoma.com" target="_blank">www.sangoma.com</a> and <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a></span><span style='font-family:"Tahoma",sans-serif'><o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>