asterisk / node-ari-client

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

Listen to multiple instanses #82

Closed etdte closed 7 years ago

etdte commented 7 years ago

Hi. In my small project become necessary listen multiple ARI instances same time, and interact with it. And now, i really don't have any idea how to realize this feature. Can you get me something like advice, or something like that? I don`t asking for working code, just for advice.

Thanks.

samuelg commented 7 years ago

We support multiple Stasis apps per client using client.start(['app1', 'app2']) but connecting to multiple instances of Asterisk using a single client is not supported. You would have to keep track of multiple clients in order to do this.