<div dir="ltr"><div dir="ltr">On Wed, Feb 19, 2020 at 10:08 AM Abhay Gupta <<a href="mailto:abhay@avissol.com">abhay@avissol.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-IN"><div class="gmail-m_6402074346319089178WordSection1"><p class="MsoNormal">Hi,</p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">We are getting a problem where bridge get shows the bridge but on delete gives the message “Bridge not in Stasis application” and we cannot add any channels to the bridge .</p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">But when we issue the POST command again to create the bridge then it is successfully created  & we are able to successfully delete it . The logs are shown here :-</p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><span style="color:red">Step 1:- try to delete an extension</span> <br><br> curl -X DELETE <a href="http://192.168.1.250:8088/ari/bridges/1014?api_key=asterisk:asterisk" target="_blank">http://192.168.1.250:8088/ari/bridges/1014?api_key=asterisk:asterisk</a><br>{"message":"Bridge not in Stasis application"}<br><br><span style="color:red">Step 2:- try to check the extension </span><br><br>curl -X GET <a href="http://192.168.1.250:8088/ari/bridges/1014?api_key=asterisk:asterisk" target="_blank">http://192.168.1.250:8088/ari/bridges/1014?api_key=asterisk:asterisk</a><br>{"id":"1014","technology":"simple_bridge","bridge_type":"mixing","bridge_class":"stasis","creator":"Stasis","name":"","channels":[],"creationtime":"2020-02-18T09:30:59.528+0530","video_mode":"talker"}<br><br><span style="color:red">Step 3:- try to add/create an extension <br></span><br>curl -X POST <a href="http://192.168.1.250:8088/ari/bridges/1014?api_key=asterisk:asterisk" target="_blank">http://192.168.1.250:8088/ari/bridges/1014?api_key=asterisk:asterisk</a><br>{"id":"1014","technology":"simple_bridge","bridge_type":"mixing","bridge_class":"stasis","creator":"Stasis","name":"","channels":[],"creationtime":"2020-02-19T17:37:14.624+0530","video_mode":"talker"}<br><br><span style="color:red">Step 4:- try to delete extension after POST extension </span><br><br> curl -X DELETE <a href="http://192.168.1.250:8088/ari/bridges/1014?api_key=asterisk:asterisk" target="_blank">http://192.168.1.250:8088/ari/bridges/1014?api_key=asterisk:asterisk</a><br><br><span style="color:red">Step 5:- try to check extension after delete extension </span><br><br>curl -X GET <a href="http://192.168.1.250:8088/ari/bridges/1014?api_key=asterisk:asterisk" target="_blank">http://192.168.1.250:8088/ari/bridges/1014?api_key=asterisk:asterisk</a><br>{"message":"Bridge not found"}</p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I am not able to find the sequence of events that lead to this issue .</p></div></div></blockquote><div><br></div><div>You'd need to examine the Asterisk log with debug on to see the specific execution flow and when things are occurring and why. That would narrow down the scenario and what is going on. </div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-family:tahoma,sans-serif"><font color="#073763">Joshua C. Colp</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Asterisk Technical Lead</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Sangoma Technologies</font></div><div style="font-family:tahoma,sans-serif"><font 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></font><br></div></div></div></div></div></div></div></div></div></div></div>