asterisk / node-ari-client

Node.js client for ARI. This library is best effort with limited support.
Other
257 stars 102 forks source link

how to emit and listen new event on channel #113

Open mpbanna opened 6 years ago

mpbanna commented 6 years ago

Hello everyone, This is not a issue, i just want to emit and listen new event(like 'mahipal') on cannel, so please provide me solution.

samuelg commented 5 years ago

I'm not sure what you mean. Events only originate from Asterisk and can be listened to in this library. The library itself cannot emit an event. All interactions from this library to Asterisk are done via method calls that result in a REST API call to Asterisk.