<div dir="ltr">Hello i am using asterisk version 16.3.0 with node ari client library, and i am trying to capture
'BridgeDestroyed' and 'BridgeCreated' event but these two event not
captured.<br clear="all"><div><br></div><div>var bridge1 = ari.Bridge();<br>
bridge1.on('BridgeDestroyed', function (event, bridge) {<br>
console.log('BridgeDestroyed captured:',<a href="http://bridge.id">bridge.id</a>)<br>
});<br>
bridge1.create({<br>
type: 'mixing,dtmf_events'<br>
}, function(err, bridge) {<br>
if(err){<br>
console.log(err)<br>
}else{<br>
setTimeout(function(){<br>
ari.bridges.destroy(<br>
{bridgeId: <a href="http://bridge1.id">bridge1.id</a>},<br>
function (err) {}<br>
);<br>
},5000)<br>
}<br>
})</div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-size:small"><table style="font-family:"Times New Roman";border-left:5px solid rgb(217,112,145);padding:20px 10px;float:left" width="635" cellspacing="0" cellpadding="0" border="0" align="center"><tbody><tr><td><table cellspacing="0" cellpadding="0" border="0" align="center"><tbody><tr><td width="235" align="left"><h2 style="font-size:21px;font-family:Arial;margin:0px;padding-top:10px;color:rgb(217,112,145)">Mahipal Singh Chundawat <br></h2><h3 style="font-size:14px;font-weight:400;font-style:italic;font-family:Arial;margin:0px;color:rgb(48,105,176)">Senior Software Engineer</h3><h3 style="font-size:13px;font-weight:400;font-family:Arial;margin:0px;color:rgb(70,79,84)">+91 9461531605</h3><p style="float:left;padding:5px 20px 10px 10px;margin:3px"><a href="https://facebook.com/SarvOfficial" target="_blank"><img src="https://sarv.com/inc/images/signature-icons/fb.png" style="border:none" width="18" height="18" border="0"></a> <a href="https://twitter.com/SarvOfficial" target="_blank"><img src="https://sarv.com/inc/images/signature-icons/tw.png" style="border:none" width="18" height="18" border="0"></a> <a href="https://www.linkedin.com/company/sarv-webs-pvt-ltd" target="_blank"><img src="https://sarv.com/inc/images/signature-icons/linkedin.png" style="border:none" width="18" height="18" border="0"></a></p></td><td colspan="6" style="border-left:1.8px solid rgb(217,112,145);padding:0px 15px" width="330" align="center"><p style="text-align:left;padding:10px 0px 0px;margin:0px;vertical-align:top"><img src="https://sarv.com/inc/images/signature-icons/logo-new.png"></p><p style="font-size:15px;font-family:Arial;margin:0px;padding:0px;color:rgb(57,62,68);text-align:left"><a style="font-size:13px">Cyber City, Gurgaon Delhi.</a></p><p style="font-size:15px;font-family:Arial;margin:0px;padding:0px;color:rgb(57,62,68);text-align:left"><a style="font-size:13px">Jaipur Rajasthan.</a></p><p style="font-size:15px;font-family:Arial;margin:0px;padding:0px;color:rgb(57,62,68);text-align:left"><a style="font-size:13px"><span style="color:rgb(68,68,68);font-family:arial,sans-serif;font-size:small">Contact:+91-</span><span style="color:rgb(68,68,68);font-family:arial,sans-serif;font-size:small;white-space:nowrap">9111911100</span><br></a></p><p style="font-size:15px;font-family:Arial;margin:0px;padding:1px 0px 10px;color:rgb(57,62,68);text-align:left"><a style="font-size:13px">1800-12345-6001</a></p></td></tr></tbody></table></td></tr></tbody></table></div></div></div></div></div></div></div></div></div></div></div></div></div></div>