ARI error on hangup


#1

Hi,
I am using ARI using python and stasis application. This is the [ARI code](https://github.com/asterisk/ari-examples/blob/master/bridge-dial/example.py) I am using. I am facing an issue when I hang-up.

ERROR:ari.client:Event listener threw exception
Traceback (most recent call last):
  File "/home/zadmin/hr-tovo/ari/ari/client.py", line 100, in __run
    callback(msg_json, *args, **kwargs)
  File "/home/zadmin/hr-tovo/ari/ari/client.py", line 198, in extract_objects
    event_cb(obj, event, *args, **kwargs)
  File "/home/zadmin/hr-tovo/ari/ari/model.py", line 181, in fn_filter
    fn(objects, event, *args, **kwargs)
  File "/home/zadmin/hr-tovo/ari/newStream.py", line 445, in <lambda>
    safe_bridge_destroy(bridge))
  File "/home/zadmin/hr-tovo/ari/newStream.py", line 62, in safe_bridge_destroy
    raise e
HTTPError: 409 Client Error: Conflict for url 

This is the error i get sometimes when I hangup.
Can you help me resolve this?

ASTERISK - 15.5.0 using the official [python library](https://github.com/asterisk/ari-py)