BridgeDestroyed event not captured

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

var bridge1 = ari.Bridge();
bridge1.on('BridgeDestroyed', function (event, bridge) {
console.log('BridgeDestroyed captured:',bridge.id)
});
bridge1.create({
type: 'mixing,dtmf_events'
}, function(err, bridge) {
if(err){
console.log(err)
}else{
setTimeout(function(){
ari.bridges.destroy(
{bridgeId: bridge1.id},
function (err) {}
);
},5000)
}
})

--

Mahipal Singh Chundawat 

Senior Software Engineer

+91 9461531605

  

Cyber City, Gurgaon Delhi.

Jaipur Rajasthan.

Contact:+91-9111911100

1800-12345-6001

_______________________________________________
asterisk-app-dev mailing list
asterisk-app-dev@xxxxxxxxxxxxxxxx
http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev

[Index of Archives]     [Asterisk SS7]     [Asterisk Announcements]     [Asterisk Users]     [PJ SIP]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Linux API]

  Powered by Linux