[asterisk-dev] Bridge not in Stasis application

Joshua C. Colp jcolp at sangoma.com
Wed Feb 19 08:15:50 CST 2020


On Wed, Feb 19, 2020 at 10:08 AM Abhay Gupta <abhay at avissol.com> wrote:

> Hi,
>
>
>
> 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 .
>
>
>
> 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 :-
>
>
>
> Step 1:- try to delete an extension
>
>  curl -X DELETE
> http://192.168.1.250:8088/ari/bridges/1014?api_key=asterisk:asterisk
> {"message":"Bridge not in Stasis application"}
>
> Step 2:- try to check the extension
>
> curl -X GET
> http://192.168.1.250:8088/ari/bridges/1014?api_key=asterisk:asterisk
>
> {"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"}
>
> Step 3:- try to add/create an extension
>
> curl -X POST
> http://192.168.1.250:8088/ari/bridges/1014?api_key=asterisk:asterisk
>
> {"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"}
>
> Step 4:- try to delete extension after POST extension
>
>  curl -X DELETE
> http://192.168.1.250:8088/ari/bridges/1014?api_key=asterisk:asterisk
>
> Step 5:- try to check extension after delete extension
>
> curl -X GET
> http://192.168.1.250:8088/ari/bridges/1014?api_key=asterisk:asterisk
> {"message":"Bridge not found"}
>
>
>
> I am not able to find the sequence of events that lead to this issue .
>

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.

-- 
Joshua C. Colp
Asterisk Technical Lead
Sangoma Technologies
Check us out at www.sangoma.com and www.asterisk.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20200219/6277316f/attachment.html>


More information about the asterisk-dev mailing list