Bridge API: Set a cause code on a channel when it is ejected from a bridge.
[asterisk/asterisk.git] / res / res_stasis.c
index 39f6be1..963e70d 100644 (file)
@@ -471,7 +471,7 @@ void stasis_app_bridge_destroy(const char *bridge_id)
                return;
        }
        ao2_unlink(app_bridges, bridge);
-       ast_bridge_destroy(bridge);
+       ast_bridge_destroy(bridge, 0);
 }
 
 int app_send_start_msg(struct app *app, struct ast_channel *chan,